Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jsonrpc help needed
Message
Information générale
Forum:
Android
Catégorie:
Autre
Divers
Thread ID:
01629311
Message ID:
01629361
Vues:
33
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform