It's hard to understand the meaning of sharing with each other. First of all, I answered as far as I understood. In order to access the database of App B from App A, the database must be implemented externally using Content Provider from App A. Since the Web and Android are inherently different, the meaning of sharing a database can also be very different.
Please refer to the link below for official Android documents related to Content Provider.
In addition, if you google it with ContentProvider, there are a lot of related materials, so it would be helpful to implement it once you read it.
© 2024 OneMinuteCode. All rights reserved.