1

Android JSON get data from PHP

view story
linux-howto

http://stackoverflow.com – Does anyone have any idea what I am doing wrong? I tried doing just about every example out there. I just want to get the lat and lon coords from the server using php to my android phone. Thank you for your help in advanced This is the Section of my code which I am having problems with: public void connect() { StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy); HttpClient httpclient = new DefaultHttpClient(); // Prepare a request object HttpGet httpget = new HttpGet("SERVER URL"); (HowTos)