Create xml file and save it in internal storage android

前端 未结 3 1224
刺人心
刺人心 2020-12-04 18:19

I want to check in the android internal storage if new.xml exists(which will be created by me) then it should return me a handle for it and i may be easily able

3条回答
  •  粉色の甜心
    2020-12-04 19:16

    Use openFileOutput to create file in internal storage and getFileStreamPath for checking if they already exists and working with them

    To read data into array just open file stream and use any appropriate XML parser

提交回复
热议问题