<?xml version="1.0" encoding="UTF-8"?>
<process xmlns:blue="http://www.e-marson.com/bluelemon">
<descriptor>
<name>com/emarson/lemonade/examples/mobank/NoUpdateIsRequired</name>
<version>1.0</version>
<description>
Displays an information alert saying no updates are necessary.
</description>
<vendor>E-MARSON</vendor>
</descriptor>
<arguments>
<argument key="updateNo" type="Integer"/>
</arguments>
<path>
<action name="no updates action">
<type>general/bluelemon/code</type>
<definition resultTo="result">
<blue:set node="com/emarson/lemonade/examples/mobank/UpdateNo"
location="permanent">
<blue:argument type="int" contextKey="updateNo"/>
</blue:set>
<blue:call node="com/emarson/lemonade/examples/mobank/MainScreen"
location="@com/emarson/lemonade/examples/mobank"/>
<blue:newInstance module="com/emarson/lemonade/bluelemon/midp1/Alert"
toVariable="alert"/>
<blue:call object="alert" method="initialize">
<blue:argument type="String" value="No updates"/>
<blue:argument type="String" value="The content in your phone is up to date"/>
<blue:argument type="byte" value="AlertType.INFO"/>
<blue:argument type="short" value="1500"/>
</blue:call>
<blue:call manager="GeneralManager" method="setCurrent">
<blue:argument type="variable" name="alert"/>
</blue:call>
</definition>
</action>
<finish name="done">
<return>result</return>
</finish>
</path>
</process>