processing / processing-android

Processing mode and core library to create Android apps with Processing
http://android.processing.org
781 stars 293 forks source link

Exception locking surface #728

Open MeetDev2602 opened 1 year ago

MeetDev2602 commented 1 year ago

first of all when I go to set the wallpaper so it show first android preview screen than if I click to home screen button then it took to me home screen but when I go to resume to app so it throws exception

class ProcessingLiveWallpaper : PWallpaper() {
    override fun onCreate() {
        super.onCreate()
    }

    override fun createSketch(): PApplet {
        return  AllAnimationLiveWallpaper(applicationContext)
    }
}
val liveIntent = Intent(WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER)
 liveIntent.putExtra(
                WallpaperManager.EXTRA_LIVE_WALLPAPER_COMPONENT,
                ComponentName(this@MainActivity, ProcessingLiveWallpaper::class.java)
            )
resultLauncher.launch(liveIntent)

image

rohanmalik0 commented 1 year ago

i can work on this issue please assign this task to me

ranaaditya commented 1 year ago

i can work on this issue please assign this task to me

Hi @rohanmalik0 , sure you can work on this but first can you please check if this issue is specific to author or it is something really breaking ?

Note: this issue needs conformation, so please check if this issue persists in your system as well or not.

Thanks, Aditya