Using same sqlite database in multiple Android Apps
<p>I have a set of 4 applications, all of them need a general database. The user can use any app first and that app creates the sqlite database. </p>

<p>I think I can create the database in a specific folder using a full path in the <code>SQLiteOpenHelper</code>, maybe I can create the database in a specific path and make all the apps use this database, but data would lose security.</p>

<p>I checked some answers where it is recommended to use a <code>ContentProvider</code> or <code>sharedUserId</code>, but the examples are for scenarios where an app want to share its data, in this case is a common database for all apps, How can I use a <code>ContentProvider</code> in this scenario?</p>

<p>What would be a good way to achieve that? </p>