Android Question Live wallpaper

jkhazraji

Active Member
Licensed User
Longtime User
Concerning this valuable tutorial: Android Live Wallpaper tutorial, how to 'start' the service WallpaperService to change or set the wall paper. I was not able to run the example althoguh I placed livewallpaper.jar and livewallpaper.xml in internal library folder and added the snippets required in manifest editor, also made the wallpaper.xml read-only! I can only see this code in Button1_Click:
B4X:
    Dim in As Intent
    in.Initialize("android.intent.action.SET_WALLPAPER", "")
    StartActivity(in)
What makes the app see the service and launch it ?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

jkhazraji

Active Member
Licensed User
Longtime User
I am now starting to comprehend that as the service is run, we should press the screen for some time (in a physical device), in this way the wallpaper invoked by the service should be within the options, or am I wrong?
 
Upvote 0
Top