Skip navigation

(Mobile Processing)

At November 2010 Mobile Processing is no longer supported, though the archive of the site is still online. Though we are now using iProcessing, written by our collaborator, Tom Hulbert of Luckybite, you can learn from the code snippets below.  They are written for old-fashioned phones that work with a joystick and soft-keys.

These code fragments have been prepared for the interaction design studio courses in the IUAV Visual and Multimedia Communication graduate programme by David Mellis, Vinay Ventrakamen and Nicholas Zambetti 2005-09.

IMPORTANT: To make the Mobile Processing examples appear in your sketchbook, put the folders of the examples in your Mobile Processing sketch folder and restart Mobile Processing.

Building a structured application (December 2009)
A series of Mobile Processing sketches, from simple to complex, that show how to build a structured application using variables for each screen and a variable for the current screen (mode). (Updated from 2007 version)

Mobile Processing Examples From Previous Labs
Camera: how to access and store images from your mobile phone camera.
Image Pan: basic code to display and image and pan it using the navigation keys.
Modes: How to create modes for various states in your application.
Slideshow: How to load multiple images and display them in a sequence.
Text input: How to input text using the phone’s native input system (i.e abc,T9 etc).

Mobile Processing Example: Animation
A few examples of different methods of animating your graphics in Mobile Processing. Methods included: Dynamic Animation (both linear and eased), Sprite Animation (both by using separate images and by using a single sprite sheet)

Mobile Processing Example: SoftKeys
How to use both softkeys in your fullscreen Mobile Processing sketch. In non-fullscreen sketches, only the left softkey can be used (the right is used for ‘exit’). This example demonstrates how to use both softkeys, but requires that your sketch runs fullscreen.

Mobile Processing Example: Supported Sounds
A scrollable list of sound file types that your phone supports. Names of sound types are output as MIME types (e.g. audio/midi, audio/mp3, audio/aac, etc.)

Mobile Processing Example: MIDI Sound Test
An example of how to load, play, and stop MIDI sounds. This should also work for other sounds that your phone supports, but MIDI is the most lightweight.

Mobile Processing Example: Resolution Info and Vibration & Sound Tests
This is an example of an application that displays your phone’s screen resolution and draws a box in the lower right corner to confirm the reported screen size is correct. It also includes keypad actions for testing vibration and sound synthesis.

Mobile Processing Example: Simple SMS Application
This is an example of an application with interface graphics that sends an SMS message and allows input of arbitrary text using the phone’s native text input functionality.

Mobile Processing Example: Simple Bluetooth
This is an example of an application that scans for nearby devices and provides feedback to the user whenever a nearby device is found.

Mobile Processing Example: Animation Dynamic 2
Expanded example from previous dynamic animation example. Now includes easeIn function to simulate simple bouncing.