Friday, February 28, 2014
How to read XML files stored on the card ah
I checked a lot of information, all of
reading asset or raw
Can directly read an XML file on the phone's memory card?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Get SD card privileges, and then read the XML file in the specified directory
Reply:
Upstairs said right
File file = new File (Environment.getExternalStorageDirectory () getAbsolutePath () + "/" + "XX.xml".);
Reply:
LS + +1 method gave you
Reply:
Has been solved
Before I did not know how to convert the input stream
File
FileInputStream is = new FileInputStream (file)
On it
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment