How to Get Home screen image name?


#1

i know how to set an image to homescreen as a wallpaper.
now i want set homescreen’s wallpaper to my canvas as a background image.
any help thanks.


#2

you could write your own extension and create a method yourself using the WallpaperManager

more information about how to create an extension see the App Inventor Extensions document
however that will be more advanced and will require some Java skills…

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#3

thanks for answer.i will try to make my own extensions then.


#4

@edd I just added a WallpaperManager to AppyBuilder. It can be included in next release.
What other features community-members want for this?
We can check into it too


#5

For next release, added ability to Clear / Reset Home-wallpaper or set Wallpaper directly from Internet:
image


#6

nice job. i hope you will add getwallpaper path method too.


#7

@edd what is getwallpaperpath? Please explain


#8

well users have wallpaper on their home screen right?
i want to get that image and set to my canvas.see?


#9

i used wallpaper component getwallpaper method is not working when screen initialize.
i must click a button first then it gets wallpaper .
can you fix it thanks


#10

What do you mean by click a button?


#11

i am trying when screen initialize getwallpaper then set screen background image with it.
so its not working.
but if i drop a button
and click button for getwallpaper and set screen back groundimage then its ok.
i hope you get it.


#12

@edd tried it in screen initialize and confirmed your report. We’ll take care of it.