Francesco
Francesco

Reputation: 85

How can i start android.wallpaper.livepicker system process on button press?

A very simple question that is actually stated in the title. Let's say i got this:

button button_one = (Button) findViewById(R.id.button1);
    button_one.setOnClickListener(new View.OnClickListener(){
        @Override
        public void onClick(View v) {
          **Wanna open android.wallpaper.livepicker system process here**

Thanks in advance :)

Upvotes: 0

Views: 1527

Answers (1)

Hardik4560
Hardik4560

Reputation: 3220

button button_one = (Button) findViewById(R.id.button1);
button_one.setOnClickListener(new View.OnClickListener(){
    @Override
    public void onClick(View v) {
      Intent i = new Intent(WallpaperManager.ACTION_LIVE_WALLPAPER_CHOOSER);
startActivity(i);

Try it..

Upvotes: 1

Related Questions