SHARE
TWEET

Untitled

a guest Nov 12th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
  2.         mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
  3.         List<ResolveInfo> list = getPackageManager().queryIntentActivities(mainIntent, 0);
  4.         for(ResolveInfo activity : list){
  5.             TextView textView = new TextView(this);
  6.             textView.setText(activity.activityInfo.name + " \n ");
  7.             izgled.addView(textView);
  8.         }
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