Slide Networks/SlideME: Expanding Team

by Shane Isbell » Sat, 01 Nov 2008 20:05:43 GMT


Sponsored Links
 Slide Networks/SlideME is looking to bring on 1-2 top-notch Android
developers for equity stake in company. Any interest, just shoot me an
e-mail.

Thanks,
Shane

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to send a json object to a server via android

Hi,

I know that this is not really an android question but i am new to
both android and JSON.

{"Email":"g...@tkxel.com","Password":"123456"} to a url.

The above structure is sent to Server in a variable named son The
server reads the data and sends back the user information in a json
object if the login is successful or {"error","-1"} if the
authentication fails.

try
{
JSONObject json=new JSONObject();
json.put("email", "xrslanasi...@gmail.com");
json.put("password", "arslan");
HttpParams p=new BasicHttpParams();
p.setParameter("json", json.toString());
HttpClient client = new DefaultHttpClient(p);
HttpResponse response=client.execute(new HttpGet(" http://www.***.com/ 
getuserdetails"));
InputStream is=response.getEntity().getContent();
String a=convertStreamToString(is);
Log.i("Read from the server", a);
}
catch(Exception e)
{}

But this isnt worrking. What am i doing wrong ? If anybody has some
working code that they could share with me i would be very grateful. I
have been stuck with this for the past 24 hours and tried everything
under the sun. At the last line the string a should contain a jason
string contain the user attributes for xrslanasi...@gmail.com.

Could any one help me ?

Kind Regards,

Ma{*filter*}

-- 

2. How to install android SDK on Eclipse.found here

http://tinyurl.com/36fpz3e



-- 

3. How to get and post JSON with Android?

4. fetch from MediaStore for given path

5. GPS Provider not available

6. Bos Irwan nuhun pisan udah root spica ane tadi sore di plasa blok m

7. Flexinet Unlimited working on Motorola Droid.. Yay..