19
ez-java(tm) platform 2000. 10. 12 박 박 박 ([email protected]) 박박박박박 , LGTeleCom

ez-java(tm) platform

Embed Size (px)

DESCRIPTION

ez-java(tm) platform. 2000. 10. 12 박 준 영 ([email protected]) 단말기술팀 , LGTeleCom. Mission. 핸드폰에서 프로그래밍 환경 제공 Download, Install, Upgrade 기존 WAP 브라우저 기술의 제약을 탈피 WAP 브라우저와 연동 직관적인 그래픽 사용자 인터페이스 제공 다양한 어플리케이션 환경 제공 게임 , 개인정보 관리자 보완환경 강화 그리고 ... JAVA. ez-java 서비스 플랫폼. 자바 컨텐트 제공자. - PowerPoint PPT Presentation

Citation preview

Page 1: ez-java(tm) platform

ez-java(tm) platform

2000. 10. 12

박 준 영([email protected])

단말기술팀 , LGTeleCom

Page 2: ez-java(tm) platform

Mission

• 핸드폰에서 프로그래밍 환경 제공– Download, Install, Upgrade

• 기존 WAP 브라우저 기술의 제약을 탈피– WAP 브라우저와 연동– 직관적인 그래픽 사용자 인터페이스 제공

• 다양한 어플리케이션 환경 제공– 게임 , 개인정보 관리자– 보완환경 강화

• 그리고 ... JAVA

Page 3: ez-java(tm) platform

ez-java 서비스 플랫폼

Access Layer CDMA, SMSC… IWF

ez-i(tm) 서비스 플랫폼

Java & HDMLContent Server

Billing Proxy

JavaGame/Application Server

자바 컨텐트 제공자Java & HDMLContent Server

Java Game/AppicationServer

Up.Link

Page 4: ez-java(tm) platform

하드웨어 환경

• i-book 모델– Qualcomm MSM 3100– 4MB FlashMemory/512KB StaticRAM– 128x128 px, 2bit gray scale LCD– network speed : 64Kbps

Page 5: ez-java(tm) platform

소프트웨어 환경

• KVM code size : 230 KBytes• KVM heap space : 108 KBytes• Java Application Storage : 64 KBytes x 10• Java 2 Plaftform Micro Edition, CLDC profile• KittyHawk User Interface API• Font : 한글 10x12, 영문 5x12• HTTP 1.1 구현 : JAM 과 JAR 파일 다운로드

Page 6: ez-java(tm) platform

Java application 관리 흐름

ez-java Handset

WML page

Descriptorfile

JAR file

Icon file

Servlet/CGIscript

Help page

JAM

1. select WML link to Descriptor file

2. invoke ‘startJAM(descURL)’ from UP.Browser™

3. Download Descriptor file4. Download JAR file and Icon file

5. Save JAR file

KVM

6. Launch KVM with main class name

Flash

7. Load classes from JAR file

8. Post to Install-URL tag for complete download & billing process(optional)

HTTP server

UP.browser ™

Page 7: ez-java(tm) platform

Descriptor or JAM file

• Application-Name = JAM 메뉴에 뜨는 이름• Application-Version = 어플리케이션 버젼• Application-Creator = 개발자 혹은 회사• Main-Class = 메인 클래스의 이름• JAR-File-URL = 어플리케이션의 URL• JAM-File-URL = JAM 파일의 URL• JAR-File-Size = 어플리케이션 파일 크기• ScratchPad-Size = 저장을 위한 메모리 크기

Page 8: ez-java(tm) platform

Java application 관리

• Maximum number of applications : 10 개• ScratchPad size : 1KB• Application-Version : xxx.yyy.zzz

– [ 최신버젼 받기 ] 기능에서 현재의 버젼과 비교하여 업그레이드를 결정

Page 9: ez-java(tm) platform

JAM 파일 URL 규칙

• DEVICE extension 이용– 예 ) device:jam?url=http://210.219.29.230/java/jam/khalerttest.jam

• JAM 을 직접 구동 후 , HTTP 프로토콜을 이용하여 JAM 파일을 다운로드

Page 10: ez-java(tm) platform

HDML & JAM sample

- HDML sample<HDML VERSION=3.0 TTL=0 MARKABLE=TRUE PUBLIC=TRUE> <CHOICE> <CE TASK=go DEST="device:jam?url=http://210.219.29.230/java/jam/khalerttest.jam"> KHAlertTest <CE TASK=go DEST="device:jam?url=http://210.219.29.230/java/jam/giftest2.jam"> GifTest <CE TASK=go DEST="device:jam?url=http://210.219.29.230/java/jam/sm.jam"> SeoulMap </CHOICE></HDML>

- JAM sampleApplication-Name=TumbleDuke SampleApplication-Version=3.1Application-Creator=LG TelecomMain-Class=TumbleDukeJAR-File-URL=http://210.219.29.209/java/jar/tumbleduke.jarJAM-File-URL=http://210.219.29.209/java/jam/tumbleduke.jamJAR-File-Size=4327ScratchPad-Size=10

Page 11: ez-java(tm) platform

com.lgtelecom.hw.IBook

• void placeCall(String phoneNumber)• void playBeep(long tone, long duration)• void backLight(long duration)• void vibrator(long duration)• int getNID();• int getSID();• int getBASEID(); 위치정보• int getBASELAT();• int getBASELONG();

Page 12: ez-java(tm) platform

com.sun.kh

• Interface :– Listener, TimerClient

• Classes– Bitmask, Canvas, DataPresenter, Date, Display, Event, Font,

GeneralListener, GifImageDescriptor, GifReader, Graphics, Image, IO, KH, KHApp, List, Progress, Screen, Sequence, Test, TextBox, TextPair, Ticker, TimerService

Page 13: ez-java(tm) platform

GIF image handling

public static final byte gifdata[] = { ... };ByteArrayInputStream is = new ByteArrayInputStream(gifdata);GifReader reader = new GifReader();try {

if (reader.readHeader(is, null) == 0) {gif = reader.readImage();

} } catch (Exception e) {

...}...g.drawImage(0, 0, 0, gif.image, g.TRANSPARENT);

Page 14: ez-java(tm) platform

ez-java(tm) 핸드폰 사용법

- 실행하기 : JAM 메뉴로 이동- 다운받기 : 다운 받는 ez-i(tm) 사이트로 이동- 모두지우기 : Java 어플리케이션 삭제

Page 15: ez-java(tm) platform

외부 사이트를 이용한 방법

URL 직접 가기를 선택하여 외부사이트로 이동

Page 16: ez-java(tm) platform

Possible Application

• 자바 게임• 위치정보 서비스• 캐릭터 카드 서비스• 개인정보 관리 서비스

Page 17: ez-java(tm) platform

Roadmap on ez-java

7 8 9 10 11 12 1 2 3

FY2000 FY2001

ez-java 1.0 &KittyHawk API

ez-java 1.1 &AppStream

ez-java 2.0 &MIDP

HTTPS

Gateway billing

AppStream Demo

ez-java 1.2 &Color Demo

i-book emulator 1.0

Page 18: ez-java(tm) platform

관련 사이트

• http://java.ez-i.co.kr

Page 19: ez-java(tm) platform

Future...

• Java Application Streaming– 클래스 파일들을 실행 순서에 따라 , dynamic 하게 다운로드– 먼저 받은 main class 부터 실행– 어플케이션 실행 속도 개선– code-size 가 큰 Java application 실행 가능

• Color LCD 지원• KVM 의 속도 개선 및 안정화• HTTPS 지원