60
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 specified as a
parameter.
The prompt prefix should be “<File Location>: <File Name>” for the following methods:
open; openDataInputStream;
openInputStream;
openDataOutputStream;
openOutputStream.
File Location would represent either:
•
"Phone" (when the file is stored on the phone) .
•
"Card" (when the file is stored on a MMC, SD, T-Flash or other card-related
media).