How to connect Android App connecting to a web service

前端 未结 4 1853
抹茶落季
抹茶落季 2020-12-18 16:48

I created a small app and with this app I want to send the data (over wifi or bluetooth) to a PC/server.

  1. I am thinking of creating a webservice that will ru

4条回答
  •  [愿得一人]
    2020-12-18 17:42

    I recommend to use WS on the server-side and you can use Ksoap android library on the client-side. Create a background thread which updates the UI with the new data with. Use AsyncTask, Loader or Handler which is fit for your solution. (Read the official reference for more info).

提交回复
热议问题