general user coding user risk: low
Android Updates Menu Python Script
Requests a Python script for Pydroid 3 on Android that provides a menu to check and manage system, security, Google Play, and other phone updates separately or all at once, with op…
PROMPT
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.
ROLES & RULES
Role assignments
- 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.
- 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.
EXPECTED OUTPUT
- Format
- code
- Constraints
-
- under 300 lines of code
- include comments
- all in one app.py file
- raw text entire code for copy-paste
SUCCESS CRITERIA
- Provide a script that works on Android phone using pydroid 3.
- Give a menu with choices for different kinds of updates such as system updates, security updates, Google Play updates.
- Allow checking updates for all or selected one.
- If update found, allow choosing to update.
- Make it simple but easy with nice colors related to update types.
- Show progress bar, time left, size of update, download speed.
FAILURE MODES
- May exceed 300 lines of code.
- May lack sufficient comments.
- May not function properly on pydroid 3 due to Android limitations.
- May be unable to access real system or Google Play updates without special permissions.
CAVEATS
- Missing context
-
- UI framework/library for menu, colors, progress bar (e.g., console with rich, kivy for GUI).
- Methods/APIs for Android system/security/Google Play updates from Python/Pydroid 3.
- Privileges required (e.g., root for system updates).
- Exact list of menu options.
- Ambiguities
-
- "The ball should consist" – likely a typo for "The menu".
- Vague on exact update types ("etc.").
- No details on how to programmatically check or install updates (e.g., APIs, commands).
- "Colors... that maybe even have to do with the different kinds of updates" is subjective.
QUALITY
- OVERALL
- 0.50
- CLARITY
- 0.65
- SPECIFICITY
- 0.60
- REUSABILITY
- 0.10
- COMPLETENESS
- 0.55
IMPROVEMENT SUGGESTIONS
- Fix typos (e.g., 'ball' to 'menu') and improve grammar for better readability.
- Specify UI library: 'Use rich library for console-based colored menu and progress bars.'
- Define exact update categories: e.g., ['System', 'Security', 'Google Play', 'Apps'].
- Add note on limitations: 'Simulate checks if direct access unavailable; use subprocess for adb-like commands.'
- Provide example menu structure or output format.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR GENERAL USER
- Website Recreation Step-by-Step Guidegeneral usercoding
- Production-Ready Website ZIP Generatorgeneral usercoding
- Movie Website with Navigation and Selectorsgeneral usercoding
- Advanced Minecraft Hack Client Creatorgeneral usercoding
- Podcast Episode Architecture Designergeneral usercreative
- Pre-Interview Company Role Intelligence Dossiergeneral userresearch
- Excel Formula Generator with Explanationsgeneral useroperations
- Household Maintenance Safety Assistantgeneral userpersonal_assistant
- McKinsey-Style Stock Analysis Report Generatorgeneral userfinance
- Mr. Data Home Network Engineergeneral userplanning