{"id":19720896,"url":"https://github.com/piasy/rxscreenshotdetector","last_synced_at":"2025-07-03T11:03:25.184Z","repository":{"id":75583085,"uuid":"50647713","full_name":"Piasy/RxScreenshotDetector","owner":"Piasy","description":"Android screenshot detector with ContentObserver and Rx.","archived":false,"fork":false,"pushed_at":"2017-02-18T15:47:54.000Z","size":1580,"stargazers_count":242,"open_issues_count":3,"forks_count":43,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-29T21:39:22.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://blog.piasy.com/2016/01/29/Android-Screenshot-Detector/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Piasy.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,"zenodo":null}},"created_at":"2016-01-29T07:57:39.000Z","updated_at":"2024-12-06T16:48:34.000Z","dependencies_parsed_at":"2023-06-06T23:45:24.972Z","dependency_job_id":null,"html_url":"https://github.com/Piasy/RxScreenshotDetector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Piasy/RxScreenshotDetector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piasy%2FRxScreenshotDetector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piasy%2FRxScreenshotDetector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piasy%2FRxScreenshotDetector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piasy%2FRxScreenshotDetector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Piasy","download_url":"https://codeload.github.com/Piasy/RxScreenshotDetector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piasy%2FRxScreenshotDetector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263314105,"owners_count":23447291,"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":[],"created_at":"2024-11-11T23:12:52.713Z","updated_at":"2025-07-03T11:03:25.174Z","avatar_url":"https://github.com/Piasy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RxScreenshotDetector\nAndroid screenshot detector with ContentObserver and Rx.\n\nNote that this library only work as best effort, it won't (and can't I think) cover all corner cases. Good luck with it :)\n\n## ScreenShot\n\n![screenshot-detector-demo.gif](art/screenshot-detector-demo.gif)\n\n## Usage\nAdd to gradle dependency of your module build.gradle:\n\n```gradle\nrepositories {\n    maven {\n        url  \"http://dl.bintray.com/piasy/maven\"\n    }\n}\n\ndependencies {\n    compile 'com.github.piasy:rxscreenshotdetector:1.2.0'\n}\n```\n\nUse in code:\n\n```java\nRxScreenshotDetector.start(this)\n        .compose(bindToLifecycle())\n        .subscribeOn(Schedulers.io())\n        .observeOn(AndroidSchedulers.mainThread())\n        .subscribe(path -\u003e mTextView.setText(mTextView.getText() + \"\\nScreenshot: \" + path),\n                Throwable::printStackTrace);\n```\n\nTo use with RxJava 1.x, see [RxJava2Interop](https://github.com/akarnokd/RxJava2Interop).\n\nSee [full example](https://github.com/Piasy/RxScreenshotDetector/tree/master/app) for more details.\n\n## Acknowledgements\n+  Thanks for [RxPermissions](https://github.com/tbruyelle/RxPermissions), for request permission in reactive way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiasy%2Frxscreenshotdetector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiasy%2Frxscreenshotdetector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiasy%2Frxscreenshotdetector/lists"}