Package net.rim.device.api.io.nfc.ndef.rtd

Examples of net.rim.device.api.io.nfc.ndef.rtd.SmartPosterRecord


    
        NDEFRecord[] records = _message.getRecords();
       
        try {
            Utilities.log("XXXX using helper classes to parse NDEF message");
            SmartPosterRecord sp = new SmartPosterRecord(records[0]);
            String uri = sp.getUri();
            String id = sp.getId();
            String mime = sp.getMimeType();
            int size = sp.getSize();
            String type = sp.getType();
            byte [] payload = sp.getPayload();
//            _screen.logEvent("id="+id);
            _screen.logEvent("type="+type);
            _screen.logEvent("URI="+uri);
//            _screen.logEvent("MIME="+mime);
//            _screen.logEvent("size="+size);
View Full Code Here

TOP

Related Classes of net.rim.device.api.io.nfc.ndef.rtd.SmartPosterRecord

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.