{"id":17713549,"url":"https://github.com/huythanh0x/decompiledpk5rainbow","last_synced_at":"2025-08-22T20:31:59.765Z","repository":{"id":258795593,"uuid":"875611903","full_name":"Huythanh0x/DecompiledPk5Rainbow","owner":"Huythanh0x","description":"Javadocs live at below site","archived":false,"fork":false,"pushed_at":"2024-10-21T12:54:40.000Z","size":7778,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-22T04:33:19.215Z","etag":null,"topics":["android","decompile","reverse-engineering"],"latest_commit_sha":null,"homepage":"https://huythanh0x.github.io/DecompiledPk5Rainbow/","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/Huythanh0x.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":"2024-10-20T12:55:27.000Z","updated_at":"2024-10-21T12:54:44.000Z","dependencies_parsed_at":"2024-10-25T11:40:27.458Z","dependency_job_id":"00f50463-a5a1-4233-a136-3def4ead1da7","html_url":"https://github.com/Huythanh0x/DecompiledPk5Rainbow","commit_stats":null,"previous_names":["huythanh0x/decompiledpk5rainbow"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huythanh0x%2FDecompiledPk5Rainbow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huythanh0x%2FDecompiledPk5Rainbow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huythanh0x%2FDecompiledPk5Rainbow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huythanh0x%2FDecompiledPk5Rainbow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Huythanh0x","download_url":"https://codeload.github.com/Huythanh0x/DecompiledPk5Rainbow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230634235,"owners_count":18256834,"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","decompile","reverse-engineering"],"created_at":"2024-10-25T10:05:15.795Z","updated_at":"2024-12-20T19:21:36.516Z","avatar_url":"https://github.com/Huythanh0x.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Decompiled Chinese Game: Petkingdom 5 - RainBow\n### Project Overview\nWelcome to the PetKing5 Android project! This project is an Android application that manages the lifecycle and state of a custom canvas and MIDlet. It includes various features such as memory management, full-screen mode, and background process termination.\n\n### Project Structure\nThe project is organized as follows:\n\n### Key Directories and Files\n`app/src/main/java`: Contains the main source code for the application.\n\n`javax.microedition.lcdui.CwaActivity.java`: Manages the lifecycle and state of a custom canvas and MIDlet.\n\n`dm.Ms.java`: Implements various utility methods and manages key events.\n\n`javax.microedition.rms.RecordStore.java`: Manages record storage using SQLite.\n\n`javax.microedition.midlet.MIDlet.java`: Abstract class for managing the lifecycle of a MIDlet application.\n\n`main.GameRun.java and main.GameRun_F.java`: Contains game logic and rendering methods.\n\n`app/src/main/res/layout`: Contains the layout XML files for the Android UI.\n\n`main.xml`: Defines the main layout of the application.\n\n`build.gradle`: The main build configuration file for the project.\n\n`app/build.gradle`: Build configuration specific to the app module.\n\n### Dependencies\nThe project uses the following dependencies:\n\n`com.android.tools.build:gradle:4.2.2`\n\n`gradle.plugin.com.tencent.android.tpns:tpnsplugin:0.0.5`\n\n`libs/uc_payment_sdk.jar`\n\n### Build and Run\nTo build and run the project, follow these steps:\n\nClone the repository:\n```shell\ngit clone \u003crepository-url\u003e\ncd \u003crepository-directory\u003e\n```\n\nBuild the project:\n```shell\n./gradlew build\n```\nRun the project:\n```shell\n./gradlew installDebug\n```\n\n### Architecture\nThe project follows a modular architecture with the following key components:\n\n`Activity`: CwaActivity manages the lifecycle and state of the custom canvas and MIDlet.\n\n`MIDlet`: MIDlet is an abstract class that provides methods to manage the lifecycle of a MIDlet application.\n\n`RecordStore`: RecordStore manages record storage using SQLite.\n\n`Utility Classes`: Various utility methods are implemented in classes like Ms.\n\n### App Flow\n`Initialization`: The application starts with CwaActivity, which initializes the custom canvas and MIDlet.\n\n`Lifecycle Management`: CwaActivity manages the lifecycle events such as onCreate, onPause, and onDestroy.\n\n`Record Management`: RecordStore handles the storage and retrieval of records.\n\n`Game Logic`: GameRun and GameRun_F contain the main game logic and rendering methods.\n\n### Contributing\nContributions are welcome! Please follow these steps to contribute:\n\n### Fork the repository.\n1. Create a new branch (git checkout -b feature-branch).\n2. Make your changes and commit them (git commit -am 'Add new feature').\n3. Push to the branch (git push origin feature-branch).\n4. Create a new Pull Request.\n\n### License\nThis project is licensed under the MIT License.\n\nFeel free to explore the code and contribute to the project. If you have any questions, please open an issue or contact the maintainers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuythanh0x%2Fdecompiledpk5rainbow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuythanh0x%2Fdecompiledpk5rainbow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuythanh0x%2Fdecompiledpk5rainbow/lists"}