Download presentation
Presentation is loading. Please wait.
Published byPoppy Henry Modified over 9 years ago
1
Java for Mobile Phones Alexandr Koloskov Lead Developer Reaxion, Corp. Copyright 2001 © Reaxion, Corp.
2
Topics map Java programming for mobile phones Usage of XML technologies in mobile phones.
3
Is mobile phone a good platform to develop for? They are wide-spread They are easy to use They are always-on But, how they interact with PDAs? And, sure, they are not so powerful…
4
Typical software for mobile phone. Let’s imagine… Digital wallet MP3 player Electronic map (with GPS support) Contact List (shameless plug) Instant messaging PIM Games
5
New generation of mobile phone They have GRPS connection Power CPU and lot of memory Color display Executing applications (even in Java)
6
Models Motorola i85s and i50s Siemens SL45i Motorola Accompli (with touch screen support) Nokia Communicator 9210 and 9290
7
Motorola i85s – the pioneer. Pros and Cons + OTA (Over The Air downloading) + Already on the market - Tiny memory - No valuable extensions like TAPI - Ugly design (personal opinion) - Silly 16-character limit on class names - Ugly uploading scheme But this is only beginning…
8
What’s wrong with MIDP Poor UI toolkit No TAPI support One MIDlet at time Can’t run external application, so cooperativity is out of issue. No floating point support
9
Future Despite of problems, future is bright… Right now, mobile phone is good as terminal client to various web-services. This is a topic of next chapter.
10
Usage of XML technologies in mobile phones. Phone is useful for little applications or as mobile terminal Terminal doesn’t need to be powerful
11
C-S Communications Call methods from server Exchange data User Interface
12
WAP – simple, many sites supports it, but slow, static and limited HTML- too heavy, but has widest auditory, so Links style browsers are useful Proprietary – custom format (like Mozilla’s XUL)
13
Remote Method Invocation HTTP is most widely enabled transport SOAP – Simple Object Access Protocol XML-RPC – Alternative variant Proprietary – maybe efficient, but hart to integrate with existing solutions.
14
Exchange Data SyncML – absolute winner. Recommended to mobile phone vendors by GSM Consortium. No available open-source Java implementations.
15
XML Parsing for J2ME kXML – most feature-rich, supports namespaces, mixed content, PCDATA, comments, written especially for J2ME, backed by Lutris, Corp. There some extensions like kDOM, kSOAP, WAP parser. nanoXML – very small (6 Kb), doesn’t support mixed content tinyXML – quite small (16+ Kb)
16
How to put it all together? Sample client architecture: Transport (HTTP connector) Codec (Compressor/Decompressor) SOAP stack SyncML stack Browser (supporting at least WAP) Local storage
17
Shameless plug Tequila project is what we doing here in Reaxion. It uses described architecture, but also contains some know-how allowing to inexperienced users to obtain all features of Internet.
18
Scheme of our client UI toolkit XML parser Local storage HTTP connector Data codec SOAP connector SyncML synchronizer Contact ListBrowser
19
Contacts. Alexandr Koloskov alexk@reaxion.com www.reaxion.com This presentation is available through www.reaxion.com/members/xenocid/presentations/spbjug_j2me.ppt www.reaxion.com/members/xenocid/presentations/spbjug_j2me.ppt
20
Thanks for patience!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.