{"id":24270746,"url":"https://github.com/karn/prism","last_synced_at":"2026-02-18T00:01:54.868Z","repository":{"id":271052091,"uuid":"911966493","full_name":"Karn/prism","owner":"Karn","description":"A wallpaper manager for API33+ built to allow wallpaper retrieval by allowlisted third-party apps.","archived":false,"fork":false,"pushed_at":"2025-03-01T07:23:20.000Z","size":2497,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T08:19:05.446Z","etag":null,"topics":["android","androidwallpaper","wallpaper-app","wallpapermanager"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Karn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-04T10:30:14.000Z","updated_at":"2025-03-01T07:21:33.000Z","dependencies_parsed_at":"2025-03-01T08:28:57.199Z","dependency_job_id":null,"html_url":"https://github.com/Karn/prism","commit_stats":null,"previous_names":["karn/prism"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fprism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fprism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fprism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karn%2Fprism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karn","download_url":"https://codeload.github.com/Karn/prism/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241969824,"owners_count":20050583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["android","androidwallpaper","wallpaper-app","wallpapermanager"],"created_at":"2025-01-15T16:54:48.945Z","updated_at":"2026-02-18T00:01:49.810Z","avatar_url":"https://github.com/Karn.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Prism](./.docs/assets/logo.svg)\n\n## Prism\n\nA wallpaper manager for API33+ built to allow wallpaper retrieval by allowlisted third-party apps.\n\n\u003cdiv style=\"display: flex; flex-direction: row; width: 100%; max-width: 760px;\"\u003e\n    \u003cimg src=\"./.docs/assets/screenshot-1.png\" width=\"200px\" height=\"auto\"\u003e\n    \u003cimg src=\"./.docs/assets/screenshot-2.png\" width=\"200px\" height=\"auto\"\u003e\n    \u003cimg src=\"./.docs/assets/screenshot-3.png\" width=\"200px\" height=\"auto\"\u003e\n\u003c/div\u003e\n\n#### 3rd Party Usage\n\nEnable third-party access in the app, then in your own app implement the following contentResolver:\n\n```kotlin\ncontentResolver.query(\n    /* uri = */ Uri.parse(\"content://io.karn.prism.WallpaperContentProvider/wallpapers\"),\n    /* projection = */ arrayOf(BaseColumns._ID, \"type\", \"uri\"),\n    /* selection = */ null,\n    /* selectionArgs = */ null,\n    /* sortOrder = */ null\n)?.use { cursor -\u003e\n    try {\n        while (cursor.moveToNext()) {\n            val id = cursor.getLong(cursor.getColumnIndexOrThrow(BaseColumns._ID))\n            val type = cursor.getString(cursor.getColumnIndexOrThrow(\"type\"))\n            val uri = cursor.getStringOrNull(cursor.getColumnIndexOrThrow(\"uri\"))\n\n            Log.w(\"WallpaperContentResolver\", \"Resolved wallpaper: $id, $type, $uri\")\n        }\n    } catch (e: Exception) {\n        Log.e(\"TAG\", \"Error loading wallpapers\", e)\n    }\n}\n```\n\n#### Limitations\n\n- The contentResolver can be used to subscribe to changes but it is not always accurate due to\nvariations in OEM implementations of the Settings.Secure.THEME_CUSTOMIZATION_OVERLAY_PACKAGES\nsetting. Applications can subscribe to the deprecated but still functioning\nIntent.ACTION_WALLPAPER_CHANGED broadcasts and combine it with the ContentResolver above.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarn%2Fprism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarn%2Fprism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarn%2Fprism/lists"}