2014-02-10 46 views

回答

1

您可以使用此得到你的列表:

Intent intent = new Intent(Intent.ACTION_VIEW); 
    Uri uri = Uri.withAppendedPath(MediaStore.Audio.Media.INTERNAL_CONTENT_URI,"1"); 
    intent.setData(uri); 
    intent.setType("audio/*"); 
    List<ResolveInfo> apps = getPackageManager().queryIntentActivities(intent, 0); 
    for (ResolveInfo rInfo : apps) { 
     //process list here 
    } 
+0

大碼感謝你:) – Cilenco

相關問題