androidandroid-intentdeezer

Deezer Intent - Android


I've already searched the web but haven't found any results. How can I make the Deezer app play a specific song using an intent at Android? (I'd like to do this with Deezer too).


Solution

  • Just start an ACTION_VIEW intent on "http://www.deezer.com/track/{id}".

    String uri = "http://www.deezer.com/track/" + trackId;
    Intent intent = new Intent(Intent.ACTION_VIEW, uri);