Ok, there are three questions in your post. Before answer your questions, I think some pictures are necessary.
P1:
P2:
Like @Yogesh Paliyal has said, you need File Explorer
to see it. If you also want to see it and you don't want to root you device, please follow me: Visual Studio->Tools->Android->Android Device Monitor->select one simulator from Devices column->File Explorer
. I suggest you create a simulator which Api is below 21, because the higher also can't see the file. I am using 19 to see the files.
And I think you should read this firstly.
Ok, let's see your questions:
Where is the app Personal Folder path?
In android, there are two folder: personal/internal folder and public/external folder, here is official document.
Personal/Internal Folder path:
Public/External Folder path:
Where is that folder /data/user?
From P1, you can see the ->/data/data/
is behind of /data/user/0
, so the folder /data/user/0/MyFirstGPSApp.MyFirstGPSApp/files/ormdemo.db3
is /data/data/MyFirstGPSApp.MyFirstGPSApp/files/ormdemo.db3
actually.
Do I need special permision to write in /DCIM folder?
Personal/Internal folder doesn't need permission, public/external folder need permission.
In /storage/sdcard
folder, only Android
folder is personal/internal folder, so you need permission:<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
or <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
or both.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…