首页 > 解决方案 > 已安装应用程序 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


推荐阅读