6
我该如何过滤android图库中的图片和视频?如何仅过滤android图库中的图像和视频?
例如:
intent.setType("image/*"); //returns only images
intent.setType("video/*"); //returns only videos
intent.setType("*/*"); //returns all videos,images, audios,contacts,etc..
我只想图片和视频。我怎样才能做到这一点?
http://www.java2s.com/Open-Source/Android/android-platform-apps/Gallery/com/android/camera/ImageGallery.java.htm – 2011-12-15 06:55:30