Skip to main content
This revision made January 07, 2014 07:52, by steven.davelaar
« earlier revision revert to this « later revision

ADF Samples - ADF Mobile

Main Table of Contents

DSI041 ADF Mobile - How to get the Preferences value in HTML page {] 29-AUG-2013
In my previous blog entry I went over "Usage of User Preferences in ADF Mobile", In this entry we'll see how to get the Preferences value in HTML page
SDA016 ADF Mobile - Browsing Using Swipe Actions {] 03-JUL-2013
Sample app that shows how to add support for swipe actions to browse through data or images in any ADF Mobile page. The sample also shows how to use an ADF Mobile skin addition to set custom styles for ADF Mobile user interface controls.
DSI039 ADF Mobile Push Notifications With Google Cloud Messaging (GCM) Part 1 {] 19-JUN-2013
Oracle ADF Mobile release adds the Push Notification Support, now ADF Mobile application can register to receive notifications through both the Apple and Google notification services. In this article I try to explain on how to implement “Google Cloud Messaging for Android (GCM) with ADF Mobile, GCM is a service that helps developers to send data from servers to their Android applications on Android devices“.
DSI038 ADF Mobile Push Notifications With Google Cloud Messaging (GCM) Part 2 {] 19-JUN-2013
In this tutorial I have used PHP as server side programming language and MySQL database to store data. Since sending message from PHP to GCM is easy, here we'll be using CURL to create a message request to send for Google GCM server. CURL is a library that lets you make HTTP requests in PHP .
SDA014 ADF Mobile – Preserving the Current Row Across Pages {] 13-JUN-2013
This sample shows an elegant and fast way to preserve row currency across pages, which also prepares for a future release of ADF Mobile where this will be a native feature.
SDA013 Error Handling in ADF Mobile {] 13-JUN-2013
This sample shows how you should handle errors differently in the main thread and in a background thread, and how you show error messages in the language of the user
DSI037 Offline Data Synchronization for ADF Mobile {] 10-JUN-2013
In Mobile applications very desired feature is able to work offline. For data-driven applications, it means user can store (a subset of) the application data locally, and implement a data synchronization mechanism that keeps your local and server data in sync.
DRM010 JSON Demo for ADF Mobile {] 22-MAY-2013
Code created as part of my on-the-fly demo of ADF Mobile given at the UKOUG ADF Mobile SIG meeting on May-21
DSI036 ADF Mobile With EJB Restful Web Service {] 19-MAY-2013
This article is the continuation of my previous article on Configuring EJB with Restful Web Service in ADF. Here will see how to integrate EJB Restful Web Service with ADF mobile.
FRD001 ADF Mobile local database basic features {] 17-MAY-2013
This sample shows how to initiate a local database from a DML script. It also demonstrates it is possible to bind the UI to a POJO Data Control that will fetch data from either a web service or the local database depending on the network connectivity available.
ABA248 Master-Detail ADF BC Web Service for ADF Mobile {] 28-APR-2013
ACC112 Edit Form Cancel Pattern {] 26-APR-2013
A common user interaction with an edit form is to cancel data changes so the original data are reset and displayed. With ADF Mobile and the POJO data control this interaction can be challenging because unlike ADF web forms, there is no immediate=true one can set to bypass the model update and so all data changes are submitted even if it’s the cancel button that was pressed. This article explains a pattern that implements the cancel functionality by working with a copy of the original data instead of the data itself.
ACC111 m05. Caching WS queried data local for create, read, update with refresh from DB and offline capabilities {] 25-APR-2013
The current version of ADF Mobile supports three ADF data controls: Web Service, REST Service and POJO. When working with the WS and REST data control it is recommended practices to access the service throuh the WS and REST data control but to expose the data through the POJO data control to the UI. The advantage of such an architecture is better control for filtering and manipulating WS queried data, as well as a better performance when working with data on the mobile device. In this article I explain how you query data from a SOAP Web Service, how you save the data in on device local entities and how to write local data back to the WS. In the provided sample, you find hookpoint to change for using a local SQLite database instead of an object cache for persistence.
ABA246 Oracle BPM 11g Mobile Worklist with ADF Mobile {] 20-APR-2013
ACC110 m06. How-to synchronize two input fields bound to a managed bean {] 16-APR-2013
ADF Mobile does not provide partial refresh properties for dependent fields to refresh and instead uses a JavaBean property change notification mechanism. This article shows the most simplistic "non-hello-world" sample and demonstrates the steps you need to perform to create a form that contains two input fields bound to a managed bean. Changing the value of one field will copy the same to the second field and refresh the screen so the copied string displays properly.
ACC109 How-to display server side images in a gallery on the mobile phone {] 12-APR-2013
Displaying images as thumb-nails to then query the full size image upon user selection not only is a requirement for ADF Mobile applications, but ADF web applications as well. In this article I explain how you can use a Web Service to browse and search server side images to display as thumb nails on a tablet or mobile device
DSI034 Sync Device Back Button With ADF Mobile App's Back Button In TaskFlows {] 02-APR-2013
This article is the continuation of my previous article on Handling the Device Back button in ADF Mobile Application. Scenario in this article is to use the device back button to go back to previous page within taskflows, Android device has a back button and our apps should take an advantage of that.
DSI033 Handling the Device Back button in ADF Mobile Application {] 31-MAR-2013
While developing an ADF Mobile application for Android/IOS, you may require to capture the device back button on user click. Here we will add little logic to exit the application once the user clicks on device back button.
DSI032 ADF Mobile : Display Custom Springboard layout with 3 * 3 matrix {] 26-MAR-2013
Scenario here is to display 3 * 3 matrix dynamic table in custom springboard amx page using ApplicationFeatures data control with Features data collection.
DSI031 Get ADF Mobile Form values in managed bean using Accessor Iterator {] 11-MAR-2013
Scenario is how to get the ADF Mobile form values in managed bean programmatically. Accessor Iterator can be used with AdfmfJavaUtilities.getValueExpression() method to get values. getValueExpression method is for expressions that refer to values, this method should perform syntactic validation of the expression.
ACC108 ADF Mobile: Creating dependent lists from independent collections {] 11-MAR-2013
Dependent lists is a common functional requirement for web, desktop and also mobile applications. You can build dependent lists from dependent, nested, collections and from independent collections, in which the detail data is queried from a method call. With step-by-step instructions, this article explains the latter use case in which a selected parent data object is passed to a method to query the detail data set.
DSI030 Integrating Open Weather Map in ADF Mobile Application {] 05-MAR-2013
Today I tried implementing demo weather application using JSON-REST. OpenWeatherMap is a web service that provides free weather data and forecast API suitable for any cartographic services including web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. OpenWeatherMap wide range of weather data - map with current weather, week forecast, precipitation, wind, clouds, data from weather stations, data from radars. Weather data is received from global meteorological broadcast services and more than 40000 weather stations, OpenWeatherMap provides response data as JSON string.
ACC107 ADF Mobile: How-to dynamically show-hide mobile UI components {] 04-MAR-2013
A requirement in software development is to conditionally enable/disable or show/hide UI components. Usually, to accomplish this, you dynamically look-up a UI component to change its visibility state. In ADF Mobile v 1.0 however there is no such component look up and the requirement thus needs to be implemented differently.
LBO027 ADF Mobile : Implementing the "Pull to Refresh" Pattern {] 28-FEB-2013
One very common pattern in Mobile Apps is the use of "pull" to refresh a list of data in an App. For one of my projects I suggested to use this pattern and I had to figure out a way to implement this in ADF Mobile. In this post I show you a way to implement this.
DSI029 Usage of User Preferences in ADF Mobile {] 19-FEB-2013
Preferences enable you to add settings that can be configured by end users. In this article will see how to use adfmf:preferenceList to change the display name format setting in the Contacts list at run time.
ACC106 ADF Mobile: Imageupload to Server {] 13-FEB-2013
ADF Mobile is a framework for ADF developers to build on-device mobile applications for the Android and Apple iOS platform. Because applications are deployed to the native device, native device features like camera can be integrated in ADF applications. A common question about ADF Mobile is how to upload pictures taken with the device camera or chosen from an album to the srever using web Services. In this article I provide asample for the above mentioned use case and explain how it works
DSI028 ADF Mobile Email - Send Multiple File Attachments with amx:selectManyCheckbox option {] 11-FEB-2013
Here's a use case: A presenter is showing presentation on their Android/iPhone/iPad devices to the client. After the presentation, client may asks for the presentation files for there further understanding. Now presenter wants to attach all the files used in presentation and send mail to the client.
DSI027 Adf Mobile - Iterate through all the rows in tree binding using CollectionModel {] 08-FEB-2013
Scenario is how to iterate through all the rows in tree bindings using managed bean method, using collectionModel we can get the rows. collectionModel exposes a collection of data, EL expressions used within a component that is bound to a collectionModel can be referenced with a row variable, which will resolve the expression for each element in the collection.
DSI025 ADF Mobile - Access Device Native SQLite Database to Store Data {] 24-JAN-2013
How to access device native SQLite database to store data and perform CRUD operations, In this article I will show on how to read data for display, create and save new record to the database.
ABA220 ADF Mobile - Device Native Database Access and Usage {] 11-JAN-2013
LBO026 ADF Mobile : Device Interaction API - Pictures, GPS and Email With Attachments {] 27-DEC-2012
During the AMIS ADF Masterclass I showed how to take a picture from within an ADF Mobile application, attach it to an Email and send that email out to several recipients. To top it of, I even added the GPS coordinates to the subject, so you know where the picture was taken. And all of that with the push of one single button. Sounds complicated ? Well actually it is very simple.
ABA214 ADF Mobile - Geo Location Synchronization {] 18-DEC-2012
ABA212 ADF Mobile - Geo Location and Google Maps App {] 11-DEC-2012
ABA210 ADF Mobile - Implementing Reusable Mobile Architecture {] 04-DEC-2012
ABA207 ADF Mobile - Live on iPhone Device {] 26-NOV-2012
ABA206 ADF Mobile - Secured Web Service Access {] 23-NOV-2012
ABA200 ADF Mobile - Login Functionality {] 30-OCT-2012
ABA129 iPhone Web Application Development With ADF Mobile Browser {11.1.1.x] 30-OCT-2011
Difference compared to previous revision
<span>(No Modifications)<span>
Please Confirm