我用
> unlist(strsplit(wkdays, ","))
[1] "Mon" "Tue" "Wed" "Thu" "Fri"
从曲目中获取数据
String[] projection = {MediaStore.Audio.Media._ID,
MediaStore.Audio.Media.ARTIST,
MediaStore.Audio.Media.ALBUM,
MediaStore.Audio.Media.TITLE,
MediaStore.Audio.Media.DATA,
MediaStore.Audio.Media.DISPLAY_NAME,
MediaStore.Audio.Media.DURATION,
MediaStore.Audio.Media.YEAR,
MediaStore.Audio.Media.ALBUM_ID};
Cursor cursor;
cursor = сontext.getContentResolver().query(
MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
projection, selection, null, null);
在第一种情况下,在我的真实设备HTC One V上,在Log i中看到: 轨道=老虎之眼(OSTРоккиБальбоа), 第二个,在Genymotion模拟器上,例如,在日志中: 追踪=老虎之眼(OST ???????????????????????????????????
请告诉我如何解决这个问题?