Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should I do to call Native Wallpaper picker to set Wallpaper for my layout in android?

That is my question. For them who dont know what i am asking, I want to make this menu to appear in my app http://db.tt/GQX9GBYF . The thing is that I Dont have any idea how to do it. I think that I have to create an intent, from it obtain image path and then, set it as background. But i dont know the exact way to do it...

Please, anyone could post me an example, please???? ;)

I have to say that I managed to do it by launching native gallery app, but I want to set live wallpapers too

like image 923
BamsBamx Avatar asked May 27 '12 11:05

BamsBamx


People also ask

How do I fix wallpaper picker on Android?

The first thing to try is to reboot into normal mode, and see if the problem persists--sometimes the simple act of rebooting the phone will clear out the problem that the other app was causing. But if the problem persists, then you should start uninstalling apps one by one until the problem goes away.

What is Android wallpaper picker?

Use backgrounds from Android 7 Nougat Google Wallpaper Picker lets you choose from hundreds of wallpapers that download automatically once you select them. This means the app itself doesn't include the wallpapers, but requests them when you want to use one.

How do I make my device support live wallpaper?

For Samsung phone owners, creating a live wallpaper from a video is easy. Press and hold on your phone's home screen, and you'll see the option for "Wallpapers" show up in the lower left corner. Select "Wallpapers" and the "Gallery." Choose the video you want to use as your live wallpaper and tap on "Done."


1 Answers

You Intent.ACTION_SET_WALLPAPER for starting ContaxtMenu for Selecting Wallpaper as:

Intent intent = new Intent(Intent.ACTION_SET_WALLPAPER);
startActivity(Intent.createChooser(intent, "Select Wallpaper"));
like image 108
ρяσѕρєя K Avatar answered Oct 02 '22 10:10

ρяσѕρєя K