How to attach a text file stored locally in app directory

前端 未结 2 1560
南旧
南旧 2021-01-06 13:59

I have an Android app that saves a text file directly onto the phone, in the app\'s install directory. I need to allow the user to create a new email, attaching this saved t

2条回答
  •  情歌与酒
    2021-01-06 14:10

    I've seen this before and the only way I could solve it was by writing the file to the SD card.

    It's worth trying writing to the file to the SD card and attaching it if only to eliminate the files location as the cause of the problem.

提交回复
热议问题