On Nov 30, 1:15 am, umakantpatil <[email protected]> wrote: > I have an APK file. I just want to read its package name. How can i do > that ?
The most obvious way is probably to install it on an android emulator while watching the logcat. (You could install it on a device, but that could be more of a security risk if you don't know what it is) Or you could run it through apktool or some other package parser/ decompiler, in particular this will make the manifest file human readable again. By looking at the sources of the tools that build or parse apk's you could of course build your own tool to extract just the package name. Perhaps someone has already done it. Sometimes the apk file name will be close to the package name, but not always. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

