Posts

Showing posts from 2013

NFC : Reading a MiFare Classic 1K from Android Devices

Image
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, authent

Write Doc Comments for the Javadoc Tool

Image
Write Doc Comments for the Javadoc Tool Javadoc 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 . Contents Introduction Principles Terminology Source Files Writing Doc Comments Format of a Doc Comment Doc Comment Checking Tool Descriptions A Style Guide Tag Conventions (  @tag ) Documenting Default Constructors Documenting Exceptions with @throws Tag Package-Level Comments Documenting Anonymous Inner Classes Including Images Examples of Doc Comments Troubleshooting Curly Quotes (Microsoft Word) Introduction Principles At Java Software, we have several guidelines that might make our docu