title: escape special characters while retrieving audio list from external storage
body: <p>I am trying for music player app. I'm able to retrieve all the songs including artists, song name, album name, album cover pictures. But my problem is, after downloading the audio zip files from the website, extracting, the folder name will be automatically saved. Sample file name <em>ROBO_2(2018)[djmaza.info]</em>. I'm able to retrieve the songs only If I erase the hiphen(-) or underscore(_) and .info and then saving. Here is code.</p>
  
  <pre><code>  public void loadAudio() {
      ContentResolver contentResolver = HomeActivity.this.getContentResolver();
  
      Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
      String selection = MediaStore.Audio.Media.IS_MUSIC + "!= 0";
      String sortOrder = MediaStore.Audio.Media.TITLE + " ASC";
      Cursor cursor = contentResolver.query(uri, null, selection, null, sortOrder);
  
      MediaMetadataRetriever retriever = new MediaMetadataRetriever();
      Bitmap albumcover;
  
      if (cursor != null &amp;&amp; cursor.getCount() &gt; 0) {
          audioList = new ArrayList&lt;&gt;();
          while (cursor.moveToNext()) {
              String data = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DATA));
              String title = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.TITLE));
              String album = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM));
              String artist = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST));
              String duration = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.DURATION));
              String image = cursor.getString(cursor.getColumnIndex(MediaStore.Audio.Media.MIME_TYPE));
  
              retriever.setDataSource(data);
              byte[] cover_pic = retriever.getEmbeddedPicture();
              String album_cover;
              if (cover_pic != null) {
                  albumcover = BitmapFactory.decodeByteArray(cover_pic, 0, cover_pic.length);
                  album_cover = String.valueOf(albumcover);
              } else {
                  albumcover = null;
                  album_cover = null;
              }
  
              if (data.equals("") &amp;&amp; title.equals("") &amp;&amp; album.equals("") &amp;&amp; artist.equals("") &amp;&amp; duration.equals("") ||
                      data == null &amp;&amp; title == null &amp;&amp; album == null &amp;&amp; artist == null &amp;&amp; duration == null) {
  
                  Toast.makeText(this, "You don't have any playlists", Toast.LENGTH_SHORT).show();
              } else {
                  // Save to audioList
                  audioList.add(new AudioList(data, title, album, artist, duration, albumcover));
              }
  
          }
      }
      cursor.close();
  }
  </code></pre>
  
  <p>Help me out with this.</p>