Android 打开系统相册和系统视

1、打开系统相册
Intent intent = new Intent(Intent.ACTION_VIEW);

intent.setType("vnd.android.cursor.dir/image");//图片列表

startActivity(intent);

2、打开系统视频
Intent intent = new Intent(Intent.ACTION_VIEW);

intent.setType("vnd.android.cursor.dirideo");//视频列表

startActivity(intent);

  

posted @ 2016-01-15 09:17  Coding-Null  阅读(958)  评论(0编辑  收藏  举报