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

External lib call

Thread ID:





116208 Apr 24,2014 12:36 PM UTC Apr 25,2014 12:09 PM UTC Orubase 1
Tags: Orubase
Grégory Douguet
Asked On April 24, 2014 12:36 PM UTC


Is it possible to call a method from an external native compiled library which will be included in the project ?


Karthick T [Syncfusion]
Replied On April 25, 2014 12:09 PM UTC

Hi Greg,


Thanks for your interest in Syncfusion Products.


Yes, it is possible to call the external library methods which is included in the project. We can achieve native functionality (may also in external library) apart from the Orubase in-built APIs with the help of the “handleScripts()” method, which is used to handle the custom native code via JavaScript.


The following code snippet should be defined in the JavaScript to call the “handleScripts” method to define the Custom Native Codes.


Android.ProcessJavaScript("Custom",null, null);


Define or call the Custom Native Codes inside the below method.



public void handleScripts(String script) {

   // TODO Auto-generated method stub

   // Call custom libraries method here



We have prepared a sample for Android platform which displays alert dialog from Orubase and also from the external library “toast.jar”.


Please check the attached sample and let us know if you have any further assistance.



Karthick T

Attachment: OrubaseDemoProject_38da69f4.zip


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