2008/9/8 friedger <[EMAIL PROTECTED]>

>
> I am also confused.
> Megha mentioned ContentResolver.openContentURI. That API function
> doesn't seem to exist in 0.9


Can you try getContentResolver().openInputStream instead?

>
>
> So could someone please enlight us and give a short example or eplain
> what to do in order to load a file via content provider?
>
> Thanks,
> Friedger
>
> On 7 Sep., 16:38, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > Nothing to do.
> > I wrote a ContentProvider returning a cursor pointing to a database
> > record having '_id' and '_data' columns filled (the last one contains
> > a full path to the file, as remarked on the documentation, in case of
> > binary data).
> > Passing url 'content://polito.mailandroid/1' to WebView method
> > loadUrl, it notifies that there's no supported file.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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