Ok... so the way GO Launcher themes are designed should change (since all the xml they require are in the assets folder)...mmm well...ok. There's not much I can do..
On Tue, Oct 16, 2012 at 5:12 PM, Nikolay Elenkov <[email protected]>wrote: > On Wed, Oct 17, 2012 at 12:02 AM, YuviDroid <[email protected]> wrote: > > Thanks for the 'adb install -l' hint...very useful :) > > > > I think that what I do is actually ok, but it doesn't work when > installing > > with the 'app encryption' (-l option). > > This is what I do: > > > > Resources appResources = > > packageManager.getResourcesForApplication(appPackageName); > > InputStream is = appResources.getAssets().open("drawable.xml"); > > Assets (/res/asset) are put in the private part of the APK, so this is > not going to work. You can get drawables, layouts and more from > the public part though using getDrawable(), etc. > -- YuviDroid Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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

