Skip to content

Main

com.rvi.Main · Class · SocialCard 1.0.3

Demonstrate a complete write and read-back with a link and a text record.

Use the demo as a reference for a small command-line integration. It selects the first available reader and writes its fixed example message, so run it only with a tag you intend to overwrite.

com.rvi.Main.main(new String[0]);

For your own data, compose a message with NDefMessageCreator and call the service directly. The demo takes no configuration from its arguments.

main(String[]) builds the message, opens the service, connects, writes and reads the stored message to display its NDEF byte count. The service also performs verification during the write. The package-private createMessage() contains the demo data.

ReaderService · IReaderService · NDefMessageCreator

Method signatures in the Javadoc · All API types