Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jsonrpc help needed
Message
General information
Forum:
Android
Category:
Other
Miscellaneous
Thread ID:
01629311
Message ID:
01629361
Views:
34
Hi Viv, I downloaded the android-json-rpc and tried this
 try
        {
            String SERVER = "http://10.10.1.11:9000/jsonrpc.js";
            JSONRPCClient jc = new JSONRPCHttpClient(SERVER);
            jc.setConnectionTimeout(10000);
            jc.setSoTimeout(10000);
            JSONArray jaArtists = jc.callJSONArray("slim.request", new String[]{"artists","0","1"});
        }
        catch (Exception ex)
        {
            ex.printStackTrace();
        }
But It fails with not very helpful "IO Error" on the call to callJSONArray ?
Regards,
Peter J. Kane



Pete
Previous
Reply
Map
View

Click here to load this message in the networking platform