diff options
author | Jeff Hamilton <jham@android.com> | 2010-10-28 17:44:37 -0500 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2010-10-28 16:49:09 -0700 |
commit | a29dc1ba19e86ae23f8789bbb8fce6b57130c561 (patch) | |
tree | 20b98dfe67aecaed4f0efc4b239d47b9f76e27c2 /canon | |
parent | 834676c7e7716942245037f88fe444adc934b23d (diff) | |
download | android_packages_apps_Tag-a29dc1ba19e86ae23f8789bbb8fce6b57130c561.tar.gz android_packages_apps_Tag-a29dc1ba19e86ae23f8789bbb8fce6b57130c561.tar.bz2 android_packages_apps_Tag-a29dc1ba19e86ae23f8789bbb8fce6b57130c561.zip |
Update to the new APIs.
Change-Id: I8aed612159d369dd9360ba3bc4aa7ee9c008c718
Diffstat (limited to 'canon')
-rw-r--r-- | canon/src/com/android/apps/tagcanon/TagCanon.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/canon/src/com/android/apps/tagcanon/TagCanon.java b/canon/src/com/android/apps/tagcanon/TagCanon.java index 508f81e..2367342 100644 --- a/canon/src/com/android/apps/tagcanon/TagCanon.java +++ b/canon/src/com/android/apps/tagcanon/TagCanon.java @@ -159,8 +159,9 @@ public class TagCanon extends ListActivity { @Override public void onListItemClick(ListView l, View v, int position, long id) { TagDescription description = mAdapter.getItem(position); - Intent intent = new Intent(NfcAdapter.ACTION_NDEF_TAG_DISCOVERED); + Intent intent = new Intent(NfcAdapter.ACTION_TAG_DISCOVERED); intent.putExtra(NfcAdapter.EXTRA_TAG, description.tag); + intent.putExtra(NfcAdapter.EXTRA_NDEF_MESSAGES, description.tag.getNdefMessages()); startActivity(intent); } } |