JSR 75 defines optional APIs for accessing files and personal information on mobile devices. The FileConnection API allows accessing and modifying files, while the PIM API provides access to contact, calendar, and to-do list data. Security permissions are required for untrusted apps to access these APIs. The document provides examples of using these APIs to read, write, and modify files and PIM data.
5. Examples of Possible Root Strings Connector.open("file:////"); / Connector.open("file:///C:/"); C:/ Connector.open("file:///MemoryStick/"); MemoryStick/ Connector.open("file:///SDCard/"); SDCard/ Connector.open("file:///CFCard/"); CFCard/ Opening a FileConnection to the Root Possible Root Value
6.
7. File Connection Package Exception thrown when a method of a file connection is invoked but cannot be completed because the connection is closed. ConnectionClosedException Central registry for listeners that need to add or remove a file system FileSystemRegistry Exception thrown when a method is invoked that requires a particular security mode, such as READ or WRITE, but the connection opened is not in that mode. IllegalModeException Description Class
28. PIMItem Fields and Data Types Field Data Types ToDo Field Name Field Data Types Event Field Name PIMItem.STRING LOCATION, NOTE, SUMMARY, UID PIMItem.DATE END, REVISION, START PIMItem.INT ALARM, CLASS PIMItem.STRING NOTE, SUMMARY, UID PIMItem.INT CLASS, PRIORITY PIMItem.DATE COMPLETION_DATE, DUE, REVISION PIMItem.BOOLEAN COMPLETED PIMItem.BINARY PHOTO, PUBLIC_KEY PIMItem.DATE BIRTHDAY, REVISION PIMItem.STRING EMAIL, FORMATTED_NAME, NICKNAME, NOTE, ORG, TEL, TITLE, UID, URL, PHOTO_URL, PUBLIC_KEY_STRING PIMItem.STRING_ARRAY NAME, ADDR Field Data Types Contact Field Name