Thursday 3 September 2015

Android Provides multiple ways for different apps to communicate amongst themselves on the platform. An Android app can share data with other apps that can be used by other apps to build their own logic around. To give an example, you might need to query contact details on the phone. In Android the recommended way to share data is through content providers. A content provider is an owner of particular content, it provides well defined APIs to read, insert, update and delete that data. The content provider can internally use any place to store its data like a local file, local database or some remote service. In this article we are going to learn how we can create our own content provider and access the data from an another app



for example of how to use it see this link


0 التعليقات:

Post a Comment