0

is there a way to get details about applications installed in the device? I want to implement an app which can have at least names of installed applications. thanks in advance.

Toto
  • 89,455
  • 62
  • 89
  • 125
Abdul Wahab
  • 819
  • 1
  • 7
  • 18

1 Answers1

0

Here you go:

final Intent intent = new Intent(Intent.ACTION_MAIN, null);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
final List appsList = context.getPackageManager().queryIntentActivities(intent, 0);
marmor
  • 27,641
  • 11
  • 107
  • 150