Jeff Thorn wrote:
> PS - meant something OTHER than. Droid autospell. :)
> 
> On May 13, 2010 7:18 PM, "Jeff Thorn" <[email protected]
> <mailto:[email protected]>> wrote:
> 
> You would think huh? But I got the impression for the docs that that
> method just allows you return a file segment using an offset and length.
> 
> Can you do something like:
> 
> File f = new File("assets/myfile.png");
> 
> I wish you could create a ParcelFileDescriptor with something Oberlin
> than a File.

Hmmmm...yeah, I was probably a bit too off-the-cuff with that
recommendation. I had done a ContentProvider to serve large images to a
WebView, but it wasn't an asset. It doesn't look like doing one from an
asset will be terribly simple.

Sorry!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: 4-6 June 2010: http://guruloft.com

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