1. HUGE Androidforums.com UPDATE! Learn what's new (and download the new app!)
    Dismiss Notice

Thumbnails Problems

Last Updated:

  1. Cpouwels

    Cpouwels New Member This Topic's Starter

    Apr 15, 2009
    Likes Received:

    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,
    , "Title" + random.nextDouble(), "Discription");

    thanks for any help

    gr Cpouwels


Share This Page