Created
April 17, 2013 09:54
-
-
Save 9re/5403128 to your computer and use it in GitHub Desktop.
get apk path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PackageManager pm = getPackageManager(); | |
for (ApplicationInfo app : pm.getInstalledApplications(0)) { | |
Log.d("PackageList", "package: " + app.packageName + ", sourceDir: " + app.sourceDir); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment