170 likes | 282 Vues
This document delves into the comparison between MIDP (Mobile Information Device Profile) and KittyHawk, a platform designed for Java applications on mobile devices. It explores key features of each, including the APIs available for user interface design, persistent storage, and network communication. MIDP is focused on mobile information devices, while KittyHawk brings additional capabilities and supports various input methods, including Korean. The document also covers the implications for developers regarding image formats and storage options like RMS, alongside a discussion on current development statuses and planned improvements.
E N D
MIDP vs. KittyHawk 2001. 5. 4 Veloxsoft
CLDC, KVM, MIDP • CLDC • Java platform (configuration) for small, connected devices • KVM • A small footprint Java™ virtual machine intended for heavily resource-constrained devices • MIDP • Set of APIs (profile) required to develop applications for mobile information devices (MIDs)
Platforms KittyHawk (ez-Java) DoCoMo Java (iAppli) LGTP Nextel w/ Motorola Most New- comers MIDP CLDC
MIDP API overview (1) • MIDlet • Represents a MID profile application • Superclass of all applets • UI • Provides features for implementation of user interfaces • Screen-based • Two-layer
MIDP API overview (2) • RMS • Provides a mechanism to persistently store and retrieve data • Simple record-oriented database • Network • Defines necessary methods and constants for an HTTP connection • Timer • Provides a facility to schedule tasks for future execution
UI class diagram 1:0~n Displayable Command ChoiceGroup 1:0~1 Ticker Canvas Screen Gauge List DateField 1:0~n Graphics Form Item ImageItem AlertType Alert StringItem Font TextBox TextField Image
UI high level APIs (1) • Alert • Each type of alert can be related with sound • Each alert can show an image
UI high level APIs (2) • TextBox • scrollable • various input mode • e.g. Korean, English, Symbol and etc
UI high level APIs (3) • List • Support various selection mode
UI high level APIs (4) • Form (1) ChoiceGroup Item Gauge Item ImageItem
UI high level APIs (5) • Form (2) TextField Item StringItem DateField Item
UI high level APIs (6) • Form (3) • can contain any kind of Item objects • scrollable
RMS • In examples • Stock :Store information of stocks, alerts and settings Suite(jar) A Suite B Suite C RecordStore A Record Store Record Store RecordStore B Record Store Record Store
MIDP vs. KittyHawk • Persistent storage • RMS vs. scratch pad (IBook class) • Supported image format • Png vs. gif • Partial Support of http • KH 1.1에서 지원되기 시작하는 것들 • 한글 지원 • MIDI 지원
Current status • Already done • Ports MIDP on a real phone • Implements input method for Korean • Will be done • UI improvement • Finalizes LGT-specific APIs • bug fixes
토의 • Any question…