This is a simple question but I can't find anything by searching this group:
is there any way of creating world readable files within subdirectories?
I'm producing an app widget that includes an ImageView. To supply the image
data I'm serving pngs from a content provider. I do it this way to avoid the
overhead of stuffing bitmaps into the remote views. I thought I could make
this even more efficient by simply letting the widget host access the png
files directly - that way the home app won't need to spin-up my application
when the remote view is instantiated only to pull out a file descriptor.
This means making the files world readable.

At the same time I really want to avoid dumping the files into the root of
my application's files directory and instead want a subdirectory so that
typical file management tasks are simpler. But I can't see a way of doing
both, have I missed something obvious?

Tom.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to