How to display previews in wallpaperservice with Android Camera2 API?

  • 0
    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-Camera2Basic
    Android Eli O'Neal, Jan 30, 2020

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!