Back to project page paperbandit.
The source code is released under:
MIT License
If you think the Android project paperbandit listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package za.co.appceptional.android.paperbandit; /*from w ww .j a v a 2 s. c om*/ import android.content.Intent; import android.os.Bundle; import android.app.Activity; import android.app.WallpaperManager; public class OpenActivity extends Activity { private int REQUEST_CODE = 1; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); Intent intent = new Intent (); intent.setAction(WallpaperManager.ACTION_LIVE_WALLPAPER_CHOOSER); startActivityForResult(intent, REQUEST_CODE); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { super.onActivityResult(requestCode, resultCode, intent); if (requestCode == REQUEST_CODE) finish(); } }