Amazon Music API

2,332 views
Skip to first unread message

steve...@gmail.com

unread,
Sep 14, 2016, 4:37:05 AM9/14/16
to Automate
Does anyone know where to get documentation for the API for Amazon Music for Android?

These are the commands that I am aware of.

Thanks,
Steve

1.      com.amazon.mp3

a.       account.activity

                                                               i.      AccountDeregistrationDialogActivity

                                                             ii.      AccountRegistrationDialogActivity

                                                            iii.      SsoWelcomeActivity

b.      activity

                                                               i.      BlueMoonExceptionActivity

                                                             ii.      DeluxeContentLauncherActivity

                                                            iii.      DialogActivity

                                                           iv.      DownloadDialogActivity

                                                             v.      ExternalLauncherActivity

                                                           vi.      GrantPermissionActivity

                                                          vii.      GrantStoragePermissionActivity

                                                        viii.      IntentProxyActivity

                                                           ix.      MessageOtherWebViewActivity

                                                             x.      MessageWebViewActivity

                                                           xi.      MusicHomeActivity

                                                          xii.      NetworkErrorDialogActivity

                                                        xiii.      RecentItemDeletedActivity

                                                        xiv.      ReportCrashDialogActivity

                                                         xv.      StoreUnsupportedDialogActivity

                                                        xvi.      UnknownCountryActivity

                                                      xvii.      UnsupportedFileTypeActivity

                                                     xviii.      UpdateCheckActivity

                                                        xix.      Util.testUtil.TestUtilActivity

c.       Activity.settings

                                                               i.      ClearCacheActivity

                                                             ii.      SettingsActivity

d.      download.activity

                                                               i.      DownloadLocationPreferenceActivity

                                                             ii.      PlaylistDownloadErrorDialogActivity

e.      library.activity

                                                               i.      AddToPlaylistActivity

                                                             ii.      AddToPlaylistPopupActivity

                                                            iii.      AddToPlaylistTabActivity

                                                           iv.      BaseAccountValidationWebView

                                                             v.      CirrusMessagesActivity

                                                           vi.      CreateOrRenamePlaylistActivity

                                                          vii.      EmptySmartPlaylistActivity

                                                        viii.      LibraryDeviceAuthorizationWebViewActivity

                                                           ix.      NumberOfPlaylistsLimitReachedActivity

                                                             x.      SavePlaylistActivity

f.        library.dialog

                                                               i.      NetworkFailureWithSettingsDialog

g.       playback.activity

1.       NowPlayingFragmentActivity

2.       PlaybackErrorDialogActivity

3.       StreamingNetworkDialogActivity

4.       StreamingNetworkPreferenceActivity

5.       StreamingNotAuthorizedActivity

h.      aclient.activity.LauncherActivity

i.         dialog.PrimeDeviceAuthorizationDialogActivity

j.        external.api.uri.SyncAndPlayActivity

k.       external.ford.sync.ui.FordSyncLockScreenActivity

l.         ftu.FTUActivity

m.    prime.activity.NonPrimeRedirectActivity

n.      prime.upsell.PrimeUpsellActivity

2.       com.amazon.identity

a.       auth.device.AuthPortalUIActivity

3.       com.google.android.gms.ads

a.       AdActivity

b.      purchase.InAppPurchaseActivity

4.       com.urbanairship.google

a.       PlayServicesErrorActivity

steve...@gmail.com

unread,
Sep 18, 2016, 9:29:54 AM9/18/16
to Automate, steve...@gmail.com
I did determine that the following will launch the app and bring it to the foreground:

Block: App start
Package: com.amazon.mp3
Activity class: com.amazon.mp3.activity.MusicHomeActivity
Action: Run

After that, I used recorded Interact actions.

-Steve

Henrik "The Developer" Lindqvist

unread,
Sep 18, 2016, 3:03:20 PM9/18/16
to Automate, steve...@gmail.com
Try the common intents, i.e. using the App start block:
https://developer.android.com/guide/components/intents-common.html#Music

dero...@gmail.com

unread,
May 20, 2017, 8:02:13 PM5/20/17
to Automate
I'll tried the intents with different combinations of extra parameters but it doesn't work for me. If you have a working example maybe you can share.

idahori...@gmail.com

unread,
Jul 24, 2017, 10:41:17 PM7/24/17
to Automate
Try adding an input dialog box asking for "Playlist name" then add {"android.intent.extra.focus": "vnd.android.cursor.item/playlist", "query": name} in extras of a Amazon Music app block (be sure to select the action "Media play from search").
Reply all
Reply to author
Forward
0 new messages