I was wondering if its possible to get Android application info like (name, version, md5, ...). Is there any API to create a MD5 hash of the application?
Thanks in advance
I was wondering if its possible to get Android application info like (name, version, md5, ...). Is there any API to create a MD5 hash of the application?
Thanks in advance
You can get a list of all Applications by searching for Activities which handle the Main-Intent.
I found that code:
final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
final List pkgAppsList = context.getPackageManager().queryIntentActivities( mainIntent, 0);
here: How to get a list of installed android applications and pick one to run
So that just gets a list of the Applications. I think the md5 sums you want to make on the .apk files (the installation packages?). If so i don't know how to find this out, because its possible to have an application isntalled but the .apk is not on the phone anymore i think.
Hope that helps.