The data needs to be either in persistent storage (with the reference to it
being a URI) or copied in the intent (which means relatively small say <
100K).  We don't allow open file descriptors to be placed at all in an
intent used with startActivity().

On Fri, Oct 9, 2009 at 1:40 AM, jmh <[email protected]> wrote:

>
> Hello all,
>
>
> I would like to run an ACTION_VIEW with memory data.
>
> The first solution is to write data in a file on sdcard but ... it
> does not seem so efficient.
> I was thinking to implement my own content provider, but as far as I
> understand I need to return an ParcelFileDescriptor.
> I found a MemoryFile implementation in SDK, however I don't know how
> to get a ParcelFileDescriptor for a  MemoryFile.
>
> Any ideas ?
> Regards,
> jim
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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