Reputation:
I have 2 application. The first (Application A) is the primary app, the second (Application B) is a helping application and depends on A to get and process the data.
How can I make a secure, reliable and efficient communication between the two application.
Upvotes: 0
Views: 37
Reputation: 685
You can use Content Provider.here is a demo example for reference https://github.com/lalit3686/CustomContentProviderDemo
Upvotes: 0
Reputation: 1351
A content provider manages access to a central repository of data. You implement a provider as one or more classes in an Android application, along with elements in the manifest file. One of your classes implements a subclass ContentProvider, which is the interface between your provider and other applications. Although content providers are meant to make data available to other applications, you may of course have activities in your application that allow the user to query and modify the data managed by your provider.
click this to know how to create Content Provider
Upvotes: 1
Reputation: 503
You can use ContentProvider
to get your work done here.
ContentProvider
is for sharing data between your application and make authority to unique and you can store data in encrypted form to secure your data.
Upvotes: 1