Filter .xml file in the File Explorer

zmmerdnhkzku

New Member
i wanted to show only .xml files to user which is currently present in the sd card.i try the following but it shows all files in my sdcard including directories\[code\]Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("text/xml"); intent.addCategory(Intent.CATEGORY_OPENABLE); startActivityForResult(Intent.createChooser(intent, "Select XML File"), SelectXMLFILE);\[/code\]
 
Back
Top