CUSTOMER AREA
Login: Password:
General Information
Services
Bluelemon Scenarios
Download Lemonade
Lemonade Tutorial
Lemonade Distilled
How to build a service
1. Hello World!
2. moAccount
3. moBank
4. moBank: PIN
5. moBank: Blue SMS
moBank enhanced
HELLO WORLD!

You can run this example on your mobile phone by visiting the WAP site lemonade.e-marson.com and choosing 'Hello World!'.

SCENARIO

Let's start with the obligatory example of all tutorials. We want to deliver a MIDlet that displays a screen that says "Hello World!" and has one action called "Exit" which closes the application.

INSTRUCTIONS AND LINKS DIAGRAM

We need two Bluelemon instruction.
The first displays a screen with the "Hello World!" message.
The other is activated by the user. When he or she presses the button labelled "Exit", the application closes.

NODES DIAGRAM

We will use wrapping: we will place a whole instruction inside the other.

DEPLOYMENT STRATEGY

We need one installer. We wrap it in a MIDlet.

The user downloads the MIDlet onto the mobile phone and the installer is executed when the MIDlet is first run. The installer writes the instruction A to the node STARTUP_INSTRUCTION at "permanent" location and then executes that node.

Installer:

URL mapping:

SOURCE CODES

Take a look at all the s'N's processes for this example >>>

Copyright 2008 E-MARSON Home   JavaPeople   JP Projects   About E-MARSON    Careers   Contact         Wersja polska