If you mean how to invoke the Amazon MP3 app through an intent, you
can do something like this:
String query = // put query string here
Intent i = new Intent();
i.setAction(Intent.ACTION_SEARCH);
i.setClassName("com.amazon.mp3",
"com.amazon.mp3.android.client.SearchActivity");
i.putExtra("actionSearchType", 0); // song search
i.putExtra("actionSearchString", query);
PackageManager pm = getPackageManager();
if (i.resolveActivityInfo(pm, 0) != null) {
startActivity(i);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---