I suppose You have an invalid package becuse you use the old extension.
Update the aia sample with this extension and try to create the apk to install in your smartphone
About your request, You can use GetUid so when a tag is place on the sensor the event is fired and You can do what You want
Ciao Marco
