Siddharth00 / android-xmlrpc

Automatically exported from code.google.com/p/android-xmlrpc
0 stars 0 forks source link

result.equals("something") causes crash #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I've this code (In a working activity):

XMLRPCClient client = new XMLRPCClient("http://127.0.0.1:8000");

try {
    String out = (String) client.call("ping").toString();
} catch (XMLRPCException e) {
    e.printStackTrace();
} 

if (out.equals("PONG!")) {
    //DO IT
}

this code -> if (out.equals("PONG!")) { causes the activity crash
why?

thanks :D

Original issue reported on code.google.com by patrick....@gmail.com on 9 Jul 2009 at 8:27

GoogleCodeExporter commented 8 years ago
resolved :)
wrong ip address..

Original comment by patrick....@gmail.com on 11 Jul 2009 at 3:35

GoogleCodeExporter commented 8 years ago
As per comment above.

Original comment by JonTheNiceGuy on 30 Mar 2010 at 8:16