I am reading about Android and about how database is created and stored in application internal storage or sandbox.
Assuming I have created a database named "people.db" by calling SQLiteHelper.execSQL(peopleDB), how do I get this database file path and show it in a TextView?
To clarify, I am not asking how to create a database but how to get the path to my database file "people.db"?
String peopleDB = "people.db";
All I am trying to do is show in a Label where that application storage (or sandbox) is and to show my database location on device. This is just for personal learning, so I am not concerned about showing this information to the user or anything like that.