LiveWallpaper Library

B_FISH

Member
Licensed User
Longtime User
Hey everyone,

Releasing a new library that took me about approx. 1 hour to make.
With this library you are able to create/specify your own (live) wallpaper from your app.
So you can:

- remove the current wallpaper
- get information about the current wallpaper
- get the desired height and width.
- Setting the x- and y offset.
- specify a new wallpaper from a bitmap or a stream
- and a little bit more functions.

and so you can create your own dynamical wallpaper.



Cheers,

XverhelstX

REAL newb question..... Many of these posts announce the "new" library but there is NO download link showing.

What am I missing???
 

designer2k2

Member
Licensed User
Longtime User
Hello,
something is broken since the last B4A Update with the LiveWallpaper lib:

Java:
*** Service (wallpaperservice) Create ***
wallpaperservice_service_create (java line: 358)
java.lang.NoSuchFieldError: No field isService of type Z in class Lanywheresoftware/b4a/BA$SharedProcessBA; or its superclasses (declaration of 'anywheresoftware.b4a.BA$SharedProcessBA' appears in ***
    at anywheresoftware.b4a.objects.WallpaperInternalService$LWManager.Initialize(WallpaperInternalService.java:74)
    at ***.wallpaperservice._service_create(wallpaperservice.java:358)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
    at ***.wallpaperservice.onCreate(wallpaperservice.java:56)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4150)
    at android.app.ActivityThread.access$2400(ActivityThread.java:273)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2055)
    at android.os.Handler.dispatchMessage(Handler.java:112)
    at android.os.Looper.loop(Looper.java:216)
    at android.app.ActivityThread.main(ActivityThread.java:7625)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

a similar error message was shown here, indicating that the library needs to be updated: https://www.b4x.com/android/forum/threads/crash-of-abto-voip-sip-library-on-b4a-12-20.145974/
 

DonManfred

Expert
Licensed User
Longtime User
Top