javascript - Alternative to web worker on Android -
the android aosp browser , webview pre-4.4 doesn't back upwards web worker. i'm porting little web app android using webview, , in web app there web worker used heavy tasks in background , update ui progress.
i looked around , see webview class has evaluatejavascript()
function, can used evaluate javascript asynchronously. however, method can take callback phone call @ end of script execution, cannot utilize post message web app's main ui thread update task progress.
is there alternative web worker on android, ability post message , forth main thread?
run http://caniuse.com/#feat=webworkers
you can see web workers run on android - send users browsers
javascript android webview web-worker
No comments:
Post a Comment