-3
I verwendet Json LatLong Werte abzurufen dann ich diese Werte in in LatLang Objekt gespeichert jetzt möchte ich zeigen, dass in Toast so sicherzustellen, dass WerteLatLong Werte in Toast
for (int i = 0; i < matchFixture.length(); i++) {
JSONObject c = matchFixture.getJSONObject(i);
Double matchId = Double.valueOf(c.getString(TAG_Latitude));
Log.d("matchId", String.valueOf(matchId));
Double teamA = Double.valueOf(c.getString(TAG_Longitude));
Log.d("teamA", String.valueOf(teamA));
// hashmap for single match
matchFixtures = new HashMap<String, String>();
// adding each child node to HashMap key => value
matchFixtures.put(TAG_Latitude, String.valueOf(matchId));
matchFixtures.put(TAG_Longitude, String.valueOf(teamA));
matchFixtureList.add(matchFixtures);
latLng=new LatLng(matchId,teamA);
System.out.print("herejj"+latLng);
}