Package com.siemens.mp.io
Siemens IO package offers support for data transfer operations to and from the
handset’s file system as well as using external SMS or IrDA (infrared interface)
connections or the internal SMS loopback interface.
See:
Description
Interface Summary |
ConnectionListener |
The ConnectionListener interface defines the capabilities for
the connection's incoming data receiver.
|
Class Summary |
Connection |
The Connection class supports data transfer through SMS, IrDA and internal
SMS loopback interfaces.
|
File |
The File class holds basic methods for accessing files on the phone's file system.
|
Package com.siemens.mp.io Description
Siemens IO package offers support for data transfer operations to and from the
handset’s file system as well as using external SMS or IrDA (infrared interface)
connections or the internal SMS loopback interface.
The file system is very similar to the DOS file system, except
that it supports long names. A Java application may access only those files
in the file system which are located in the storage subfolder of the
application’s starting folder, or in further subfolders of that subfolder
(however, such further subfolders are not supported by the current API
version). This restriction guarantees that no important handset information
(like phonebook) or others applications code or data may be affected by
a user application.
Connections are used in datagram mode. After a connection is opened,
the user can send portions of data on this connection; no notification
on delivery success or failure will be returned to the application by the
runtime system. When incoming data is received on a connection, the runtime
system uses callback mechanism to pass that incoming data portion to the
application.