Intent intent_music = new Intent(Intent.ACTION_PICK);  intent_music.setDataAndType(Uri.EMPTY,"vnd.android.cursor.dir/playlist");  intent_music.putExtra("withtabs", true); // 显示tab选项卡  intent_music.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); Intent j =Intent.createChooser(intent_music, "Choose an application to open with:");if (j == intent_music) {startActivity(j); } else {Intent intent = new Intent("android.intent.action.MUSIC_PLAYER");  startActivity(intent);}

更多相关文章

  1. Android(安卓)Studio学习:简单控件:滚动显示文本
  2. smartq7 android 内核显示启动信息
  3. Android(安卓)动态隐藏显示导航栏,状态栏
  4. Android(安卓)使用decodeFile方法加载手机磁盘中的图片文件
  5. MpAndroidChart简单用法 属性总结
  6. AndroidStudio使用NDK报错显示mips64el-linux-android-strip''
  7. Android快速显示4G
  8. Android(安卓)EditText显示光标 不弹出键盘
  9. android上方显示进度的进度条

随机推荐

  1. 华为紧盯Android专利战: 置身事外几无可能
  2. 使用 Android(安卓)自带的 proguard 混淆
  3. android wifi驱动开发日记(一)
  4. Android应用开发笔记(12):Android应用的自
  5. Android(安卓)编译so文件 MP4V2
  6. Android(安卓)MP3项目
  7. Android直播开发之旅(15):libjpeg库的编译
  8. httpClient及android 原生接口实现下载并
  9. android的窗口机制分析------UI管理系统
  10. android多屏设计、适配(来自官网)