Change the link to one that SMS apps should parse as being for the web.
This commit is contained in:
parent
6c386d5baf
commit
2bb2bdc3bc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user