I followed some tutorial using the adam rocker source code for my NFCTest. I want to be able to read and write NFC tags and also launch an application.
I think the code you found refers to the pre 2.3.3 era. At this point it was not able to write a tag, but with Android 2.3.3 this is possible. There is no need trying to hack the system and write tags like this.
Have a look at the NFC Demo Project: http://developer.android.com/resources/samples/NFCDemo/index.html