get data from remote server in android

后端 未结 2 565
花落未央
花落未央 2021-01-17 00:44

I am using oracle db and weblogic as web server. From my android app i am able to send parameters to my remote server.. My PROBLEM is HOW TO GET THE RESULT SET GENERATED BY

2条回答
  •  深忆病人
    2021-01-17 01:28

    The best thing you can do is to implement JSON with a RESTFUL Web Service.

    More info:

    1. JSON.ORG

    2. How to create a JSON response

    3. Android includes JSON classes such as JSONArray, JSONObject that can be used to interpret the response the Web Service will return. See more at here.

    You can't go wrong. JSON is fast, there are ways to secure the communication if you implement RESTFUL Authentication.

    Best of all your Web Service will be compatible with iOS Apps and any other platform with JSON support.

    Good luck!

提交回复
热议问题