I had the same problem.

You can fix it yourself (for now), by running the MediaScanner over
the file you just saved.
Get the DATA column of your image-uri. The DATA ("_data") column holds
the physical file-path of your image. Use this file-path in the
MediaScanner (and MediaScannerConnection) to scan your image. When
this is done, you no longer get the exception.


On May 1, 9:48 am, "L'\\tty" <[email protected]> wrote:
> Okay, thank you so much. I am glad to hear that this is a bug which
> going to be fixed :-)
>
> On 1 Mai, 15:43, "[email protected]"
>
>
>
> <[email protected]> wrote:
> > A few people have come across this. It is a known bug and will be
> > fixed in Cupcake.
>
> > On May 1, 2:33 pm, "L'\\tty" <[email protected]> wrote:
>
> > > I was also wondering how the insertImage() mehtod works. Is there
> > > source code for this method available, so I can write my own method?
>
> > > Best regards- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to