diff options
author | Nick Pelly <npelly@google.com> | 2012-03-15 09:30:26 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2012-03-21 15:12:33 -0700 |
commit | e3728e6676eff6c1c77ad89153d8814d94c79fbc (patch) | |
tree | 12c2e10f7dfafc78dccc89ae80692903e6fbcc7f /src/com/android/nfc | |
parent | ee3d9ed14206e672e54a2db803484dacc0e0bbd4 (diff) | |
download | packages_apps_nfc-e3728e6676eff6c1c77ad89153d8814d94c79fbc.zip packages_apps_nfc-e3728e6676eff6c1c77ad89153d8814d94c79fbc.tar.gz packages_apps_nfc-e3728e6676eff6c1c77ad89153d8814d94c79fbc.tar.bz2 |
Update URL from Market to Play. Add feature parameter.
Change-Id: Ie8d0f65f7055e8bdca1e2f3b322a5b9a280ea2d2
Diffstat (limited to 'src/com/android/nfc')
-rwxr-xr-x | src/com/android/nfc/P2pLinkManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/nfc/P2pLinkManager.java b/src/com/android/nfc/P2pLinkManager.java index 675aba6..ee0473f 100755 --- a/src/com/android/nfc/P2pLinkManager.java +++ b/src/com/android/nfc/P2pLinkManager.java @@ -280,8 +280,8 @@ public class P2pLinkManager implements Handler.Callback, P2pEventListener.Callba List<RunningTaskInfo> tasks = mActivityManager.getRunningTasks(1); if (tasks.size() > 0) { String pkg = tasks.get(0).baseActivity.getPackageName(); - NdefRecord appUri = NdefRecord.createUri( - Uri.parse("http://market.android.com/search?q=pname:" + pkg)); + NdefRecord appUri = NdefRecord.createUri(Uri.parse( + "http://play.google.com/store/apps/details?id=" + pkg + "&feature=beam")); NdefRecord appRecord = NdefRecord.createApplicationRecord(pkg); return new NdefMessage(new NdefRecord[] { appUri, appRecord }); } else { |