On Fri, Dec 2, 2011 at 10:00 AM, Nikolay Elenkov
<nikolay.elen...@gmail.com> wrote:
> IIRC, 
> Context.createPackageContext("some.other.package",0).openFileInput("somefile")
> should let you access it it's world readable.

That's certainly much better than hard-wiring a path. I forgot about
createPackageContext() -- thanks!

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

Android 4.0 Programming Books: http://commonsware.com/books

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