wallpaper app using 1080p images in android
this is my bitmap images load code case R.id.set: InputStream y =
getResources().openRawResource(toPhone); Bitmap b =
BitmapFactory.decodeStream(y); try { //wpm.setBitmap(t);
getApplicationContext().setWallpaper(b); Toast.makeText(this, "Wallpaper
Set!", Toast.LENGTH_SHORT) .show();enter code here } catch (IOException e)
{ e.printStackTrace(); }
No comments:
Post a Comment