0 votes
in Android by
What is the content provider? How it is implemented?

1 Answer

0 votes
by
Content provider is one of the primary building blocks of Android applications, which manages access to a central repository of data. It acts as a standard interface that connects data in one process with code running in another process. So it can be used to share the data between different applications.

They are responsible for encapsulating the data and providing mechanisms for defining data security. It is implemented as a subclass of ContentProviderclass and must implement a set of APIs that will enable other applications to perform transactions.

public class MyContentprovider extends ContentProvider

{

 public void onCreate(){}

}

Related questions

0 votes
asked Aug 24, 2022 in TOSCA by john ganales
+2 votes
asked Jan 14, 2020 in QuickTest Professional (QTP) by GeorgeBell
...