I’ve been trying to find a way to instantiate the Tag object. I’m trying to do this so that i can simulate various types of Tags.
Does anyone know how to get an instance of UltraLight object using
Tag tag = ?????
UltraLight obj = UltraLight.get(tag);
Thank you
In the NFC app example for ICS source code, we can find some code such as:
Code for this
createMockTagmethod is following:Maybe this could help.