How to display previews in wallpaperservice with Android Camera2 API?
Tell me how to display a new camera 2 api in wallpaperservice
You need to make transparent live wallpapers. For & lt; 6, I did everything on the previous version of the API, and in 6, its support was removed.
In the example, Google displays everything in a textureview in a fragment, but as I understand it, I need a surfaceview and I just can't figure it out. Thanks in advance.
https://github.com/googlesamples/android-Camera2BasicAndroid Eli O'Neal, Jan 30, 2020
To place the code, please use CodePen or similar tool. Thanks you!