Looking for an Android file system expert

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi all,

is anybody familiar with file system on Android devices?
I have a SQLite based BLE App created. In general it works, just:

  • Android does not have really "shared folders". Every App will have its own data folder (which is not visible for other Apps,
    or neither from PC). It works fine when using the App data folders. I can create a DB, open and update next time (e.g. new sensor values).
  • But putting DB on a visible folder, even SD Card: I can create and see it but it works only once. On a second App start the DB is "read only".
  • And it looks to me (after hours on Google): in general it is not possible to share files, a database between different Apps. They need the same App ID in their Manifest XML file. But with a third-party I have no clue about it and I cannot change (to give two Apps the same App ID so that they look like the same and can use the same folder and files)

Does anybody has an idea how to deal with shared folders and files on Android?

Thank you.

0 Likes
1 Solution
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

I'm not an Android file system expert. But trying to answer your question with the help of google:

http://stackoverflow.com/questions/8707731/how-to-share-sqlite-between-two-application

http://stackoverflow.com/questions/7053809/share-sqlite-database-between-2-android-apps

sqlite - Sharing and persisting data between multiple Android applications - Stack Overflow

I'm sure you would have come across these , did you happen to see any issue with trying the above mentioned solutions , do they match your requirement?

thnx

vik86

View solution in original post

2 Replies
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

I'm not an Android file system expert. But trying to answer your question with the help of google:

http://stackoverflow.com/questions/8707731/how-to-share-sqlite-between-two-application

http://stackoverflow.com/questions/7053809/share-sqlite-database-between-2-android-apps

sqlite - Sharing and persisting data between multiple Android applications - Stack Overflow

I'm sure you would have come across these , did you happen to see any issue with trying the above mentioned solutions , do they match your requirement?

thnx

vik86

Anonymous
Not applicable

Thank you very much.

I will study and try.

0 Likes