{"id":21063392,"url":"https://github.com/swayangjit/contentprovider","last_synced_at":"2026-04-28T14:31:41.737Z","repository":{"id":72621673,"uuid":"332706043","full_name":"swayangjit/ContentProvider","owner":"swayangjit","description":"A sample application that demonstrates sharing data with other applications using ContetProvider","archived":false,"fork":false,"pushed_at":"2021-01-30T18:58:41.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T12:25:17.823Z","etag":null,"topics":["contentprovider","contentresolver","datasharing"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swayangjit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-25T10:13:47.000Z","updated_at":"2021-01-30T19:17:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d4a5427-16aa-4739-a8e0-665935093696","html_url":"https://github.com/swayangjit/ContentProvider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swayangjit/ContentProvider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swayangjit%2FContentProvider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swayangjit%2FContentProvider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swayangjit%2FContentProvider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swayangjit%2FContentProvider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swayangjit","download_url":"https://codeload.github.com/swayangjit/ContentProvider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swayangjit%2FContentProvider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32384937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contentprovider","contentresolver","datasharing"],"created_at":"2024-11-19T17:44:57.674Z","updated_at":"2026-04-28T14:31:41.720Z","avatar_url":"https://github.com/swayangjit.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nA sample application that demonstrates sharing data with other applications using ContetProvider.\n#### Important points to consider while creating a custom content provider\n\n - First create your custom permission and **provide a namespace to those permissions**.\n\n    ``\u003cpermission  \n  android:name=\"com.github.provider.READ_DATABASE\"  \n  android:label=\"@string/app_read\"  \n  android:protectionLevel=\"normal\"\u003e  \n\u003c/permission\u003e  ``\n\n    ``\u003cpermission  \n  android:name=\"com.github.provider.WRITE_DATABASE\"  \n  android:label=\"@string/app_write\"  \n  android:protectionLevel=\"normal\"\u003e  \n\u003c/permission\u003e``\n\n- While mentioning the provider in the ``AndroidManifest.xml`` mark the provider as ``exported = true`` and add the read and write permissions to the Provider.\n\n\t``\u003cprovider  \n  android:name=\".providers.TelemetryProvider\"  \n  android:authorities=\"com.github.provider\"  \n  android:enabled=\"true\"  \n  android:exported=\"true\"  \n  android:multiprocess=\"true\"  \n  android:readPermission=\"com.github.provider.READ_DATABASE\"  \n  android:writePermission=\"com.github.provider.WRITE_DATABASE\"/\u003e``","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswayangjit%2Fcontentprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswayangjit%2Fcontentprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswayangjit%2Fcontentprovider/lists"}