Thursday, September 22, 2011

Android app project_Day2

Yesterday started my android app project.
The first step of the project is to implement a peer to peer communication using NFC.
It would be very helpful if we can view the android source code. 
From this site http://www.vogella.de/articles/Android/article.html, it mentioned how to view the source code in Eclipse. 

2.4. Android Source Code

The following step is optional.
During Android development it is very useful to have the Android source code available as Android uses a lot of defaults.
Haris Peco maintains plugins which provides access to the Android Source code code. Use the Eclipse update manager to install two of his plugins. Update site: "http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update" and "http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update".
More details can be found on the project website .

This is awesome!


The thing I am going to do today is to understand how NFC works. This is the very basic but vital step through the whole project.

Wish me luck!


Searched a bit, and found this site might be the most detailed.


"NFC works using magnetic induction: a reader emits a small electric current, which creates a magnetic field that in turn bridges the physical space between the devices. That field is received by a similar coil in the client device, where it is turned back into electrical impulses to communicate data such as identification number, status information, or any other information. So-called 'passive' NFC tags use the energy from the reader to encode their response, while 'active' or 'peer-to-peer' tags have their own power source and respond to the reader using their own electromagnetic fields.

Like RFID, NFC works in the 13.56MHz radiofrequency spectrum, using less than 15mA of power to communicate data over distances that are usually far less than 20cm. Tags typically store between 96 and 512 bytes of data and transfer data using at speeds of 106Kb/s, 212Kb/s, 424Kb/s or 848Kb/s – enough to move small pieces of information virtually instantaneously, as is essential in high-volume transport applications.
"




No comments:

Post a Comment