This file contains hidden or 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
| public static String printKeyHash(Activity context) { | |
| PackageInfo packageInfo; | |
| String key = null; | |
| try { | |
| //getting application package name, as defined in manifest | |
| String packageName = context.getApplicationContext().getPackageName(); | |
| //Retriving package info | |
| packageInfo = context.getPackageManager().getPackageInfo(packageName, |
NewerOlder