From 2bb2bdc3bcd5ceac181788a13503b0ae34ed6cb5 Mon Sep 17 00:00:00 2001 From: tim Date: Fri, 18 Apr 2014 17:51:03 +0200 Subject: [PATCH] Change the link to one that SMS apps should parse as being for the web. --- .../src/main/java/za/org/treehouse/hypoalarm/GraceReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/GraceReceiver.java b/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/GraceReceiver.java index 87a0808..151ffab 100644 --- a/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/GraceReceiver.java +++ b/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/GraceReceiver.java @@ -46,7 +46,7 @@ public class GraceReceiver extends BroadcastReceiver { Location location = locationClient.getLastLocation(); if (location != null) { // uri must begin with a space - String uri = " http://maps.google.com?q=" + location.getLatitude() + "," + location.getLongitude(); + String uri = " http://maps.google.com/maps/?q=loc:" + location.getLatitude() + "," + location.getLongitude(); message += uri; sendText(context); } else {