-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Junichi Kajiwara edited this page Sep 17, 2016
·
7 revisions
Welcome to the cordova-plugin-mruby wiki!
- WebView#evaluateJavascript
webview.evaluateJavascript("jsGets()", cb);
cordova.getThreadPool().execute(new Runnable() {
public void run() {
//
while (isFinish) {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
}
});
- https://github.com/ongaeshi/RubyPico/blob/46cd2516366e0e9303cd20466990d5aca8101e96/App/mrb_misc.m#L13-L28
- http://qiita.com/kjunichi/items/3cdea65ac3c22563b6e7
- https://github.com/apache/cordova-plugin-dialogs/blob/master/src/android/Notification.java
Mruby.exec(script, stdin, stdout)
script: ruby script stdin: DOM as standard input stdout: DOM as standard output