There were some issues with the Android 2.3 emulator (_possibly_ some actual devices but this is still up for debate) where one of the two methods (either polling or prompt() overriding) did not work. So right now we try to use one, if it fails, we fall back to the other.
I would love to simplify this to just one method (and possibly even just addJavascriptInterface) but we need more time to test this thoroughly. Hey Joe, what is the latest on that small little test app you deployed to the Play Store? Do we have any crash reports or anything of that sort? On 5/6/12 1:59 AM, "陈振华" <[email protected]> wrote: >when i read the source code of apache cordova. i find it has two ways to >fecth the callback data from native code? > >why the author did'nt keep polling only? > >are there some issues exist? > >Thanks for your anwser!
