Thanks to the Android Source Code, I wrote a little J2SE program that
prints all the signatures of a JAR file (also works with APKs) as
returned by the PackageManager in Android with the
Signature.toCharsString() format.

On 10 déc, 11:50, Guillaume Perrot <guillaume.p...@gmail.com> wrote:
> In Android we can get the signatures of a package with
>
> getPackageManager().getPackageInfo(packageName,
> PackageManager.GET_SIGNATURES).signatures;
>
> We can print a signature by calling
>
> signatures.toCharsString();
>
> How to get the same string with jarsigner or another tool from the APK
> file ?

-- 
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

Reply via email to