0

How to we find apk name corresponding to application installed on device. Assume that i have to all the root folders

Eg : If there is some xxxx.apk and application name is Email. Is there any way to know from device logs or device files that xxxx.apk is the apk name for Email application.?

Thanks, Megha

4

3 回答 3

0

这只是一个文件名;与实际的应用程序或包名称绝对没有关联。我可以获取 Facebook 的 APK 并将其重命名为 GooglePlus.apk,它仍然会安装 Facebook。

于 2013-05-21T15:28:35.180 回答
0

您可以在 Android 设备的 /data/system/packages.xml 中找到它,搜索“codePath”属性。

于 2014-09-21T15:55:19.740 回答
0

看看这个类,函数getInstalledApplications()

http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstalledApplications%28int%29

于 2013-05-21T15:13:14.157 回答