<?xml version="1.0" encoding="UTF-8"?>
<process xmlns:blue="http://www.e-marson.com/bluelemon">
<descriptor>
<name>com/emarson/lemonade/examples/helloWorld/HelloWorldScreen</name>
<version>1.0</version>
<description>
This is the sticks'N'stones process.
It generates a Bluelemon instruction which shows
the "Hello World!" screen.
The instruction generated by this process is just
a series of bytes. It must be processed in the
Bluelemon Runtime Environment in the MIDlet to
actually do the operations which are coded here.
</description>
<vendor>E-MARSON</vendor>
</descriptor>
<path>
<subprocess name="action for 'Exit'">
<source>com/emarson/lemonade/templates/ExitFromApplication</source>
<resultTo>actionForExit</resultTo>
</subprocess>
<action name="show screen with 'Hello World' text">
<type>general/bluelemon/code</type>
<definition resultTo="helloWorldScreen">
<blue:newInstance module="com/emarson/lemonade/bluelemon/midp1/Form"
toVariable="form"/>
<blue:call object="form" method="initialize">
<blue:argument type="String" value="Hello"/>
</blue:call>
<blue:call object="form" method="appendString">
<blue:argument type="String" value="Hello World!"/>
</blue:call>
<blue:call manager="UtilsManager" method="getActionCommand"
toVariable="command">
<blue:argument type="String" value="Exit"/>
<blue:argument type="byte" value="ActionCommand.EXIT"/>
<blue:argument type="byte" value="0"/>
<blue:argument type="byteArr" contextKey="actionForExit"/>
</blue:call>
<blue:call object="form" method="addCommand">
<blue:argument type="variable" name="command"/>
</blue:call>
<blue:call manager="GeneralManager" method="setCurrent">
<blue:argument type="variable" name="form"/>
</blue:call>
</definition>
</action>
<finish name="done">
<return>helloWorldScreen</return>
</finish>
</path>
</process>