(keitai-l) I-mode Java specs in English (sort of)

From: Josh White <josh_at_blackbrick.com>
Date: 12/28/00
Message-ID: <NCBBKJAPCBCPOELPJJKBMEJICKAA.josh@blackbrick.com>
Fellow English-only listmembers,

The I-mode Java announcement on NTT Docomo's site does in fact translate to
English with elingo. (dunno what my problem was the first time - probably my
mistake).   Have a look at the original, full text by visiting
http://www.elingo.com/browse/browse.php3, entering
http://www.nttdocomo.co.jp/i/java/index.html, choose "Japanese" from the list,
and click "Go"
	... but if you're as lazy as me, you'll enjoy the interesting bits below.
They're quoted from the I-mode JAVA FAQ, psuedo-translated by elingo and
edited by me. Sadly, elingo gave up partway through the FAQ - not sure why...
and of course the illustrations aren't translated. What does it say in
http://www.nttdocomo.co.jp/i/java/images/zu1.gif and
http://www.nttdocomo.co.jp/i/java/images/zu2.gif?  It's not critical - I can
pretty much guess what it says...but that's just guessing. :)

Anyway, it's nice to see the actual words from NTT, no?

-Josh

---------
A. There is a feature on the following function sides in i mode Java.

 [] Support of perpetuity storage device
I mode Java application can preserve the data acquired data and by way of the
network made on the application in the cellular phone. This mechanism is
called a scratchpad.

 [] Support of multimedia data
The reproduction of the multimedia data of animated cartoon (animation
GIF)i-in i mode Java -i is supported. When [it] includes to the file of the
Java application (It is called the Jar file), and the application is executed,
the multimedia data can be acquired by way of the network.

 [] Automatic start of application
The automatic start of the application is supported in i mode Java. As a
result, the agent type application to acquire information from the server by
automatically starting at regular intervals can be made.

 [] Improvement of security
The Java application (client side software) by which original security is
built in in the contents provider can be built in in the
terminal....decipherment is done at the application level, the input data can
be transmitted to the server...

---
Q. What measures do you take for an illegal Java program in i mode Java?
A. Security on the terminal side has been improved by giving the following
measures to an illegal Java application in i mode Java.

	[] All the Java application programs are inaccessible to the basic software
and the memory, etc. in the cellular phone such as the dialer functions and
the telephone notebooks.

	[] The Java application program cannot start and rewrite other Java
application programs. (It is inaccessible also to the scratchpad which other
Java application programs use. )

	[] The destination of the Java application program is limited to the server
to which the application is downloaded.

	[] The user can end by his judgment for the annoying Java application program
such as showing a complex calculation ... (adoption of forced ending button)

---
Q Should I control to put it in the size of the display of the terminal on i
mode Java application side when screen (UI) is made?Is the scroll supported?

A There are two kinds of the following in the method of doing User Interface
in the programming by i mode Java.

 [] Low-level API: The screen is constructed by drawing to the graphics
context.

 [] High-level API: Components such as buttons and the list boxes are combined
and the screen is constructed.  It is necessary to do the scroll control by
the application to draw all on the application side in low-level API. On the
other hand, the application cannot control the scroll with high-level API. The
scroll must not be supported with all models which will be put on the market
in the future though there is something to which the scroll control is
automatically done by arranging the component according to the model. [I
didn't understand this line...]

---
Q. Please teach the flow from the down-loading of i mode Java application ...

A....The user opens the down-loading page of i mode Java application which the
contents provider prepares from i mode terminal.  The confirmation message
whether to ... download it on the terminal. ... The message is displayed when
the application more than this cannot be preserved in the terminal at this
time.
When the preservation of i mode Java application is possible, down-loading is
begun ... and the message of the installation end is displayed.
The user has the list of i mode Java application preserved in the terminal
displayed, and i mode Java application is started by selecting and executing a
target application.

---
[Q. What kinds of apps are possible?]

A.
 [] Stand-alone type application
It is an application which operates only in the personal digital assistant
which does not need the network communication. (shooting game and puzzle game,
etc.)

 [] Client server type application
[It] usually operates in the personal digital assistant, and the application
in various forms like the type ((*natowarc*) fighting game etc.) etc. to
communicate in real time the type (role-playing game and Cara Kura breeding
game, etc.) by which the result is left for the server in every case, other
users, and by way of servers is thought.

 [] Agent type application
It is an application by which the Java application program starts
automatically at regular intervals and [it] goes to take information in the
server, and some actions are caused after the fixed time passes. (automatic
update and stock prices chart, etc. in the weather forecast chart)

---
[Q. Which handsets will get Java?]
A. At first, it is scheduled to be installed in 50X series since 503. It is
undecided about series other than 50X such as 20X and (*dottemo*).

----------
[Basics on I-mode Java structure]

...Concretely, J2ME CLDC(*1) standardized for small built-in device is assumed
to be a base and a peculiar function (GUI, communication, and Japanese
processing, etc.) to i mode is added. VM provided by CLDC is called KVM(*2).
	(*1)It is abbreviation of "Java2 MicroEdition Connected Limited Device
Configuration". Java...GUI etc. are not defined, and VM specification and core
API are defined...
	(*2)The execution of Java for a small device environment is called and "KVM(K
Virtual Machine)" and a general Java execution environment are called
"JVM(Java Virtual Machine)".

----
Q What kind of API can you use in i mode Java?

A The maker enhancing library for which the terminal maker provides for a
peculiar function to a peculiar i mode Java extension library to i mode Java
for which NTT DoCoMo provides for I/O processing which includes the
communication on J2ME CLDC API provided through process (JCP) of the Java
community and i mode Java and User Interface (GUI), etc. and each terminal can
be used. However, i mode Java application which uses API which offers a
peculiar function to the terminal operates only on a specific terminal which
offers the function.

----
Q How is i mode Java application started?

A The class (It is called the main class) called first when the application
starts should succeed to the com.nttdocomo.ui.IApplication class. The main
class is specified with ADF, and when starting, the start() method of the main
class is called. The application developer makes the start() method of doing
the start() method of the IApplication class in override in the main class,
and describes the processing of the application there.

---
Q What is ADF?

A ADF(Application Descriptor File) is a text file where information to control
the installation of the application, the start, and the network access, etc.
is described. Information on the size of the application, URL, the amount of
the scratchpad use, and the start parameter, etc. is described in this file.

---
Q How should I do to end i mode Java application?

A Method terminate() for the end of the application is prepared in the
com.nttdocomo.ui.IApplication class. When the application is ended, this
method is called.
These methods cannot be used by i mode Java though the exit() method is
prepared in the java.lang.System class and the java.lang.Runtime class in J2ME
CLDC.

---
Q Can one i mode Java application start other Java applications?

A It is not possible to do. JAM(Java Application Manager) which is the
management mechanism of the Java application in the cellular phone starts the
application. The method of demanding the start of the application from the
Java application to JAM is not offered.

---
Q Please teach the size of the application for one which can be downloaded
(<.> jar file) and the number of cases which can be preserved.

A The JAR file of ten Kbyte or less an application can be downloaded as i mode
Java application. Moreover, the scratchpad of five Kbyte or more is secured
for the terminal. The JAR file and three scratchpads or more can respectively
be preserved in the terminal.

---
Q What one is the event model in i mode Java?

A In high-level API, an event model near the delegation model of JDK1.1 is
adopted. However, the registration destination of the listener class is Panel
(The component in the event source is passed by Panel with the event type)
which is the container of not each component but the component. Moreover, the
method of [...] the handler is adopted in low-level API to reduce the overhead
when the event is generated. The application mounts processing corresponding
to the event by doing the processEvent() method of Canvas which is the drawing
area in override.
 ---
Q What one is the multimedia data supported?

A The melody [?] file can i-be used the GIF file of GIF87, 87a, and 89a form.
[?? maybe they mean: melody files and GIF files can be used]
---
Q What is the Generic Connection framework?

A In J2ME(CLDC), the reduction of the standard class library is aimed at to
minimize the size of the Java execution environment. The class library of Java
mutually had a strong dependence in on the character, and had to restructure
the framework to achieve the I/O function and the network function as a
standard function keeping the size small. The designed framework is Generic
Connection framework as a result. All destinations of the access outside of
the application are expressed with URL in this framework, and the method of
obtaining the stream to input and output to the URL is provided.

---
Q What one exists I/O i mode Java ahead?

A Three kinds of the following can be used.

HTTP communication(URL scheme "Http" and "Https")
[It] inputs and outputs to the Web server in the Internet by HTTP
request/response.

Scratchpad(URL scheme "Scratchpad")
The data to the perpetuity storage device on the cellular phone is input and
output.

Resource(URL scheme "Resource")
Data from the data file (image and sound, etc.) packed up together into the
JAR file is input (read only).

---
Q Can [it] be referred to from i mode Java application to the telephone
notebook in the cellular phone?Moreover, can the telephone be made directly
from the Java application (dial sending)?

A [It] cannot access the telephone notebook and the dialer from the
application from the viewpoint of the user protection.
---
Q Can the protocols (TCP socket, UDP, and FTP, etc.) other than HTTP(S) be
used from i mode Java application?

A The application protocols other than HTTP(S) cannot be used.
---
Q Can the program of Java in the terminal be started from the server by the
push type?

A It is not possible to do.
---
Q Are there notes when communicating HTTP(S) on i mode Java application?

A The other party when communicating from the application HTTP(S) is same "URL
as down-loading former site of the application schema, a host, and should be a
port number from the viewpoint of the user protection. Moreover, the host name
should be not able to be specified in a numeric address (127.0.0.1 etc.). It
is necessary to declare the HTTP(S) application to communicate uses the
network with UseNetwork key to ADF.
---
[more, but eLingo gave up for unknown reasons]


[ Did you check the archives?   http://www.appelsiini.net/keitai-l/ ]
Received on Thu Dec 28 23:39:26 2000