• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

Revisionc2860adcb8c8c84927bfe17fadd61b5beea61ae4 (tree)
Zeit2011-02-02 01:25:46
AutorNick Pelly <npelly@goog...>
CommiterNick Pelly

Log Message

Update sample app for final GB MR API changes.

Change-Id: Ic6b7aa2ffe88f6a9228322d41a2be391eb5bf545

Ändern Zusammenfassung

Diff

--- a/samples/ApiDemos/src/com/example/android/apis/nfc/TechFilter.java
+++ b/samples/ApiDemos/src/com/example/android/apis/nfc/TechFilter.java
@@ -37,7 +37,7 @@ public class TechFilter extends Activity {
3737
3838 Intent intent = getIntent();
3939 String action = intent.getAction();
40- if (NfcAdapter.ACTION_TECHNOLOGY_DISCOVERED.equals(action)) {
40+ if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
4141 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent);
4242 } else {
4343 mText.setText("Scan a tag");