zeeshan wrote: > thanks for the reply Mark! > > i tried httpget also but same 500 error. > > is there any sniffing tool i can configure with emulator to check the > exact http trafic format?
I seem to recall there are various local proxy servers you can use to intercept HTTP traffic, though getting a proxy server to work with the emulator is not terribly easy given the number of questions that seem to come up related to it. Instead, particularly if you are using OS X or Linux as your development environment, I would focus on trying to get curl working. Once you have curl properly downloading the content, converting that into Android code (whether URLConnection or HttpClient) should be relatively straightforward. You might also inquire with whoever is hosting the server if they have any recipes for Web service access. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---