Java ME - Introduction
Upcoming SlideShare
Loading in...5
×
 

Java ME - Introduction

on

  • 2,726 views

Brief overview of why Java ME is important, the basic terms you need to know about and what tools are here to help you. Also contains several links to find more information.

Brief overview of why Java ME is important, the basic terms you need to know about and what tools are here to help you. Also contains several links to find more information.

Statistics

Views

Total Views
2,726
Views on SlideShare
2,725
Embed Views
1

Actions

Likes
2
Downloads
118
Comments
0

1 Embed 1

http://localhost 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Java ME - Introduction Java ME - Introduction Presentation Transcript

  • Java ME – Introduction Andreas Jakl Senior Technical Consultant Forum Nokia 18 June, 2010 V2.0.1
  • 18.06.2010 © 2010 Nokia 2 Phones vs. Smartphones • What’s the difference? – No industry standard definition – Has advanced features (email, music, Wifi, etc.)? – OS that allows 3rd party development? – Miniature computer with phone capability? • Where to draw the line?
  • 18.06.2010 © 2010 Nokia 3 Smartphone OS Shipments 80 Millions 70 60 50 40 30 2009 20 2008 10 0 Data: Canalys Source: http://www.canalys.com/pr/2010/r2010021.html
  • 18.06.2010 © 2010 Nokia 4 Worldwide Sales 2009 Smartphones (14.3%) Phones (85.7%) Source: Gartner, http://techcrunch.com/2010/02/23/smartphone-iphone-sales-2009-gartner/
  • 18.06.2010 © 2010 Nokia 5 Developing Countries • Massive uptake of mobile phones – Only way to access internet NFC for pension payment in India – Enormously successful new services 6000 5300 5000 4000 3000 2293 2000 1000 305 11 0 Hospital Beds Computers Mobile Population Phones http://www.unfoundation.org/global-issues/technology/mobile-health-for-development.html
  • 18.06.2010 © 2010 Nokia 6 Java? • In numbers: – > 6 Billion Java-enabled devices – 2.6 Billion Java-enabled phones (8 out of 10 shipped in 2008) – 3.5 Billion Java Cards – 20 Million Java set-top boxes – 800 Million Java desktops – 180 Operators deploying Java content – 6 Million developers
  • 18.06.2010 © 2010 Nokia 7 MSA … Mobile Service Architecture (JSRs 248 and 249) Editions JTWI … Java Technology for the Wireless Industry, JSR 185 MIDP … Mobile Information Device Profile CDC … Connected Device Configuration CLDC … Connected Limited Device Configuration Servers & Servers & High-end Mobile phones & Smart enterprise personal PDAs, TV set-top entry-level PDAs cards computers computers boxes, embedde d devices Optional Packages Optional Packages Optional Packages Personal Profile Optional Packages Java 2 Personal Platform, E Java 2 Basis MSA nterprise Platform, St Profile Edition andard JTWI (J2EE) Edition Foundation MIDP (J2SE) Profile CDC CLDC Java Card Java Platform, Micro Edition (Java ME)
  • 18.06.2010 © 2010 Nokia 8 Java SE vs. Java ME • Java ME is mainly a subset of J2SE – But different UI- and event handling functionality – Less utility classes (only Vector and Hashtable, no LinkedLists, …) • Code runs on both platforms? – general algorithms: yes – But the whole application needs porting
  • 18.06.2010 © 2010 Nokia 9 Targets + RIM / Blackberry + SonyEricsson + Motorola
  • 18.06.2010 © 2010 Nokia 10 Basic Terms – Configuration • Defines Java platform for different device classes – CLDC • Limited UI Currently used in • Low computing power, most phones: CLDC 1.1 • Limited connectivity – CDC • High bandwidth network connection • larger memory requirements
  • 18.06.2010 © 2010 Nokia 11 Basic Terms – Profile • Extension and more detailed specification for a configuration – Contains APIs for UI, event handling, data storage, networks, timers, … – Minimum requirements for devices (screen size, input possibilities, ...) • For mobile phones: – Mobile Information Device Profile (MIDP) – Currently used: MIDP 2.1
  • 18.06.2010 © 2010 Nokia 12 Tornado Mania! 3D Basic Terms – JSR (Digital Chocolate) • Java Specification Request (JSR) RealReplay – Describe specifications and technologies (Mopius) – Mobile space: APIs, standards • Examples: – JSR 82: Bluetooth APIs – JSR 179: Location API – JSR 184: Mobile 3D API – JSR 226: Scalable 2D Vector Graphics API
  • 18.06.2010 © 2010 Nokia 13 What JSRs could be required? • A mapping application could require: – JSR 226 (Vector Graphics) • Map visualization – JSR 179 (Location) • Where am I? – JSR 172 (Web Services) • Requesting data RealReplay – JSR 75 (File and PIM) http://realreplay.mopius.com/ • Map an address
  • 18.06.2010 © 2010 Nokia 14 What does my phone support? http://www.forum.nokia.com/devices/
  • 18.06.2010 © 2010 Nokia 15 Development – NetBeans IDE • Fully integrated solution – Integrates all aspects of mobile development – Visual UI Designer – Game Builder – Localization, Preprocessing – Web access – Automated deployment – Comes with generic emulator • Maintained by Oracle (Sun) – http://www.netbeans.org/ NetBeans (+ Java ME module)
  • 18.06.2010 © 2010 Nokia 16 Development – Eclipse IDE • Mobile Tools for Java (MTJ) – Targets Java ME development – Supports MIDlets – Adds project type and Java ME perspective to Eclipse – Templates for common projects (games, etc.) – Localization, Preprocessing – Creates .jad/.jar packages – Originally based on EclipseME plug-in • Pulsar – Combined tools set – includes Eclipse, MTJ and other tools – http://eclipse.org/pulsar/
  • 18.06.2010 © 2010 Nokia 17 SDKs • Device vendor specific SDKs – Simulate target more accurately – Support proprietary APIs – Include device skins • Generic SDK from Sun – Fine enough for initial development – http://java.sun.com/javame/downloads/sdk30.jsp
  • 18.06.2010 © 2010 Nokia 18 Deployment Process .jar/.jad-file (MIDlet Suite) Packaging Compile & Preverify Source code (.java)
  • 18.06.2010 © 2010 Nokia 20 Future of Java ME • Roadmap – Nokia makes its Java ME implementation open source • Contribution to Symbian Foundation – Next version: Java Runtime 2.1 (JRT) • Faster startup • Easier installation • Beta: https://betalabs.nokia.com/apps/java-runtime-for-Symbian – Future • Migration to Qt based UI ongoing • Hardware acceleration, haptics, etc. – http://blogs.forum.nokia.com/blog/java-runtime-for-s60-blog
  • 18.06.2010 © 2010 Nokia 21 More Information • Java Developer’s Library – http://library.forum.nokia.com • Mobile Hands-On Labs – http://www.forum.nokia.com/document/Mobile_Hands-on_Labs/ • Training courses – Slides for courses covering the basics, games, networking & messaging, multimedia and security – http://www.forum.nokia.com/Develop/Java/Documentation/ • Java ME course – http://www.symbianresources.com/tutorials/javame.php
  • Thank You. Want to learn more? www.forum.nokia.com/Develop/Java/