SlideShare una empresa de Scribd logo
1 de 37
[object Object]
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Check FileConnection
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
File Connection Package ,[object Object],[object Object],[object Object],[object Object],Interface for access to files or directories File Connection Listener interface for receiving status notification when adding or removing a file-system root. FileSystemListener Description Interface
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
Relationship between File Connection and CLDC
File Connection Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
File Connection Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
File Connection Features ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Security Considerations
Access list of directories in File System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
directories List in File System
Access Files From Directory ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Access Files From Directory
File System in Emulator
Read Text File from File System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Read Text File from File System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Adding Image To File System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Adding Image To File System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
PIM API Availability ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],PIM API Package FieldEmptyException, FieldFullException, PIMException, and UnsupportedFieldException  Exceptions PIM and RepeatRule. Classes Contact, ContactList, Event, EventList, PIMItem, PIMList, ToDo, and ToDoList  Interfaces
Hierarchy of major classes and interfaces in PIM API
PIM API Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PIM API Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
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
PIM Data Organization
Security Consideration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How To Read Telephone Number ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How To Read Telephone Number ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How To Create a New Contact ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How To Create a New Contact ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How To Modify An Event in a Calendar ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How To Modify An Event in a Calendar ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]

Más contenido relacionado

Destacado

Jsr120 sup
Jsr120 supJsr120 sup
Jsr120 supSMIJava
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to JavaSMIJava
 
SMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIMSMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIMSMIJava
 
JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)SMIJava
 
Jsr135 sup
Jsr135 supJsr135 sup
Jsr135 supSMIJava
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDPSMIJava
 
Push registrysup
Push registrysupPush registrysup
Push registrysupSMIJava
 

Destacado (7)

Jsr120 sup
Jsr120 supJsr120 sup
Jsr120 sup
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
SMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIMSMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIM
 
JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)
 
Jsr135 sup
Jsr135 supJsr135 sup
Jsr135 sup
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDP
 
Push registrysup
Push registrysupPush registrysup
Push registrysup
 

Similar a Jsr75 sup

Csphtp1 17
Csphtp1 17Csphtp1 17
Csphtp1 17HUST
 
Input output files in java
Input output files in javaInput output files in java
Input output files in javaKavitha713564
 
File Input & Output
File Input & OutputFile Input & Output
File Input & OutputPRN USM
 
Enterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core ArchitectureEnterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core Architecturemcgurk
 
Working with the IFS on System i
Working with the IFS on System iWorking with the IFS on System i
Working with the IFS on System iChuck Walker
 
Concept of file handling in c
Concept of file handling in cConcept of file handling in c
Concept of file handling in cMugdhaSharma11
 
chapter-12-data-file-handling.pdf
chapter-12-data-file-handling.pdfchapter-12-data-file-handling.pdf
chapter-12-data-file-handling.pdfstudy material
 
Whitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql ServerWhitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql ServerShahzad
 
INput output stream in ccP Full Detail.pptx
INput output stream in ccP Full Detail.pptxINput output stream in ccP Full Detail.pptx
INput output stream in ccP Full Detail.pptxAssadLeo1
 
Chapter 12 - File Input and Output
Chapter 12 - File Input and OutputChapter 12 - File Input and Output
Chapter 12 - File Input and OutputEduardo Bergavera
 
Java căn bản - Chapter12
Java căn bản - Chapter12Java căn bản - Chapter12
Java căn bản - Chapter12Vince Vo
 
File Handling in Java.pdf
File Handling in Java.pdfFile Handling in Java.pdf
File Handling in Java.pdfSudhanshiBakre1
 
C++17 std::filesystem - Overview
C++17 std::filesystem - OverviewC++17 std::filesystem - Overview
C++17 std::filesystem - OverviewBartlomiej Filipek
 

Similar a Jsr75 sup (20)

Csphtp1 17
Csphtp1 17Csphtp1 17
Csphtp1 17
 
Input output files in java
Input output files in javaInput output files in java
Input output files in java
 
File Input & Output
File Input & OutputFile Input & Output
File Input & Output
 
data file handling
data file handlingdata file handling
data file handling
 
Unix-module3.pptx
Unix-module3.pptxUnix-module3.pptx
Unix-module3.pptx
 
Data file handling
Data file handlingData file handling
Data file handling
 
Enterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core ArchitectureEnterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core Architecture
 
Level 4
Level 4Level 4
Level 4
 
Working with the IFS on System i
Working with the IFS on System iWorking with the IFS on System i
Working with the IFS on System i
 
File handling
File handlingFile handling
File handling
 
Concept of file handling in c
Concept of file handling in cConcept of file handling in c
Concept of file handling in c
 
chapter-12-data-file-handling.pdf
chapter-12-data-file-handling.pdfchapter-12-data-file-handling.pdf
chapter-12-data-file-handling.pdf
 
Whitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql ServerWhitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql Server
 
INput output stream in ccP Full Detail.pptx
INput output stream in ccP Full Detail.pptxINput output stream in ccP Full Detail.pptx
INput output stream in ccP Full Detail.pptx
 
Savitch Ch 06
Savitch Ch 06Savitch Ch 06
Savitch Ch 06
 
Chapter 12 - File Input and Output
Chapter 12 - File Input and OutputChapter 12 - File Input and Output
Chapter 12 - File Input and Output
 
Java căn bản - Chapter12
Java căn bản - Chapter12Java căn bản - Chapter12
Java căn bản - Chapter12
 
File Organization
File OrganizationFile Organization
File Organization
 
File Handling in Java.pdf
File Handling in Java.pdfFile Handling in Java.pdf
File Handling in Java.pdf
 
C++17 std::filesystem - Overview
C++17 std::filesystem - OverviewC++17 std::filesystem - Overview
C++17 std::filesystem - Overview
 

Jsr75 sup

  • 1.
  • 2.
  • 3.
  • 4.
  • 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
  • 8. Relationship between File Connection and CLDC
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. directories List in File System
  • 15.
  • 16.
  • 17. File System in Emulator
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. Hierarchy of major classes and interfaces in PIM API
  • 26.
  • 27.
  • 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
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.