Android Question Livewallpaper and android version 34

Stephane T

New Member
Since upgrading to version 34 of Android, I've been unable to run my applications with LiveWallPaper. They wouldn't work, and now it won't even install them, reporting “a problem in the application”. I did update the Library (from 2023). No luck. Does anyone have a solution?
 

Stephane T

New Member
It still doesn't work. I tried your example. It compiles and installs on the phone this time, but the program doesn't work and gives the error: “B4A Example crashes systematically.”
 
Upvote 0

Stephane T

New Member
It still doesn't work. I tried your example. It compiles and installs on the phone this time, but the program doesn't work and gives the error: “B4A Example crashes systematically.”
erreur :


java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[])' on a null object reference

at anywheresoftware.b4a.objects.WallpaperInternalService$LWManager.raiseEvent(WallpaperInternalService.java:99)

at anywheresoftware.b4a.objects.WallpaperInternalService$B4AEngine.onSurfaceChanged(WallpaperInternalService.java:292)

at android.service.wallpaper.WallpaperService$Engine.updateSurface(WallpaperService.java:1747)

at android.service.wallpaper.WallpaperService$Engine.attach(WallpaperService.java:1932)

at android.service.wallpaper.WallpaperService$IWallpaperEngineWrapper.doAttachEngine(WallpaperService.java:3127)

at android.service.wallpaper.WallpaperService$IWallpaperEngineWrapper.executeMessage(WallpaperService.java:3174)

at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:44)

at android.os.Handler.dispatchMessage(Handler.java:106)

at android.os.Looper.loopOnce(Looper.java:230)

at android.os.Looper.loop(Looper.java:319)

at android.app.ActivityThread.main(ActivityThread.java:8918)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
 
Upvote 0

Stephane T

New Member
Solved. The program fetched the libraries, not from the link indicated but from a virtual disk created by windows, where the libraries were not up to date.
 
Upvote 0
Top