Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down