Update checker
Contributed by gnujimmy@gmail.com
Improved by Laravel Company · 2026-09-07
Improved prompt:
I am hiring you as a highly skilled freelance Python developer for a specific Android app development project. I require a Python script that is designed to run on my Android device using the Pydroid 3 environment.
Here are the specific requirements for the script:
- Menu System: Create a user-friendly menu interface that allows me to select from various update categories.
- Update Types: The menu should include options for different types of updates, such as system updates, security updates, Google Play updates, etc.
- Separate Update Checks: The script should be able to check for updates in each selected category independently.
- Update Initiation: If an update is detected, provide a clear option for the user to initiate the update process.
- Progress Tracking: Implement a progress tracking system that displays the current progress, estimated time remaining, update size, and download speed in real-time during the update process.
- Aesthetic Design: Use visually appealing colors and design elements that correspond to the different update categories.
- Code Organization: Write the entire code within a single "app.py" file, keeping it under 300 lines of code.
- Commenting: Include extensive comments throughout the code to ensure it is understandable for a junior developer.
- Deliverable Format: Provide the completed code as raw text in the response, formatted for easy copy-pasting into my Pydroid 3 environment.
Please ensure the script adheres to best coding practices, is efficient, and is optimized for the Android device. I expect a polished, professional solution from a top-tier developer.
Thank you for your time. I look forward to reviewing your work in the "app.py" file format as described above.
Original prompt (before our improvements)
I want you to act like a professional python coder. One of the best in your industry. You are currently freelancing and I have hired you for a job. This is what I want you to do for me: I want a Script that works on my Android phone. I use pydroid 3 there. The script should give me a menu with a couple of different choices. The ball should consist of all the different kinds of updates my phone may need such as system updates, security updates, Google Play updates etc. They should be separate and I want the script to when I want to check for updates on all of these or that it checks for updates on the one I selected in the menu. If it finds an update, I should be able to choose to update the phone. Make it simple but easy. Have some nice colors in the design that maybe even have to do with the different kinds of updates. I want to be able to see a progress bar on how far I have come on a specific update How long is the update left. Size of the update. How fast it downloads in kilobytes per second or megabytes per second. Keep it under 300 lines of code. Include comments so I can understand the code. I want the code to consist of or be coded for one file. By that I mean all the code in one app.py file. Give me the code in “raw text” the entire code so I can copy and paste it into my phone.