daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PackageManager packageManager = getApplicationContext().getPackageManager();
  2.     ApplicationInfo applicationInfo ;
  3.     try {
  4.         applicationInfo = packageManager.getApplicationInfo( this.getPackageName(), 0);
  5.     } catch (final NameNotFoundException e) {
  6.         applicationInfo = null;
  7.     }
  8.     String applicationName = (String) (applicationInfo != null ? packageManager.getApplicationLabel(applicationInfo ) : "(unknown)");
  9.    
  10. ./aapt2 dump packagename <path_to_apk>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top