Android Question [SOLVED] DirInternal is always available, right?

Sandman

Expert
Licensed User
Longtime User
Just a small sanity check: From what I can read in the forum, I can trust that DirInternal always is available. (Which would mean that I don't need to create tests to verify the existence of it, with fallback to some of the other directories.)

Is that correct?
 

Cableguy

Expert
Licensed User
Longtime User
Folder internal always exists, that it for sure, it's a "hidden" folder created when the app first installs and that usually does NOT get deleted when un-installing.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
When you uninstall the app, the internal folder for that app and any files in it are also deleted. Small clarification.
I don't think that's always the case, some apps I have deleted and re-installed after I didn't need to reconfigure as they retained all data.
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
I don't think that's always the case, some apps I have deleted and re-installed after I didn't need to reconfigure as they retained all data.
Because they did not keep the Internal folder settings.
Sometimes they are stored in a folder inside the Root, other times they are saved on a cloud by identifying the phone or gmail account.
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
If an app is uninstalled, the internal folder associated with that app is also removed. The internal folder only exists for as long as the app is installed.

- Colin.
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
I don't think that's always the case, some apps I have deleted and re-installed after I didn't need to reconfigure as they retained all data.
I agree with Star-Dust & Mahares - when an app is uninstalled, the internal folder associated with that app is removed. During testing I often uninstall an app prior to creating a new build so that I'm sure of a "clean" install - which is especially helpful if I've made significant changes (like modifying the structure of a database, or adding/removing settings options). You cannot uninstall an app & have anything in the internal folder retained.

- Colin.
 
Upvote 0
Top