am c2860adc: Update sample app for final GB MR API changes.
* commit 'c2860adcb8c8c84927bfe17fadd61b5beea61ae4': Update sample app for final GB MR API changes.
This commit is contained in:
@@ -37,7 +37,7 @@ public class TechFilter extends Activity {
|
|||||||
|
|
||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
String action = intent.getAction();
|
String action = intent.getAction();
|
||||||
if (NfcAdapter.ACTION_TECHNOLOGY_DISCOVERED.equals(action)) {
|
if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
|
||||||
mText.setText("Discovered tag " + ++mCount + " with intent: " + intent);
|
mText.setText("Discovered tag " + ++mCount + " with intent: " + intent);
|
||||||
} else {
|
} else {
|
||||||
mText.setText("Scan a tag");
|
mText.setText("Scan a tag");
|
||||||
|
|||||||
Reference in New Issue
Block a user