Java Reference
In-Depth Information
deletion of services to the FeliCa chip, and reading and writing data
within the FeliCa chip.
try {; // open the FeliCa chip
FreeArea fa = Felica.getFreeArea(); // obtain a Free Area object
int[] index = new int[1];
index[0] = 0;
String writeData = new String("test data");
// write the data to the free area
fa.write(index, writeData.getBytes());
//read data from the free area
String readData = new String(;
Felica.close(); // close the FeliCa chip
catch (FelicaException fe)
catch (IOException ioe)
The API is, naturally, rather complex, but a good overview of the tech-
nology is available at .
There is more information about FeliCa on the NTT DoCoMo website. 20
7.8.10 Other Features
DoJa 5.x implements a few new security features and continues to provide
support for others.
The fingerprint authenticator, although a novel security feature, is only
implemented by Fujitsu handsets. Application developers are able to
authenticate the identity of the user by using the fingerprint authenticator
via the com.nttdocomo.opt.device.FingerprintAuthenti-
cation class.
Interestingly, the fingerprint sensor can also be used to capture naviga-
tion data. The sensor can capture the position and direction of movement
of a user's finger as it moves across the sensor. The sensor is also used
by the phone's native browser to allow the user to scroll up and down a
web page.
Included in the Basic API and enabled on all DoJa 5.1 devices
are several classes and interfaces that enable speech recognition. Speech
recognition has been available in DoCoMo devices for several years - the
pre i-Mode N208s released back in 1999, for example, could search for
a name in the address book when the user said the name. However,
support is geared towards Japanese - which has a much smaller phonetic
alphabet than English.
20 See and www.
Search WWH ::

Custom Search