SyntaxFix
Write A Post
Hire A Developer
Questions
This code have one problem:
int latitude = (int) (location.getLatitude()); int longitude = (int) (location.getLongitude());
You can change int to double
int
double
double latitude = location.getLatitude(); double longitude = location.getLongitude();