How can I copy a NFC badge to my (rooted) Android phone for Daily Usage For the Cafeteria a school we have NFC badges with which we pay meals or drinks.
I was wondering how is it possible to have the card on my phone? I lost it 5 times last year. 

I've tried to copy the data on the card this didn't work so I possibly need to emulate the card on the phone.
Like i said it would be usefull to use it in such way and gives me something to brag about to my non geeky friends. B-) 
My phone is rooted, Xposed Framework is installed (when this helps) I have Android 4.1.2 on My Xperia P it's stock.
Thanks in Advance
Depending on the type of card used in your school, copying is not a simple task: The data is may be cryptographically protected and you need to emulate the UID, an ID which gets transmitted by the card early in the communication process. Here are some tips:


At first you need to find out which type of NFC Tag our card is. You can use this app from the Google Play Store
If the card is a MIFARE Classic Tag you might be able to clone the data on it. These cards have had some security problems in the past.
Emulating the UID is not possible by default on Android (related)


But we developed an App which is capable of emulating the UID on some Android devices, for more information see the first answer here
It is also possible that your badge only uses its UID to know who you are. In this case there is no data saved on your card. If this is the case the app for emulating the UID could already be enough to have a badge on your smartphone ;-)



I hope this helps.