Hello!
I am trying to command a little robot
>From my android app and by using http communication.
I am using the httpUrlConnection and the only way I could see is opening a new 
connection every time I need to send a command... The problem is that I 
constantly need to be sendenig packets and I dont want to go through the 
handshake every time (There is one right?), disconnect, repeat - I need to keep 
the connction open.

Is there a way to do this with http?
I didnt even found a way to custumize my GET request so I found myself writing 
the whole command in the url each time: http://192.168.0.1/move%7%6 to get it 
to move to (7,6) instead of url=ip and add 7,6 to the GET.

Hope you could help me better understand http communication :)
Thank you very much!!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/95d65acf-0385-43b2-b20b-5724865f54e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to