How i can pass values from one blank activity to map activity Actually I'm trying to send latitude and longitude values from one activity to maps activity but I'm getting app stopped here is code of location fetch activity.
if(gps.canGetLocation()){
longitude = gps.getLongitude();
latitude = gps.getLatitude();
Toast.makeText(getApplicationContext(), "Longitude:"+Double.toString(longitude)+"\nLatitude:" + Double.toString(latitude), Toast.LENGTH_SHORT).show();
}
and code of maps activity where I want these values are maps activity
LatLng sydney = new LatLng(longi, lati);