Viewing private files created by an android app

后端 未结 5 1031
情歌与酒
情歌与酒 2021-02-04 01:53

I have an xml file being written by an app that is set to MODE_PRIVATE, but I now want to read that file outside of the phone, for debugging purposes. In Eclipse, I can access o

5条回答
  •  失恋的感觉
    2021-02-04 02:36

    You need to root your phone to see Context.MODE_PRIVATE files

    It ends up being stored in data//files I believe but you need root permission to see them

    So either root your phone or wait until you finished debugging and then add Context.MODE_PRIVATE

提交回复
热议问题