Get song title from sd card to display in android >2.3 or 4.0
<p>I am able to display song tile fetched from local sd card.The issue is when i see the songs list of mine and default music player, i found that song name has trimed if there is some extra string(string could be third -party site or movie name.).how can i achieve it.?</p>

<pre><code>    tempCursor = ((Activity)context).managedQuery(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null, null, null,MediaStore.Audio.Media.DISPLAY_NAME);

            tempCursor.moveToFirst();
            ArrayList&lt;Song&gt; list = new ArrayList&lt;Song&gt;();
            for (int i = 0; i &lt; tempCursor.getCount(); i++) {

                id = temp    Cursor.getString(tempCursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID));
                artist = temp    Cursor.getString(tempCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST));
                name = temp    Cursor.getString(tempCursor.getColumnIndex(MediaStore.Audio.Media.DISPLAY_NAME));
                data = temp    Cursor.getString(tempCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.DATA));
                albumName = temp    Cursor.getString(tempCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM));
                albumId = temp    Cursor.getString(tempCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM_ID));
</code></pre>

<p>Notice the difference in the song titles:</p>

<p><img src="http://i.imgur.com/E6k5W.png?1" alt="Screenshot one">
<img src="http://i.imgur.com/O5K7c.png?1" alt="Screenshot one">                   </p>
