Menu
Category

OracleMobile

How to integrate or configure InAppBrowser Cordova plugin in Oracle MAF

I have created a video to show how to integrate a Cordova plugin in Oracle MAF to show InAppBrowser in a mobile app. Click here to watch the video. This video also shows the procedure to integrate any other Cordova plugin with the Oracle MAF.The MAF version 2.1 with JDeveloper 12c is used in this example. Below are the steps to…

Using Rating Gauge as Status meter in Oracle MAF

I got a scenario in one of my MAF apps where I need to show the percentage of user profile completed in a circular graphical view. So, I have used rating gauge component in MAF to show this. I felt this would be useful to you also, so I have made a video to explain the procedure.Click here to watch…

java.sql.SQLException: stale connection

If you are getting the exception “java.sql.SQLException: stale connection” then you should check whether the Connection object is closed anywhere in the app and you are trying to access the same object. In this case, the object is closed and no longer available, so you can not do any execution on that object. Solution is to create a fresh connection…

InAppBrowser in Oracle MAF using Cordova plug-in

This post is to show how to implement In-app browser in MAF using Cordova plugin.If you have a url in the app, on click of the url, the URL will be open in a browser but if you want to come back to the app, you have to open your app tray and select the app. If you implement in-app…

ERROR: Plugin ‘Camera’ not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist

I am developing a MAF application in which I need to collect images from the user for which I provided a button. On click of the button, photo library supposed to be opened, so that the user can select the images. But on click of the button, I am getting the below error. Error: Plugin ‘Camera’ not found, or is…

Displaying alert message on AMX page from Managed Bean

Below java code is useful to display alert messages on AMX pages in MAF from managed bean. AdfmfContainerUtilities.invokeContainerJavaScriptFunction(“<feature-id>”, “function(){navigator.notification.alert(‘<message>’,  function(){}, ‘<alert-title>’, ‘<button-text>’);}”,    new Object[] { }); Ex:   AdfmfContainerUtilities.invokeContainerJavaScriptFunction(“feature1”, “function(){navigator.notification.alert(‘Request has been submited.’,  function(){}, ‘Information’, ‘OK’);}”, new Object[] { }); Where <feature-id> is the id of the feature on which you want to display the alert message <message> is…

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.