Calling web API and Receive return value in Android

后端 未结 4 1438
花落未央
花落未央 2021-01-03 15:45

I\'ve googled for that topics and don\'t get any useful information.

I want to use Web API in my android projects, but don\'t know how to call them from android or j

4条回答
  •  猫巷女王i
    2021-01-03 16:37

    You need AsyncTask to do the networking transmission and receiving using appropriate Connection classes, and finally have it return the value to the main UI thread via onPostExecute(). I am really not sure what is the sticking point that prevents you proceeding normally.

提交回复
热议问题