garnetrickster / android-scripting

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

Python to WebView Javascript event failures #586

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?

ZTE Racer

What firmware version are you running on the device?

CyanogenMod Gingerbread. custom builds. more details on request - please let me 
know if this isn't a problem on other setups as I only have the one droid to 
test on.

What steps will reproduce the problem?

1. call eventPost from python, and include a string of data to be passed across.
2. block on the event in a Javascript WebView you spawned, and observe the 
'error' rather than 'result' key set on the return value.

see my stackoverflow post for more details:

http://stackoverflow.com/questions/8114735/android-sl4a-how-to-link-to-relative-
scripts-in-html-javascript-app

This other issue may have the same underlying cause, although different 
symptoms:

http://code.google.com/p/android-scripting/issues/detail?id=559

What is the expected output? What do you see instead?

should be able to read the data string out in the javascript, instead get an 
exception from somewhere deep in the underlying java.

What version of the product are you using? On what operating system?

r4, on Gingerbread (cyanogenmod + google apps).

Please provide any additional information below.

see the stack overflow post for the test cases I tried - the pertinent one is 
the second attempt listed.

Original issue reported on code.google.com by joe.jord...@gmail.com on 13 Nov 2011 at 11:53

GoogleCodeExporter commented 9 years ago
Please delete this Issue - I was using the API wrong (of course).

Apologies for wasting time!

Original comment by joe.jord...@gmail.com on 15 Nov 2011 at 11:51