开发者

xmlhttprequest and serversocket in Android

开发者 https://www.devze.com 2023-02-08 00:11 出处:网络
My experience on web technologies aren\'t good so I want to know if this is possible from you experts.

My experience on web technologies aren't good so I want to know if this is possible from you experts.

Can a serversocket in Android respond to a xmlhttprequest? What I'd want to do is, assuming my PC and my Android are on the same network, can I make a xmlhttprequest from my browser to my Android, and have the Android (running a serversocket service) receive and extract whateve开发者_C百科r I sent through the xmlhttprequest? Say a text command.

Is this possible or have I gotten this all wrong? Thank you very much.


Yes it's possible. Have a look at iJetty for starters: http://code.google.com/p/i-jetty/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号