{"id":24509455,"url":"https://github.com/zunjae/zapp","last_synced_at":"2025-06-30T06:30:59.936Z","repository":{"id":202424774,"uuid":"98201802","full_name":"zunjae/ZApp","owner":"zunjae","description":"Collection of Android package specific app utils","archived":false,"fork":false,"pushed_at":"2019-09-17T07:31:41.000Z","size":139,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T04:06:59.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/zunjae.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}},"created_at":"2017-07-24T14:47:26.000Z","updated_at":"2020-08-05T15:00:40.000Z","dependencies_parsed_at":"2023-10-20T13:37:36.790Z","dependency_job_id":null,"html_url":"https://github.com/zunjae/ZApp","commit_stats":null,"previous_names":["zunjae/zapp"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/zunjae/ZApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunjae%2FZApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunjae%2FZApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunjae%2FZApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunjae%2FZApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zunjae","download_url":"https://codeload.github.com/zunjae/ZApp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunjae%2FZApp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262723297,"owners_count":23354001,"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":"2025-01-22T00:21:10.268Z","updated_at":"2025-06-30T06:30:59.850Z","avatar_url":"https://github.com/zunjae.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZApp\nCollection of App Utils\n\nAdd it in your root build.gradle at the end of repositories:\n\n```java\nallprojects {\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n\nAdd the dependency:\n\n```java\ndependencies {\n    compile 'com.github.zunjae:Zapp:0.6'\n}\n```\n\nUsage:\n\n```java\nboolean hasAppInstalled = AppUtil.hasAppInstalled(this, \"com.zunjae.anyme\"); // true | false\n\nboolean hasAnyAppInstalled = AppUtil.hasAnyAppInstalled(this, \"first.package\", \"second.package\"); // true | false\n\nString packageName = AppUtil.getAnyAppInstalled(this, \"coolapp.pro\", \"coolapp.ad\"); // \"coolapp.pro\" | \"coolapp.ad\" | null\n\nboolean intentIsValid = AppUtil.intentIsValid(this, yourIntentHere); // true | false\n\nboolean deviceIsEmulator = AppUtil.deviceIsEmulator(); // true | false\n\ndouble versionNumberDouble = AppUtil.versionNumberDouble(); // 1.0 | 2.0 | -1.0\n\nint versionNumberInt = AppUtil.versionNumberInt(); // 1 | 2 | -1\n\nString versionNumberString = AppUtil.versionNumberString(); // \"1\" | \"2\" | null\n\n```\n\nCheck https://github.com/zunjae/ZApp/blob/master/zapplib/src/androidTest/java/com/zunjae/zapplib/MainInstrumentationTest.java for example usage\n\n## License\n\nThis project is available under the MIT license, though there is no need to include a license and copyright notice\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunjae%2Fzapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzunjae%2Fzapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunjae%2Fzapp/lists"}