> It has been pretty difficult to track down information on interacting
> with the Amazon MP3 application.
I do not believe that there are any documented and supported ways to
interact with the Amazon MP3 application.
> Intent i = new Intent();
> String query = "SEARCH TERMS";
> i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> i.setClassName("com.amazon.mp3",
> "com.amazon.mp3.activity.IntentProxyActivity");
> i.setAction(MediaStore.INTENT_ACTION_MEDIA_SEARCH);
> i.putExtra(MediaStore.EXTRA_MEDIA_TITLE, query);
This code may break for any Amazon MP3 app version that is not the one
you tested.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment