1

I want to create application for controlling my "Google Music" (com.google.android.music). How can I find all acceptable intents?

Actually it's one side of my question. I am interested in some common method to find public intent in applications.

Is it possible with script? Something like: find installed applications .apk, extract manifest, check public intents-filter?

Neha Agarwal
  • 622
  • 7
  • 24
Kein
  • 977
  • 2
  • 12
  • 32

1 Answers1

0

To check installed applications on android device use following code

   Intent myIntent = new Intent(Intent.ACTION_MAIN, null);
   myIntent.addCategory(Intent.CATEGORY_LAUNCHER);
   List installedApps = context.getPackageManager().queryIntentActivities( myIntent, 0);

For google play question THIS SO post might be useful

Community
  • 1
  • 1
silwar
  • 6,470
  • 3
  • 46
  • 66