almalence/opencamera — reverse-engineered prompt
Reverse engineered prompt
Build me a full Android camera app in Java. I want it to open straight into a camera preview, let the user take photos and record videos, switch between front and back cameras when the phone supports it, control common things like flash, zoom and focus, and save the results to the device so they can be viewed later. It should feel like a real camera app, not just a sample screen, with clear buttons, sensible defaults, permissions handled properly, and graceful messages if the device does not support something.
Please set up the project so it can be built and run on Android, using the existing assets and resources if this repo already has them. Keep the interface simple and usable on different phone sizes. If you need exact Android camera behavior or permission rules, look up the current docs online and implement it cleanly.
Want more depth? Deep Reverse