android - Editing string variables -


i have string variable json api im trying read in have add latitude , longitude got latitude , longitude inside variable , site inside variable how can edit string add variables in?

// json url private static string url = "https://codingsquared-prod.apigee.net/masaajid?lat=42.93167&long=-81.22807";           // latitude variable         double latitude = location.getlatitude();          // longitude variable         double longitude = location.getlongitude(); 

i edit the

lat=42.93167&long=-81.22807 

(the numbers after lat= , long=

thank you

// latitude variable double latitude = location.getlatitude();  // longitude variable double longitude = location.getlongitude();  // json url private static string url = "https://codingsquared-prod.apigee.net/masaajid?lat="+double.tostring(latitude)+"&long="+double.tostring(longitude); 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -