Enterprise J2ME Developing Mobile Java Applications [Electronic resources]

Michael Juntao Yuan

نسخه متنی -صفحه : 204/ 76
نمايش فراداده

8.3 The JavaPhone API

The JavaPhone API v1.0 is an optional extension to PersonalJava. Designed for smart phone devices, the JavaPhone API supports telephony functionalities (e.g., call control), network datagram access, power management, and PIM access. You can download detailed JavaPhone specification, API documentation, and code examples from its Web site (see "Resources"). In this section, I give only a brief overview of the PIM package in Table 8.1.

Table 8.1. The JavaPhone PIM API in the javax.pim Package

Package

Description

addressbook

This package allows you to store and look up contact cards (phone number, address, etc.) in address book databases. It supports multiple address books and addresses groups. The schema string used in contact entries conforms to the vCard personal data interchange format (an Internet Mail Consortium standard).

calendar

This package provides ways to store and look up schedule and to-do information in a calendar database. The schema string for calendar entries conforms to the vCalendar interchange format (an Internet Mail Consortium standard).

userprofile

This package defines objects that manipulate current user information. It uses the same format as the address book entry. On a mobile phone, this package might allow you to read and write the SIM card.