{"id":20673235,"url":"https://github.com/coder966/androidapp","last_synced_at":"2026-04-21T00:02:17.652Z","repository":{"id":188538830,"uuid":"61153930","full_name":"coder966/AndroidApp","owner":"coder966","description":"Android library to handle app upgrading events","archived":false,"fork":false,"pushed_at":"2016-07-27T22:16:17.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T14:18:38.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/coder966.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2016-06-14T20:34:15.000Z","updated_at":"2022-08-13T08:55:53.000Z","dependencies_parsed_at":"2023-08-15T20:26:02.409Z","dependency_job_id":null,"html_url":"https://github.com/coder966/AndroidApp","commit_stats":null,"previous_names":["coder966/androidapp"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2FAndroidApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2FAndroidApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2FAndroidApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder966%2FAndroidApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder966","download_url":"https://codeload.github.com/coder966/AndroidApp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242900001,"owners_count":20203704,"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-16T20:40:35.182Z","updated_at":"2026-04-21T00:02:12.614Z","avatar_url":"https://github.com/coder966.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"AndroidApp\n===\nAndroid library that features these extra methods for `Application` class:\n* `onCreate(int, String)`\n* `onUpgradeBeforeOnCreate(int, String)`\n* `onUpgradeAfterOnCreate(int, String)`\n\nInstallation\n---\nThis library requires at minimum Android 2.3.\n\n**Maven**\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003enet.coder966.AndroidApp\u003c/groupId\u003e\n  \u003cartifactId\u003elibrary\u003c/artifactId\u003e\n  \u003cversion\u003e2.0.2\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n**Gradle**\n```gradle\ncompile 'net.coder966.AndroidApp:library:2.0.2'\n```\n\nUsage\n---\n* Inherit `AndroidApp` class instead of `Application`\n* Override `onCreate(int, String)` method instead of `onCreate()`\n* When the application gets updated, the method `onUpgradeBeforeOnCreate(int, int)` will be called right before your `onCreate(int, String)`\n* When the application gets updated, the method `onUpgradeAfterOnCreate(int, int)` will be called right after your `onCreate(int, String)`\n\nLicense\n---\n```\nCopyright 2016 Khalid H. Alharisi\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder966%2Fandroidapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder966%2Fandroidapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder966%2Fandroidapp/lists"}