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 –