Hi,

I have some Japanese music on device, I try to write program to get
every music's detail information from media store using

public static final String[] DataProjection = new String[]{
          MediaStore.Audio.Media.ALBUM_ID,
          MediaStore.Audio.Albums.ALBUM,
          MediaStore.Audio.Albums.ARTIST,
          MediaStore.Audio.Media.DATA,
};

but when I query the data from media store database, it give me string
with mojibakes (garbage characters), so I want to do convert before
media store scan the music file, Although I know how to convert, for
example "SJIS" to "UTF-8" like
newStr = new
String(AlbumCursor.getString(1).getBytes("sjis"),"utf-8");

but I cant not know what encoding the string, so can not convert it to
UTF-8, someone can give me help or solution, thank you!!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to