Posts

Post not yet marked as solved
1 Replies
611 Views
I'm trying to interface the Apple Musickit SDK to my android app. I'm facing a lot of delay at the start of a song which is heavily going to affect the user experience. To overcome this delay, I tried to add a few tracks(queueAdd1 is a apple music id) to the queue by doing the following-List Q1 = playerController.getQueueItems(); boolean canAppend = playerController.canAppendToPlaybackQueue(); queueProviderBuilder.items(MediaItemType.SONG,queueAdd1); playerController.addQueueItems(queueProviderBuilder.build(); PlaybackQueueInsertionType.INSERTION_TYPE_AFTER_CURRENT_ITEM); List Q2 = playerController.getQueueItems();But these songs are not getting added to the queue for some reason. Do I need to call playercontroller.prepare() also on this to add tracks to the queue?Or is there a better way to load tracks faster?
Posted Last updated
.
Post marked as solved
15 Replies
2k Views
Hi guys,I'm trying to interface the Apple Musickit SDK to my android app. I was able to get the authentication working initially. But I'm getting a USER_CANCELLED token error on my phone every time I try to connect. I'm getting the same error now while trying to connect on the example sdk_test app(even though it was working earlier) that is shipped with the SDK, What's fishy is that the code runs fine on other phones except mine now(using the same dev token too). Can someone please help me out on this?
Posted Last updated
.