New issue 34 by ayshmb1...@gmail.com: unable to send xmlrpc second
parameter :(
http://code.google.com/p/android-xmlrpc/issues/detail?id=34
i created an activity that use xml rpc to send a command with two
parametres. the problem is when the second parametre is a String value, the
whole application crashes with the error java.lang.ClassCastException:
java.lang.Integer.... and when i change it into an INT (integer), the
application doesn't crash but i have an xml rpc error telling me that i've
used an integer where i should have used a string value.
can someone help me please?
1. first annexe, the logcat output and the second one, my activity class
2.NB: i've already use xmlrpc client for one single parametre and it works
fine.
3. i hope my english is enough good to be understood.
4.THX for reading and trying to help, greetings
Please provide any additional information below.
Attachments:
logcat.txt 2.8 KB
Viewer.java 2.6 KB
in Viewer.java, line 48 do the following:
Object obj = client.call(...)
and call Log.d with obj.getClass()
thx maynn, it works like a charm... Actually it was the server sending me
an integer as answer :-)
Comment #3 on issue 34 by psk...@gmail.com: unable to send xmlrpc second
parameter :(
http://code.google.com/p/android-xmlrpc/issues/detail?id=34
(No comment was entered for this change.)