title: Get Spotify URI android studio
body: <p>I want to get a song URI from Spotify via parameters such as song name and artist name.  I've looked through the <a href="https://spotify.github.io/android-sdk/player/" rel="nofollow noreferrer">Android SDK documentation</a> and don't see what I am looking for. I could be wrong though. Currently, the way I get a track playing is by hard coding the URI like this:</p>
  
  <pre><code>mPlayer.playUri(null, "spotify:track:5m578MgxuEC956dulprCe8", 0, 0);
  </code></pre>
  
  <p>I want to do something along the lines of this, but am not sure if it is possible:</p>
  
  <pre><code>mPlayer.playUri(null, track.getUri, 0, 0);
  </code></pre>
  
  <p>Any ideas on how to achieve what I described above? Thanks in advance.</p>