I have been researching everything I can on Content Providers, but I cannot grasp the concept of how other apps installed on the phone can have access to the Content I am Providing. How can other apps possibly know what my CONTENT_URIs are???
I am making a Contacts app. How can other apps get the contact data I have stored, it seems impossible another app would know what I have set for the CONTENT_URI. Doesn't this defeat the whole purpose of Content Providing if other apps need to know basically what the secret key is that only I would know?
I want other apps to see my Contact app data instead of ignoring mine and only looking to the stock Contacts app for data.
Why would Android create the ContactsContract provider if that is going to lead to developers using that to obtain contact data, therefore by default making all other 3rd party contacts apps obsolete because other developers would be writing code essentially to only grab Contact data from the stock Android Contact app?
Android doesn't seem to provide anyway for me to provide by data to other apps using the ContactsContracts provider. Yet of coarse Android has made it very clear, easy, and encourages developers needing contact data to use ContactsContract.
Is this a blatant power grab? The whole intention of my contacts app is to make my Contact data more secure so that Google isn't able to collect it if they so choose, or anyone else for that matter.
Please can someone advise? This cannot possibly be correct, I am hoping I have misunderstood here. Again just FYI, I have found nothing anywhere on the Android Developer page that refers to the issue I am having.