Motorola MOTORAZR maxx V6 Developer's Manual page 38

Java me developer guide
Hide thumbs Also See for MOTORAZR maxx V6:
Table of Contents

Advertisement

Java ME Developer Guide
Chapter 6 - JSR-75 - PIM and Fileconnection APIs
The following javax.microedition.io.Connector methods should check for the "read
permission":
open("file:///...");
open("file:///...", Connector.READ);
open("file:///...", Connector.READ_WRITE);
openDataInputStream();
openInputStream()
The following javax.microedition.io.file.FileConnection methods should check for the
"read permission":
setFileConnection, when instance opened with READ;
setFileConnection, when instance opened with READ_WRITE.
The following javax.microedition.io.Connector methods should check for the "write
permission":
open("file:///...");
open("file:///...", Connector.WRITE);
open("file:///...", Connector.READ_WRITE);
openDataOutputStream();
openOutputStream();
openOutputStream(long byteOffset)
The following javax.microedition.io.file.FileConnection methods should check for the
"write permission":
setFileConnection, when instance opened with WRITE;
setFileConnection, when instance opened with READ_WRITE.
The bottom line prompt in the permission request dialog should include the name of
the file or directory only for those protected API calls that have this information spe-
cified as a parameter.
The prompt prefix should be "<File Location>/<File Name>" for the following
methods:
open; openDataInputStream;
openInputStream;
openDataOutputStream;
openOutputStream.
DRAFT - Subject to Change
[38/201]

Advertisement

Table of Contents
loading

Table of Contents