A presentation held at the JavaZone conference in Oslo, 2008 describing the iLabs Mobile Toolbox, a library for making Java ME applications without intolerable pain.
1. iLabs mobile toolbox: Java ME applications without intolerable pain. Content is available under Creative Commons, Attribution 3.0 license Describes version 0.53b of the toolkit
2.
3. Speakers Bjørn Remseth. Cand. Scient. Research scientist at Telenor Research & Innovation. Bjørn has more than twenty years of experience as a sysadmin, developer, systems architect and research scientist. Stian Børresen MSc. Ten years experience in 3D graphics, web, mobile and rich client development. He is currently working as a consultant specializing in mobile application development using java. Else Nordhagen. Dr. Scient. Research Scientist at Telenor Research & Innovation. More than thirty years of experience with object oriented design and implementation, 3D graphics, theoretical computer science and GUI design (from Smalltalk in the late seventies, to JME today).
23. What the HTML renderer sees < form action =“" id ="cameraform" method ="post" enctype ="multipart/form-data"> < object name ="image_file" classid = "clsid:1b9982cf-4be8-42dd-9599-d0f6786d128d" width ="60" height ="80"> </ object > < input type ="submit" name ="update" value ="Update"/> </ form > What you see Live camera view
37. Two servers and one client: The Twitter Server Widger/Twitter adapter (in example demo running on an iLabs server) Widger running the Twitter Widlet
38. Widget Twitter dry run: Server side login and formatting using forms and simple html. In this case all pages are created on our server, not twitter s . Saves bytes and fixes problems with phone heterogeneity and weaknesses.
47. twitterlogin.html (Plain old HTML, no surprises): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Twitter</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> </head> <body> <p><img src="twitter.png"/></p> <form action="http://demo.ilabs.no/test/widgets/twitter/twitter.php" id="signinform" method="post"> <p><b>Username:</b><br> <input name="username" type="text" title="Enter username" value="" /> </p> <p> <b>Password:</b><br> <input type='password' name="pwd" title="Enter password" value="" /> </p> <p> <input type="submit" name="signin" value="signin" /> </p> <p><center><img src="/widger/img/twitterbird.png"/></center></p> <p>Twitter is a service for friends, family, and co-workers to communicate and stay connected through the exchange of quick, frequent answers to one simple question: What are you doing?</p> </form> </body> </html> Nothing exiting happening here please move on
48. twitterME user interface (Plain old HTML, one small surprise): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> … <textarea name="status"></textarea> <!-- <INPUT TYPE="file" name="image_file" id="image_file"/> --> <object name="image_file" classid="clsid:1b9982cf-4be8-42dd-9599-d0f6786d128d" width="60" height="80"> </object> <input type="submit" name="update" value="Update"/> </form> <hr> </p> <h3>Showing the latest private posts</h3><hr> <p><img src="http://s3.amazonaws.com/twitter_production/profile_images/55933057/cnn.twitter_normal.gif"/><b>cnnbrk : </b><br>Embattled … Camera input
49. Widget Twitter dry run: Server side login and formatting using forms and simple html. In this case all pages are created on our server, not twitter s . Saves bytes and fixes problems with phone heterogeneity and weaknesses.
57. Example XML for a browser: <wid let > <view name="ONM08" type=" appview "> <titlebar title="ONM 08" bordercolor="#FF9900" bgcolor="#444444" textcolor="#ffffff"/> <view type=" web " name="web1" url="http:// ... .html"></view> <action type=" openurl " l abel="Home” url="http:// ... .html" control="web1"/> <action type=" useropenurl " label="Open url" control="web1"/> <action type=" backurl " label="Back" control="web1"/> <action type=" exit " label="Exit"/> </view> </wid let >
Editor's Notes
Welcome folks. This presentation will describe a toolkit built on top of the JME software platform for mobile phones. There are several hundre million mobile phones out there with JME software installed, and we would really like more of them to more useful things than playing the same old little games. We would like to see rich applications connecting people doing all the weird things that web pages do today. If powerpoint had been able to include web content, this is the code we would have used to link to our license: <a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by/3.0/no/&quot;><img alt=&quot;Creative Commons License&quot; style=&quot;border-width:0&quot; src=&quot;http://i.creativecommons.org/l/by/3.0/no/88x31.png&quot; /></a><br /><span xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; property=&quot;dc:title&quot;>iLabs mobile toolbox: JME applications without intolerable pain.</span> by <a xmlns:cc=&quot;http://creativecommons.org/ns#&quot; href=&quot;http://www.ilabs.no/&quot; property=&quot;cc:attributionName&quot; rel=&quot;cc:attributionURL&quot;>Bj&#248;rn Remseth, Else Nordhagen, Stian B&#248;rresen</a> is licensed under a <a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by/3.0/no/&quot;>Creative Commons Attribution 3.0 Norway License</a>.