For a first time programming experience team like ours we are quite pleased with the result achieved. Some of the the planned features remained incomplete, but the basic structure of the program is fully functional.
During the development phase we have realized that many alternative paths should be taken to get everything work in the desired way, and that both - mobile processing environment and the mobile phone used have their own limitations.
The program was optimized for LG U8550 mobile phone, which has the screen resolution of 220 x 220 pixels and uses 16-bit (65,000) color palette.
Using the following link you can download the “final” version of our project:
HAIKU - source code and files [.zip - 776 KB]
All files from mobile processing sketch folder are inside, so feel free to explore and test it.
You can also read the code without Mobile Processing, just using HAIKU - PDF source code [.pdf - 707 KB]
_
For our code we take inspiration from Nicholas Zambetti code for ZoGame, and he help us to create the timer for the ‘receiving new haiku’ section. For the exact fragments you can look the PDF or the Mobile Processing code.
_
How to use the code
- On your mobile:
Download the .jar file and transfer it via Bluetooth to a java-enabled phone.
- On your computer (with Mobile Processing application):
Put the sketch folder in your Mobile Processing program folder (usually in Documents on the Mac). Open the file from within Mobile processing (or drag it onto the Mobile Processing application icon).
If you don’t have Mobile Processing on your computer you can download it on Mobile Processing download page.
_
How to use ‘Haiku’ software
When you start the program, the splash screen appears. After some seconds clouds show up and you receive a new haiku; when it is finished clouds fade in, and this is a loop that you can stop pressing any button.
When you press any button the menu screen comes out and with the direction buttons (arrows) you move from ’save’, to ‘read’, to ‘write’ (on this last menu you can also choose your favourite roll of parchment with “up” and “down” buttons).
To select or cancel your choice you can press the softkeys (the two buttons under the screen on right and left): the left one to cancel, the right one to confirm.
Other sections (e.g. ‘write’) is not yet implemented.
—–