How do i use the android content provider api of the chrome browser?

504 Views Asked by At

After reading about android content provider framework, I can guess that the URI for the chrome content provider would be something like this content://com.example.chrome.ContentProvider/DataType/data_id. I want to list out the links visited in the chrome browser as they occur from my app. I didn't get any standard Manual Page for the android chrome browser content provider API, after searching online. Could you point me to some man pages or/and examples of the same. Please comment if any more context is needed, Thanks.

update: Ok so after some reading, I was able to list exposed apis for chrome and firefox, and then I tried to put a getContentResolver().query(...) in the main_activity.java and android:name="org.mozilla.firefox.permissions.SEARCHHISTORY_PROVIDER"permissions in the manifest file. But the app failed to open. I understand that the firefox browser app is denying access to my app as its signature is not verified. Could you shed some light on the signature verification process and how do i sign my app with a valid signature for it to access the firefox api?

0

There are 0 best solutions below