Tuesday, March 27, 2012

[android-developers] Re: How to send/pass string to a web service from emulator and that web service returns same string.

You need to check the interface of your web-service. Only then you can
know how exactly to send information to it and retrieve information
from it. Other than that in general you use HTTPPost (http://
developer.android.com/reference/org/apache/http/client/methods/
HttpPost.html
) and HTTPGet (http://developer.android.com/reference/org/
apache/http/client/methods/HttpGet.html
)  Google for examples, you'll
find plenty.

-------------------------------------------------
Ali Chousein
http://socialnav.blogspot.com | http://twitter.com/socialnav1
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://www.codeproject.com/KB/android/PayGol-Android.aspx
http://geo-filtered-assistant.blogspot.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate