Don't get me wrong, it is *possible* to implement this on the "blank metal" socket library. I've learned implementing parallel servers with the socket library before HTTP was even around... But you'd have to reinvent the wheel and implement the HTTP protocol that your web server in all likelihood will run. Unless the server side is correspondingly built on the socket library. Which nobody does, really, you'll find HTTP and RESTful, SOAP or other services in this arena. It appears you'll have to learn about web server and client development before you can think about getting on first base with Android.
On Mar 28, 7:42 pm, raqz <[email protected]> wrote: > could you please tell me why it aint possible through sockets? or is > there any other way to do that? > > On Mar 28, 7:41 pm, JP <[email protected]> wrote: > > > Connecting to a web server... Unless something unusual is going on, > > that would be rather through HTTP requests, not through bare bones > > socket-based communications. > > > On Mar 28, 3:36 pm, raqz <[email protected]> wrote: > > > > Hello, > > > > Could you please tell me how do I send the GPS location of the phone > > > to a webserver through a socket. I am able to display the gps location > > > on the screen with a toast widget in locationchanged() function. > > > After that, I try to send the co-ordinates through a socket but the > > > emulator crashes. > > > Could some one please tell me how to go about this. > > > > Thanks, > > > Raqeeb -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

