We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Javascript Interface

Thread ID:





115344 Jan 10,2014 03:15 PM UTC Jan 16,2014 01:47 PM UTC Orubase 1
Tags: Orubase
Carlos Lopes
Asked On January 10, 2014 03:15 PM UTC


How do I get the webview from orubase on android? The method "getCurrentWebView()" returns null.

Thank you.

Gobi M [Syncfusion]
Replied On January 16, 2014 01:47 PM UTC


Thanks for using Syncfusion products..

The Orubase Tab bar application which is generated from Orubase Project wizards contains their own separate Orubase WebView for each tab. The method getCurrentWebView is used to get the current Orubase WebView in tab bar application. So, it is possible to add Custom JavaScript Interface with the existing Orubase Android Project. For SPA(Single Page Application) projects, getCurrentWebView() is not applicable and it always returns null.

We have prepared a sample application and documentation to show case “Adding JavaScript Interface for existing Orubase Project”

Could you please confirm with your requirement and provide more details if the issue is still not resolved?


Gobi M



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon