Google Maps V2 : getting lat long value using GPS
问题 I am creating a simple app which takes value of latitude and longitude using GPS and i am trying to pass it to google maps to show it on map. GPS is working fine but when i am using those values of lat long it does nothing at all. Only the map is visible with a default marker. MainActivity.java public class MainActivity extends AppCompatActivity { GoogleMap googleMap; GpsTracker gps; double lattitude; double longitude; Button btnMap; @Override protected void onCreate(Bundle savedInstanceState