Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android equivalent of IOS App-Groups functionality

Tags:

android

ios

Is there anything equivalent of ios app groups for interprocess communication and sharing data?

I know android has Content Provider, but that is not the same thing.

Ios app groups:

App groups allow multiple apps produced by a single development team to access shared containers and communicate using interprocess communication (IPC). Apps may belong to one or more app groups.

link: apple.docs.app.groups

Android content provider:

Content providers are Android’s central mechanism that enables you to access data of other applications – mostly information stored in databases or flat files. As such content providers are one of Android’s central component types to support the modular approach common to Android. Without content providers accessing data of other apps would be a mess.

link: android.docs.content.provider

like image 881
Milenko Jevremovic Avatar asked Aug 16 '26 08:08

Milenko Jevremovic


1 Answers

You can communicate via IPC over BroadcastReceivers and via ContentProviders. If you want to share files, any apps signed with the same key can access each other's files. Broadcasts and ContentProviders can be tied to permissions to keep other apps out

like image 56
Gabe Sechan Avatar answered Aug 17 '26 23:08

Gabe Sechan