Where is my data file?

2019-08-15 05:26发布

I have an Application that requires a data file. I connect my device to the PC with the USB cable. I copy the application over to a directory called Aps, that I made, and my data file to a directory called data/net.me.myapp/data. After I disconnect the USB cable, I can "Install Aps" and get my application on the device. I cannot find the data. I have looked with a File explorer and cannot fine either of the directories that I made. How can i get to my data or how should I be doing this. My application works fine on the emulator, but I know where I am putting the data file.
Thanks

标签: android file
1条回答
看我几分像从前
2楼-- · 2019-08-15 05:40

Well I finally figured it out. When you use the USB to push a file over to the device it goes into a directory called "tflash". Once I found this directory the rest was easy. So for my device the full path is

"/mnt/sdcard" from Environment.getExternalStorageDirectory()
+ "/tflash/Android/data" + my file name 
查看更多
登录 后发表回答