Re: [android-developers] Re: Apps downloaded from Play Store on Jelly Bean devices not working - even now - even free apps
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); ... In this example 'appPackageName' is the package name of the app installed using app encryption. (while this code runs from another app) By using the app encryption the line appResources.getAssets().open(drawable.xml) fails with a java.io.FileNotFoundException: drawable.xml, while if I install it without using app encryption it works fine. Is there maybe another way to access the assets of another package? Thanks, Yuvi On Tue, Oct 16, 2012 at 3:05 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Tue, Oct 16, 2012 at 6:07 AM, YuviDroid yuvidr...@gmail.com wrote: I'm experiencing the same issues...did you manage to find any solution? Fix your apps to support Jelly Bean properly. Even on JB, APK resources are public and you can read them if you use the proper path or APIs. You can simulate 'app encryption' (forward locking) by installing using adb instal -l myapp.apk for testing. -- 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 -- 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 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
Re: [android-developers] Re: Apps downloaded from Play Store on Jelly Bean devices not working - even now - even free apps
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 nikolay.elen...@gmail.comwrote: On Wed, Oct 17, 2012 at 12:02 AM, YuviDroid yuvidr...@gmail.com 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 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
Re: [android-developers] Re: Apps downloaded from Play Store on Jelly Bean devices not working - even now - even free apps
I'm experiencing the same issues...did you manage to find any solution? Thanks! On Wed, Aug 15, 2012 at 9:17 PM, Bikram Agarwal vicky.codemas...@gmail.comwrote: FYI, these are my installed ADK packages - https://lh3.googleusercontent.com/-j1BMiwFXarg/UCv1rc26mkI/ONo/UWH8XBZccUU/s1600/package.jpg -- 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 -- 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 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
Re: [android-developers] Re: Apps downloaded from Play Store on Jelly Bean devices not working - even now - even free apps
On Tue, Oct 16, 2012 at 6:07 AM, YuviDroid yuvidr...@gmail.com wrote: I'm experiencing the same issues...did you manage to find any solution? Fix your apps to support Jelly Bean properly. Even on JB, APK resources are public and you can read them if you use the proper path or APIs. You can simulate 'app encryption' (forward locking) by installing using adb instal -l myapp.apk for testing. -- 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
[android-developers] Re: Apps downloaded from Play Store on Jelly Bean devices not working - even now - even free apps
FYI, these are my installed ADK packages - https://lh3.googleusercontent.com/-j1BMiwFXarg/UCv1rc26mkI/ONo/UWH8XBZccUU/s1600/package.jpg -- 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