Re: [android-developers] Program to generate MD5 hash for apk

2011-07-14 Thread Rashmi
Check if the hash value you have/received is the same as the one you calculated using the actual file. Value you have/received - which value is this. Please explain me in detail, what are the two values to be compared and how to get those two values . Thanks, -- You received this

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-14 Thread Nikolay Elenkov
On Thu, Jul 14, 2011 at 3:08 PM, Rashmi rashmi@gmail.com wrote: Check if the hash value you have/received is the same as the one you calculated using the actual file. Value you have/received - which value is this. What are you trying to do? To validate a file you need know the hash in

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-14 Thread Rashmi
Thank you. I got it cleared. Some how I need get the MD5 hash of the apk and then generate hash for apk for comparing. -- 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

[android-developers] Program to generate MD5 hash for apk

2011-07-13 Thread rashmi
Hi, Please let me know how to create a MD5 hash for an apk programmatically. I want to compare the MD5 hash in the certificate and the generated MD5 hash. There are some commands which can be executed from command prompt to generate MD5 hash for an apk. But how do I will generate it through

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-13 Thread Nikolay Elenkov
On Wed, Jul 13, 2011 at 9:49 PM, rashmi rashmi@gmail.com wrote: Hi, Please let me know how to create a MD5 hash for an apk programmatically. I want to compare the MD5 hash in the certificate and the generated MD5 hash. There are some commands which can be executed from command prompt to

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-13 Thread rashmi
Hi Nikolay, Thanks for the reply. I need to validate the downloaded apk. So I have to compare the MD5 hash in the certificate against the MD5 hash generated for the apk. But according to you MD5 hash of certificate and apk are different. Then please suggest me how to validate the downloaded apk

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-13 Thread Nikolay Elenkov
On Thu, Jul 14, 2011 at 1:45 PM, rashmi rashmi@gmail.com wrote: Then please suggest me how to validate the downloaded apk using MD5 hash. Check if the hash value you have/received is the same as the one you calculated using the actual file. -- You received this message because you are