Hi folks, I have an Android Library project that I am packaging as a JAR file for distribution. The project has no resources, layouts, assets etc., but it does have some config files that are bundled with the src. This is really just because (AFAIK) we can't distribute a library project with assets unless we distribute the full source (?).
To access these resources, I am using: Thread.currentThread().getContextClassLoader().getResourceAsStream(...) This works as expected on Android 2.2+, but fails on 2.1-update1. Does anyone have any clever ideas about how to reliably reference config-style files (properties files, xml files etc) from within Android when you can't (don't want to) use res or assets? Thanks! -- 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