UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01.

Slides:



Advertisements
Similar presentations
MIDP Mobile Information Device Profile Johnny Yau CIS 642 Prof. Insup Lee.
Advertisements

Content Interaction and Formatting, Tayeb LEMLOUMA & Nabil Layaïda. November Tayeb Lemlouma & Nabil Layaïda Presented by Sébastien Laborie November.
It provides a framework for embedded multimedia facilities in java enabled mobile devices.
Android architecture overview
Introduction to Android Mohammad A. Gowayyed CS334-Spring 2014.
Multimedia Network Communications Subject:T0934 / Multimedia Programming Foundation Session:13 Tahun:2009 Versi:1/0.
Dirk van Schalkwyk Supervisor: Prof Greg Foster Co-Supervisor: Mrs Madeleine Wright Project Title: A Comparative Study of JME and Flash Lite for Mobile.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 10 Java for MIDs Rob Pooley
Integration of Hand-Held Devices into Collaboration Environments IC’02 Las Vegas, NV June June Geoffrey Fox, Sung-Hoon Ko, Kangseok Kim,
J2ME Web Services Specification.  With the promise to ease interoperability and allow for large scale software collaboration over the Internet by offering.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
© 2009 Research In Motion Limited Methods of application development for mobile devices.
J2ME Prepared by: - Gaery- Ronny - Alan- Andy. Why Technology for Mobile Devices? The nature of wireless devices is changing Old devices: All the software.
© 2009 Research In Motion Limited Data structures and memory management on mobile devices.
PDA Programming Using J2ME Presenter :涂俊凱 Date : 2003/4/8.
Mobile Application Development
V0.01 © 2009 Research In Motion Limited Understanding Java APIs for Mobile Devices Trainer name Date.
Developing J2ME Applications Mobile and Wireless Networks.
Cosc 4730 Phone Programming in Java An Introduction.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
Android An open handset alliance project Janice Garcia September 18, 2008 MIS 304.
Mobile Operating Systems
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
Mobile Application Development using Android
Databases for Mobile Devices Introduction. Overview Different types of data storages Memory management Local database techniques.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Small Devices on DBGlobe System George Samaras Chara Skouteli.
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)
Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date:
J2ME Presented by May Sayed & Menna Hawash. Outline Introduction “Java Technology” Introduction “What is J2ME?” J2ME Architecture J2ME Core Concepts 
Java 2 Micro Edition (J2ME) and the world of java
ANDROID 응용 프로그래밍 과정 – 목차 - 안드로이드란 - 안드로이드가 만들어지게 된배경 - 안드로이드의 철학 - 안드로이드 환경설정 ( SDK download, eclipse plug-in 설정, 간단한 프로그램 실행 ) - 안드로이드 동작원리 - 안드로이드 핵심.
PROG Mobile Java Application Development PROG Mobile Java Application Development BlackBerry App Lifecycle Java ME API.
1Basics of J2ME. 2 Objectives –Understand the different java API’s and how the mobile edition API’s fit in –Understand what a mobile configuration and.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Other Popular Java Technologies Internationalization in Java Graphics Programming in Java Security Programming in Java Collections and Data Structures.
Created By. Jainik B Patel Prashant A Goswami Gujarat Vidyapith Computer Department Ahmedabad.
CLDC
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Java – in context Main Features From Sun Microsystems ‘White Paper’
Ubiquitous Access for Collaborative Information System Using SVG July Sangmi Lee, Geoffrey Fox, Sunghoon Ko, Minjun Wang, Xiaohong Qui
Mobile Programming Mobile Programming - Ordibehesht Ordibehesht 1390.
1 Android Workshop Platform Overview. 2 What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware.
By Adam Reimel. Outline Introduction Platform Architecture Future Conclusion.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
Enhanced mobile services in Java enabled phones Björn Hjelt Sonera zed ltd Supervisor: Professor Jorma Jormakka.
1 Survey of Profiles from Other Domains XMSF Profile SG 13 January 2004 Curt Blais and NPS MV3250 (Introduction to XML, 1st Quarter 2005) Katherine L.
Android Training in Chandigarh. What is Android Android is a mobile operating system based on the Linux Kernel. The goal of android project is to create.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
Advance Computer Programming Market for Java ME The Java ME Platform – Java 2 Micro Edition (J2ME) combines a resource- constrained JVM and a set of Java.
Visual Mobile Applications with Netbeans 6.0 Your Name Sun Campus Ambassador Your Address.
Mary Ganesan and Lora Strother Campus Tours Using a Mobile Device.
1 Mobile Operating Systems BY:- Aashish Uppal CSE-1/7 th Sem (63/ )
The Java Platform Micro Edition Java ME
Computer System Structures
Applications Active Web Documents Active Web Documents.
Android Mobile Application Development
Visit for more Learning Resources
The Client-Server Model
Part II Software When developing software there are several particularities to be aware of: Java is widespread used because of the platform independence.
Architecture of Android
MOBILE DEVICE OPERATING SYSTEM
Wireless Instant Messaging Using J2ME
Introduction Enosis Learning.
CMPE419 Mobile Application Development
Introduction Enosis Learning.
Android Introduction Platform Mihail L. Sichitiu.
CMPE419 Mobile Application Development
Presentation transcript:

UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01

Understanding Java APIs for mobile devices Objectives What are Java APIs? List and describe the various APIs Explain the features of the various APIs 2

What are Java APIs? Java APIs An API is an exposed area of interaction between a library of services and the program that consumes those services. An API usually defines the following items: Code vocabulary Naming conventions Function and subroutine syntax Public and private objects Data structures 3

What are Java APIs? Java APIs APIs can be language dependent or language agnostic. Language dependent APIs provide APIs that serve as frameworks to expand the abilities and services of a particular programming language. Language agnostic APIs define services that can be made available to programming languages. The Java APIs used for application development for the BlackBerry® smartphone are language dependent APIs. They provide frameworks built in the Java language for use by other Java-based applications. 4

What are Java APIs? Java ME The main development platform for the BlackBerry is Java® ME. Java ME is an industry standard set of Java APIs that defines services for various embedded and mobile devices. Applications developed using Java ME run in the BlackBerry® Java® Virtual Machine; a custom version of the main Java Virtual Machine optimized for the BlackBerry environment. As with other implementations of the JVM, the BlackBerry® Java® Virtual Machine provides all application runtime services and performs such functions as memory allocations, security checks, and garbage collection. 5

What are Java APIs? Java ME The MIDP v2.0 standard is part of Java ME and is fully supported by most BlackBerry smartphones as defined in JSR 118 The MIDP v2.0 standard provides a core set of Java APIs a BlackBerry smartphone supports regardless of the underlying operating system. You can develop applications in Java ME according to the MIDP v2.0 standard once and run them on a device that is MIDP v2.0 compliant. BlackBerry smartphones running Software version 4.0 or earlier are not MIDP v2.0 compliant. These devices are MIDP 1.0 compliant. MIDP Mobile Information Device Profile JSR Java Specification Request 6

What are Java APIs? Supported Java APIs The BlackBerry smartphone supports the MIDP standard and the approximately 85 different APIs that are part of the standard. This core set of functionality provides the majority of the APIs required for the BlackBerry smartphone. In addition to this core functionality, BlackBerry development also supports the following APIs as defined in the noted JSRs. 7

What are Java APIs? Supported Java APIs JSR 30CLDC version 1.0 The CLDC defines the base APIs and virtual machine for devices such as mobile phones, pagers, and personal digital assistants. The CLDC, coupled with the MIDP, provides the Java services available for application development. CLDC version 1.0 is an earlier version supported by older devices. CDLC version 1.0 is supported by devices running BlackBerry® Device Software Version 4.0 or earlier. CLDC Connected Limited Device Configuration 8

What are Java APIs? Supported Java APIs JSR 37MIDP version 1.0 The MIDP, coupled with the CLDC, provides the core set of Java APIs a BlackBerry smartphone supports regardless of the underlying operating system. MIDP version 1.0 is an earlier version supported by older devices. MIDP version 1.0 is supported by devices running BlackBerry Device Software version 4.0 or earlier. 9

What are Java APIs? Supported Java APIs JSR 75PDA Optional Packages The PDA Optional Packages API provides services for accessing PIM data and file systems. This API is only available for devices running BlackBerry Device Software version 4.2 or later. JSR 82Java APIs for Bluetooth® The Java APIs for Bluetooth provides services for the use of Bluetooth devices with Java applications. These services allow applications to integrate with Bluetooth devices, such as headsets, and make use of their functionality. PIM Personal Information Management 10

What are Java APIs? Supported Java APIs JSR 120 WMA version 1.1 The Wireless Messaging API version 1.1 defines a set of standardized services for wireless communication resources designed to run on Java ME configurations. JSR 135 MM API version 1.1 The MM API defines services that allow easy access and control of basic audio and multimedia resources. It also addresses scalability and support of more sophisticated features. 11

What are Java APIs? Supported Java APIs JSR 139 CLDC version 1.1 The CLDC defines the base APIs and virtual machine for devices such as mobile phones, pagers, and PDAs. The CLDC, coupled with the MIDP, provides the Java services available for application development. This API is an update to CLDC version 1.0 specified in JSR

What are Java APIs? Supported Java APIs JSR 172 Java Platform, ME Web Services The Java Platform, ME Web Services API defines services for accessing web services using Java ME. JSR 177 SATSA for Java Platform, ME The SATSA defines services for security and trust services. JSR 179 Location API for Java ME The Location API defines services for building location-based applications. 13

What are Java APIs? Supported Java APIs JSR 185 JTWI The JTWI API defines an overall architectural description to coordinate JCP efforts with the wireless industry. JSR 205 WMA version 2.0 The WMA version 2.0 extends the WMA version 1.1 and defines additional services. JTWI Java Technology for the Wireless Industry 14

What are Java APIs? Supported Java APIs JSR 211Content Handler API The Content Handler API defines services to handle multimedia and web content so developers can create a seamless and integrated user environment on mobile phones and wireless devices. JSR 226Scalable 2D Vector Graphics API for Java ME The Scalable 2D Vector Graphics API defines services for rendering scalable 2D vector graphics, like the W3C® SVG format. JSR 238Mobile Internationalization API The Mobile Internationalization API defines services for providing culturally correct data formatting, text sorting, and resource processing. 15

What are Java APIs? Supported API extensions In addition to the standard Java APIs supported in the BlackBerry® Java® development environment, a number of API extensions are also supported. These extensions are APIs that are not part of the standard JSR definitions. They provide greater features and functionality over what is available in the standard MIDP version 2.0 APIs. 16

What are Java APIs? Supported API extensions User Interface Used to create all components of the graphical user interface Persistent Data Storage Used to store persistent custom data within an application Networking and I/O Used to establish network connections and read or write data to server-side applications 17

What are Java APIs? Supported API extensions Event Listeners Used to respond to user-initiated or system-initiated events on a BlackBerry smartphone Application Integration used to integrate custom applications with existing BlackBerry message, phone, calendar, contacts, browser, camera, media player, and task list applications Additional Utilities used for data encryption and compression, XML parsing, Bluetooth connectivity, and location-based services 18

Summary An API is an exposed area of interaction between a library of services and the program that consumes those services. An API usually defines the following items: code vocabulary naming conventions function and subroutine syntax public and private objects data structures 19

Summary APIs can be either language dependent or language agnostic. Language dependent APIs provide APIs that serve as frameworks to expand the abilities and services of a particular programming language. Language agnostic APIs define services that can be made available to programming languages. The Java APIs used for application development for the BlackBerry smartphone are language dependent APIs. They provide frameworks built in the Java language for use by other Java-based applications. The main development platform for the BlackBerry is Java® ME. Java ME is an industry standard set of Java APIs that defines services for various embedded and mobile devices. 20

Summary The BlackBerry smartphone supports the MIDP standard and the approximately 85 different APIs that are part of the standard. This core set of functionality provides the majority of the APIs required for the BlackBerry device. In addition to this core functionality, BlackBerry development also supports many other APIs. In addition to the standard Java APIs supported in the BlackBerry development environment, a number of API extensions are also supported. These extensions are APIs that are not part of the standard JSR definitions. They provide greater features and functionality over what is available in the standard MIDP version 2.0 APIs. 21