Hi all,
I've got problems using UIDReader class (from examples code):
I dont understand the use of this fundamental method:
public void targetDetected(TargetProperties[] targetProperties) {
if (targetProperties.length == 0) { // in case no targets found, exit the method
return;
}
TargetProperties tmp = targetProperties[0]; // show the UID of the first tag found
displayAlert("UID read: " + tmp.getUid(), AlertType.INFO);
}
When I call the method in a operating midlet I cannot pass to the method the argument requested: TargetProperties[] targetProperties...
Maybe I don't need to pass any argument...(the platform does it for me).
Could anyone explain this to me ?
Thanksssssssssssssssssssssssss

Reply With Quote

