No description
- Java 89.5%
- Shell 6%
- Python 4.5%
MIDP 2.0 / CLDC 1.0 Java ME app with seven-segment display, configurable focus/break lengths, vibrate/backlight/tone alerts, RMS persistence and a PushRegistry wake-up alarm. build.sh produces preverified Pomodoro.jar/.jad. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| res | ||
| src | ||
| tools | ||
| .gitignore | ||
| build.sh | ||
| README.md | ||
Pomodoro for the Motorola RAZR V3
A Java ME (MIDP 2.0 / CLDC 1.0) pomodoro timer sized for the RAZR V3's 176×220 screen.
- 25 / 5 / 15 minute focus, short break and long break, with a long break every 4 pomodoros (all configurable)
- Large seven-segment digits, a progress bar, cycle dots and a count for today
- At the end of each phase it vibrates, flashes the backlight and the screen, and beeps
- Settings and timer state are saved, so the countdown keeps going through calls, a closed flip or exiting the app. On exit it also asks the phone to relaunch the app when the phase ends (if the phone allows it).
Controls
| Key | Action |
|---|---|
| OK (centre) / 5 | Start / pause (also starts the next phase after the alarm) |
| # | Skip to the next phase |
| * | Reset the current phase |
| Soft keys | Start/Pause, Skip, Reset, Settings, Exit |
Build
./build.sh
You need java (8 or newer), jar and curl. The first run downloads the Eclipse compiler and the MIDP/CLDC API stubs into lib/. The output is dist/Pomodoro.jar and dist/Pomodoro.jad. The compiler emits Java 1.1 class files that are already preverified, so no Sun WTK preverify step is needed.
Install on the phone
Stock RAZR V3 firmware blocks loading Java apps over USB, so pick one of these:
- USB with MIDway (Windows): enable the Java app loader on the phone (usually via a P2K seem edit), then send
Pomodoro.jadandPomodoro.jarwith Motorola MIDway. - Over the air: put both files on a web server that serves
.jadastext/vnd.sun.j2me.app-descriptorand.jarasapplication/java-archive. Then open the.jadURL in the phone's browser. This needs working 2G data, which many carriers no longer provide.
The app is unsigned, so the phone may ask permission the first time it uses the auto-relaunch alarm.