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

android, android-intent, picker, wallpaper

Solution

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"));

Problem

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

Original source