Hi,
i was able to play around with the resource on a different apk and get them
using createPackageContext as you suggested.
here is an example of the code:
otherAppContext =
this.createPackageContext("com.android.demo.notepad2",Context.CONTEXT_INCLUDE_CODE
+ Context.CONTEXT_IGNORE_SECURITY);
int resID = otherAppContext.getResources().getIdentifier("icon", "drawable",
"com.android.demo.notepad2");this works well. now i am trying to get ALL the drawables (or all the layouts) in this package. i tried a multitude of ways including reflection and AssetManager but was unsuccessful. any tips here? just to be clear i can not use R.drawable.icon as this is a different context -- Yaron Spektor --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

