Menu
Tag

MAF

How to run background service in Oracle MAF

In mobile apps, we often need some services to run in the background to do tasks like fetching or updating data from a server, sync local data with a server, invoking APIs etc. In this post, we will see how to run a task in the background of a mobile app developed using Oracle MAF.There is a default utility available in…

Connecting Oracle Mobile Application Framework (MAF) with Oracle Intelligent Bots

Introduction In this post, we will see how to create a client in Oracle Mobile Application Framework (MAF) to connect with chatbot developed in Oracle Intelligent Bot. In this example, I am using bot version 18.1.1 and sample server in the bot instance. To achieve this, we need to Create a webhook channel in Bot Create a channel in web…

Oracle MAF: How to get the current row object of an binding iterator programmatically

[Oracle MAF 2.3.1]Below is a code snippet helps to get the current object of a binding iterator from Java program in Oracle Mobile Application Framework (MAF). AmxIteratorBinding ib = (AmxIteratorBinding) AdfmfJavaUtilities.evaluateELExpression(“#{bindings.listIncidetnsIterator}”); oracle.adfmf.dc.bean.ConcreteJavaBeanObject obj= (oracle.adfmf.dc.bean.ConcreteJavaBeanObject)ib.getCurrentRow(); IncidentVORow row=(IncidentVORow) obj.getInstance(); — Where #{bindings.listIncidetnsIterator} is binding iterator expression for a list of Incident objects IncidentVORow is a bean class of incident object “row” contains…

Newer version: Oracle MAF 2.5.0 Released

Oracle Mobile Application Framework (MAF) released a new version 2.5.0. This is a major release containing a number of platform upgrades and enhancements, including the following: A NEW release of JDeveloper 12.2.1.3.0 is required The embedded Cordova platform engines have been updated Support iOS 11, iPhone X and Xcode 9 Support Android 8, and the Google Pixel C phone For…

Resolving or Invoking a Method Expression from a Managed Bean in Oracle MAF

[MAF 2.3.1]I developed a mobile app using Oracle Mobile Application Framework (MAF) in which I had a requirement to invoke a method from a managed bean method. Below is the code snippet worked for me to do this. public static Object resloveMethodExpression(String expression,                                  …

New version: Oracle MAF 2.4.0 released

The new release of version 2.4.0 of Oracle Mobile Application Framework (MAF) is announced recently. This is a major release containing significant enhancements, such as improved Android builds, shared data controls, shared libraries and iOS 3D touch support, to name a few.Please refer to the What’s New section of the developer guide for detailed information about the changes and how…

Error: oracle.maf.impl.cd.datasynch not found

[maf 2.3.1]I am developing a mobile application with MCS offline sync feature using Oracle MAF. I have used AMPA for the implementation. After deploying the application, on click of “Pending Sync Actions”, I got the below error. Feature not found with id “oracle.maf.impl.cd.datasynch” This is because the library might be deleted or corrupted in the application. To avoid this error,…

How to open device camera or picture gallery from Oracle MAF app

MAF provides a device feature method getPicture() to open the device camera or picture gallery. You can create binding to it if you want to open camera on the app. But if you want to handle this from java code in MAF, then check the below post.Below is the code should be used to access the camera from the java…

Cordova Plugin is not added to Oracle MAF

Issue: I faced an issue where I could not able to add few cordova plugins to Oracle MAF application. I could able to select the plugin but after selected, it is not added to MAF and not showing any error also.Solution: Check the value of the attribute xmlns of the tag plugin in the plugin.xml file under the corddova plugin folder. Generally it…

Adding a custom css/skin file to a Oracle MAF application

When we want to apply our own css to a Oracle MAF application, we need to configure a custom css file to it. Below is the procedure to know how to add a custom css/skin file to a MAF application. Right click on ApplicationController project -> select CSS File -> enter css file name. Below is the default path of…

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