• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Thumbnails Problems

Cpouwels

Lurker
Hi,

I have an problem using the MediaStore.Images.Media.insertImage Method
I want to create my own camera/ image viewer app. I can open pictures created with the normal camera app. but when i try to use my own pictures i doens't ind any pictures same goes for the standard image viewer it also doesn't find any pictures. i found out that i didn't got any thumbnails.

I tries to use the MediaStore.Images.Media.insertImage method. It does give me the thumbnails i need but also an extra photo and when i set the title and discription it doesnt use them.

here is my code i use to save the Image.

Bitmap photo = BitmapFactory.decodeByteArray(data, 0, data.length);
String url = MediaStore.Images.Media.insertImage(cr,
photo
, "Title" + random.nextDouble(), "Discription");

thanks for any help

gr Cpouwels
 
Back
Top Bottom