I would like to create sqlite db outside of app data folder in android. I need other apps to use the same db without using features like content provider to access the same db.
Please help me how to achieve this with Android. [Newbie in Android]
If you plan to make a great app. that hackers and enthusiastic may wanna hack. Making a public database is easy but also leaky. If you are really sure you have considered security i can give you the code for it.
For example:
SQLiteDatabase sql = openOrCreateDatabase("sql.db", MODE_WORLD_READABLE, null);
This Should Help https://developer.android.com/guide/topics/data/data-storage.html
An app can do a lot of unrelated tasks in activities. and also read this Share SQLite database between 2 android apps?