Change the link to one that SMS apps should parse as being for the web.

This commit is contained in:
Timothy Allen 2014-04-18 17:51:03 +02:00
parent 6c386d5baf
commit 2bb2bdc3bc

View File

@ -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 {