android - 已安装应用程序 android 的两个数据库之间的数据传输
问题描述
如果一个应用程序中的任何数据发生更改,我已经开发了两个应用程序,即使第二个应用程序未激活,另一个应用程序也应该收到更新。这需要离线完成。意味着一个应用程序数据库被更改,另一个应用程序应该在没有互联网的情况下更新,并且不会唤醒另一个应用程序。
解决方案
This can be achieved with Android Interface Definition Language (AIDL) for interprocess communication For more information, look here: https://developer.android.com/guide/components/aidl
There are lot of examples on internet how to do it. Like here
推荐阅读
- java - Java Hyperledger-panic:runtimr 错误:无效的内存地址或 nil 指针取消引用
- django - 基于 django 类的视图是否继承 method_decorators?
- oracle - 我不知道我的 SQL 有什么问题(在 Oracle SQL Developer 中)
- python - 无法使用 Scrapy 抓取下一页内容
- c# - WinForms NumericUpDown 不断乘以 10。为什么?
- php - 适用于 Web 应用程序的 Azure MySQL In App 不更新行
- javascript - 没有标签的html文本
- javascript - 复制对象数组
- events - 如何在微服务架构中共享事件代码
- ios - 应用程序终止时的 Firebase 推送通知和 IOS APNs 通知