Still struggling with this. Based on what you said, I tried playing
with this:

Signature[] sigs =
getBaseContext().getPackageManager().getPackageInfo("com.whatever.blahpackage",
64).signatures;

(64 = GET_SIGNATURE)

I then had a look at

sigs[0].toCharsString()

which produced a 979 character long string!

Is hashCode() of any use here?  I ignored it for now.

I also had a look at toByteArray(), by converting it to a String.  The
result was a string that contained some readable ASCII characters and
some gobbledygook characters like 0� �0� N�      


I'm wondering if toCharsString is what we're actually looking for, but
that's a huge amount of text to be sending along with the request!
Would hashCode do?





On Mar 31, 2:46 pm, ko5tik <kpriblo...@yahoo.com> wrote:
> I'm also gnawing on the same problem.  At the moment
> I'm investigating following path:
>
> Context -> Package Manager -> Package info (for name, with
> signatures ) -> Signatures

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to