11.07.2015 Views

Contactless Communication API - Oracle Software Delivery Cloud

Contactless Communication API - Oracle Software Delivery Cloud

Contactless Communication API - Oracle Software Delivery Cloud

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Overviewthe application tries to use any of the methods in corresponding package. This means that if, for example, visual tag targetis not supported and the application calls SymbologyManager.getReadSymbologies() method, an exception isthrown. All targets that can be potentially accessed through this <strong>API</strong> are defined in the TargetType class. The list oftarget types supported by the <strong>API</strong> implementation can be obtained using methodDiscoveryManager.getSupportedTargetTypes().Mandatory part:• package javax.microedition.contactlessOptionally mandatory parts:• Package javax.microedition.contactless.ndef, if NDEF_TAG target is supported• Package javax.microedition.contactless.rf, if RFID_TAG target is supported• Package javax.microedition.contactless.sc, if ISO14443_CARD target is supported• Package javax.microedition.contactless.visual, if VISUAL_TAG target is supportedSystem requirementsThe minimum platform required by this <strong>API</strong> is the Connected, Limited Device Configuration (CLDC), version 1.1. The <strong>API</strong> canalso be used with Connected Device Configuration (CDC), version 1.0, and any subsequent platform versions that aresupersets of the minimum platform.Version informationApplications can determine the version of the <strong>Contactless</strong> <strong>Communication</strong> <strong>API</strong> present in the device, if any, by querying thevalue of the system property microedition.contactless.version. For this version of the <strong>API</strong> the value returnedmust be the string "1.1". If the value returned is null, the <strong>Contactless</strong> <strong>Communication</strong> <strong>API</strong> must not be present.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!