Monday, December 6, 2010

Inserting an image in to Gallery

Bitmap bmpImg = BitmapFactory.decodeFile("/sdcard/hi.png");
MediaStore.Images.Media.insertImage(getContentResolver(), bmpImg, null, null);

No comments:

Post a Comment