Showing posts from 2013

NFC : Reading a MiFare Classic 1K from Android Devices

Ever since Near Field Communication was embedded on mobile phones, loads of new ideas and business proposals made people very busy. So does the Android platform with its API's supporting NFC. Nexus S looks like a state of the art - good starting point if one wants to get past the monotonic Nokia's piece of the cake. I just want to share with you my experience on reading a MiFare Classic tag using the Nexus S..and the Android platform. 

You need to have:
A MiFare Classic 1k Tag - ( hopefully you know the keys for its Blocks :=) )
Android SDK and IDE
Preferable a Nexus S (Make sure if the Android version is 2.3.3 and above).

Some Basics about the card:
MiFare classic cards store data in its Sectors. In MiFare classic 1k card there are 16 of them. Each Sector contains 4 blocks.  You can store 16 bytes in each block. Making about 1024 bytes of storage space..that explains the 1K part of the card. You can perform common tasks like reading, writing data on these blocks, authentification, …

Write Doc Comments for the Javadoc Tool

Write Doc Comments for the Javadoc ToolJavadoc Home Page This document describes the style guide, tag and image conventions we use in documentation comments for Java programs written at Java Software, Oracle. It does not rehash related material covered elsewhere: For reference material on Javadoc tags, see the Javadoc reference pages.For the required semantic content of documentation comments, see Requirements for Writing Java API Specifications. ContentsIntroductionPrinciplesTerminologySource FilesWriting Doc CommentsFormat of a Doc CommentDoc Comment Checking ToolDescriptionsA Style GuideTag Conventions ( @tag)Documenting Default ConstructorsDocumenting Exceptions with @throws TagPackage-Level CommentsDocumenting Anonymous Inner ClassesIncluding ImagesExamples of Doc CommentsTroubleshooting Curly Quotes (Microsoft Word) IntroductionPrinciples At Java Software, we have several guidelines that might make our documentation comments different than those of third party developers. Our do…