摘要: Android中利用图库打开特定的图片 需要利用图库打开sd卡中特定的图片,程序如下: File file = new File("mnt/sdcard/ScreenCapture/SC20000420-062751.png"); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file), "image/*"); startActivity(intent); 这样就可以调用图库打开自己的图片了。 阅读全文
posted @ 2013-09-25 17:11 Wsf5918 阅读(367) 评论(0) 推荐(0)