diff --git a/README.md b/README.md index 01cb7f3..2c89710 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Send an SMS to the device you want to locate in order to retrieve information ab **Options** Option | Explaination | Required permission -------|:------------|--------------------| -locate | Will return the most accurate set of coordinates possible and a link to them pinpointed to OpenStreetMap | Location +locate | Will return the most accurate set of coordinates possible and a link to them pinpointed to Google Maps | Location cellinfo | Will return a set of uniquely identifiable information about cell towers near the phone. You can then put this information on [OpenCellId][1] to individuate the smartphone's approximate location | Location battery | Will return battery infos | None | lock | Will lock down the smartphone | Device Administrator | diff --git a/src/app/src/main/java/com/xfarrow/locatemydevice/SmsHandler.java b/src/app/src/main/java/com/xfarrow/locatemydevice/SmsHandler.java index ad5500f..d2e9346 100644 --- a/src/app/src/main/java/com/xfarrow/locatemydevice/SmsHandler.java +++ b/src/app/src/main/java/com/xfarrow/locatemydevice/SmsHandler.java @@ -384,7 +384,7 @@ else if(providedOption.equals(Utils.RING_OPTION)){ StringBuilder responseSms = new StringBuilder("This option is not valid. Available options:\n\n"); responseSms.append(Utils.LOCATE_OPTION + ": Will return the most accurate set of coordinates possible " + - "and a link to them pinpointed to OpenStreetMap.\n\n"); + "and a link to them pinpointed to Google Maps.\n\n"); responseSms.append(Utils.CELLULAR_INFO_OPTION + ": Will return a set of uniquely identifiable information" + " about cell towers near the phone. You can then put this information" + diff --git a/src/app/src/main/java/com/xfarrow/locatemydevice/Utils.java b/src/app/src/main/java/com/xfarrow/locatemydevice/Utils.java index 4692010..23b963b 100644 --- a/src/app/src/main/java/com/xfarrow/locatemydevice/Utils.java +++ b/src/app/src/main/java/com/xfarrow/locatemydevice/Utils.java @@ -50,7 +50,7 @@ public static String buildCoordinatesResponse(double latitude, double longitude) .append("\nLongitude: ") .append(longitude) .append("\n") - .append("https://www.openstreetmap.org/?mlat=").append(latitude).append("&mlon=").append(longitude).toString(); + .append("https://www.google.com/maps?q=").append(latitude).append(",").append(longitude).toString(); } // returns the country code from a phone number. For example +393340000000 will return "39"