简体   繁体   中英

Link between installed Android apps

is it possible to link from one android app to another installed app? I'm creating a set of apps which all to some extent will utilize the same content. In the "web world" this would be handled easy by separating this content to a separate html (or similar), and all the other sites/apps would link to this one. Unfortunately, the apps must all work offline, so linking to a web server is not an option. If all the "shared content" should be duplicated into each an every app, it would take up a lot of space, and be a nightmare to update.

Any input deeply appreciated.

If your requirement is to share data from one app to another, then what you are looking for is ContentProvider . You can create custom ContentProvider and retrieve the data from the other app. The developer guide is available [here]

Also refer this question to understand how it's implemented:

Hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM