Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101190

Provide a way for JavaScript running in WebView to execute methods on Java objects, and for Java to call back into JavaScript

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • javafx
    • None
    • web

      Smartphone OS's such as BlackBerry and Android enable Java developers to embed a web browser in their applications and expose new APIs to JavaScript that are written in Java. For example:

      BlackBerry:
      http://www.blackberry.com/developers/docs/7.0.0api/net/rim/device/api/script/package-summary.html

      Android:
      http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface%28java.lang.Object,%20java.lang.String%29

      Please add this capability to JavaFX for use in desktop applications (not just applets).

        There are no Sub-Tasks for this issue.

            peterz Peter Zhelezniakov
            duke J. Duke
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: