Android HTTP Communication:

I have created an android application for sending messages to a server for interpretation before the server returns an appropriate answer. I am really trying to demonstrate wireless connections. So from the Android phone I simply want to send the message, what would be the appropriate way.... httppost? (I have done this with sockets using buffer/print) In the server class should I use httpget to recieve the message? Then having digested the message and decided on an appropriate result how would I send it back to the android application? httppost again? From the android app to read it would I need to once again use httpget? Examples would really be appreciated. Please bare in mind I am looking to use the http protocol! Kind regards Simon

以上就是Android HTTP Communication:的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准