java - Set Wallpaper by system wallpaper manager -


i have wallpaper app.
wallpapers set using wallpapermanager.setbitmap().

how query system default wallpaper chooser, , set choosen wallpaper?

<uses-permission android:name="android.permission.set_wallpaper"> 

add permission

and

wallpapermanager mywallpapermanager = wallpapermanager.getinstance(getapplicationcontext()); try {     mywallpapermanager.setresource(r.drawable.five); } catch (ioexception e) {     e.printstacktrace(); } 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -