dya2 / android-scripting

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

RPC calls with wrong argument signature get dropped silently? #414

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Calling contactsGetCount() via RPC works as expected:

command string:'{"id": 1, "method": "contactsGetCount", "params": []}'
Parsing response: '{"error":null,"id":1,"result":3350}
'

But if I add an extraneous argument, it just hangs, and I never get a response 
back from SL4A:

command string:'{"id": 1, "method": "contactsGetCount", "params": [7]}'

(Likewise if I call it with a string argument instead of an integer)

Original issue reported on code.google.com by credenti...@gmail.com on 4 Sep 2010 at 3:19

GoogleCodeExporter commented 9 years ago
I can't reproduce this with Python. Could you please post a script that causes 
this issue?

Original comment by damonkoh...@gmail.com on 9 Sep 2010 at 9:30

GoogleCodeExporter commented 9 years ago
Closing because this is quite stale.

Original comment by damonkoh...@gmail.com on 11 Nov 2010 at 10:07