everyone, I am a beginner of developing android app, currently I need to write some data into a NFC tag to check my own NFC reader program, however, those app I can try can only
You need to give your application NFC support in the manifest file.
Have a look at this(shameless plug) NFC Eclipse plugin for editing NDEF messages, including multiple records in a single message. Comes with a project boilerplate for android too, which I guess is what you're looking for (?).