L lorebarita Member Licensed User Longtime User Mar 19, 2015 #1 I have to applications that I want share the same database. In java I have seen this done using the sharedUserId in the manifest like this <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="my.app"> Is there an equivalence of this in B4a please help I am desparate. By database is in the DirDefaultExternal folder. See link http://stackoverflow.com/questions/7053809/share-sqlite-database-between-2-android-apps
I have to applications that I want share the same database. In java I have seen this done using the sharedUserId in the manifest like this <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="my.app"> Is there an equivalence of this in B4a please help I am desparate. By database is in the DirDefaultExternal folder. See link http://stackoverflow.com/questions/7053809/share-sqlite-database-between-2-android-apps
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2015 #2 You don't need to do anything special to access files in the external storage. The path to the other app DirDefaultExternal is: Code: Copy File.Combine(File.DirRootExternal, "Android/data/<package name of other app>/files) Upvote 0
You don't need to do anything special to access files in the external storage. The path to the other app DirDefaultExternal is: Code: Copy File.Combine(File.DirRootExternal, "Android/data/<package name of other app>/files)