On Wed, Oct 5, 2011 at 5:06 PM, Leo <leonidthek...@gmail.com> wrote: > OK, > The apk file is not unpacked after installation, it stored as is > inside android either in internal memory or on SD-card in android- > secure directory. > Here is the code that I wrote to access the CERT.RSA file from inside > the application. > It seems that this is the only way, but maybe I'm wrong. >
An APK is a JAR file, you should use JarFile/JarEntry. JarEntry gives you the signing certificates as well: http://download.oracle.com/javase/6/docs/api/java/util/jar/JarEntry.html#getCertificates%28%29 -- 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