Skip to main content

Posts

Showing posts from 2012

ADF Mobile : Device Interaction API - Pictures, GPS and Email With Attachments

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. There are two ways to interact with device services. One is by using the page Definition, the second is by using the API.I decided not to use the pageDef, but to invoke the device datacontrol from java by using the API. Then it is also possible to invoke multiple actions in one java method. In this case I take a picture, get the coordinates and send an email. How to take a picture ? Taking a picture is easy. Just call the getPicture() method, and make sure (for this use case) to set Destination Type to File. public String getPicture(){     //destinationType = 1 so that the image is returned as a filename   

Book Review : Oracle ADF Real World Developer's Guide

In October 2012 yet another ADF Book was published. This book "Oracle ADF Real World Developer's Guide" is authored by Jobinesh Purushothaman. Jobinsh works with Oracle as a Principal Solutions Architect for the Oracle Application Development Framework. The book is full of essential tips and tricks for building ADF applications. In this post I will share my book review with you and I give you the chance to win a free copy. This book is suitable for ADF developers who are looking forward to build healthy and better performing applications using Oracle ADF. A book filled with step-by-step instructions and real-time examples with illustrations, diagrams, and tips that help developers learn the visual and declarative programming model offered by ADF. Using this book, readers will learn to get started with building business services using ADF business components, validate business data in different layers of an application and understand the use of EJB and web ser

ADF Mobile : Your First Navigation and Device Interaction

Now ADF Mobile is generally availble, it is now time to create your first ADF Mobile application. In this post I will show you how to create a simple application that contains of two pages with navigation. A bonus for this post is that you will see how to get a picture from the filesystem (or by using the device camera) from within your ADF mobile application Getting started To work with ADF mobile you need to download the JDeveloper 11.1.2.3 and the ADF mobile extension and install both. After installing JDeveloper and adding the ADF Mobile extension, you will be able to create a new ADF Mobile Application. In the new gallery you wil find the ‘Mobile Application’ under the applications node. Accept all the defaults and the JDeveloper application is created for you. What you see are two projects. One called the application controller, and a second one, the viewController. JDeveloper also adds application-level and project-level artifacts. The applicationController contains s

ADF Mobile : Finally released and ready to use

After extensive beta testing oracle announced last week that ADF Mobile is now generally available and can be used to build multi platform on device apps. I finally am allowed to share my knowledge in blogposts and other kinds of publications. Using JDeveloper and the ADF Mobile extension, it is very easy to create apps for both the iOS and Android platform. If you only want to create apps for Android, you don’t need a mac, however if you want to create apps voor iOS you really do need a mac to compile the ADF mobile app for iOS. ADF Mobile provides a natural extension of enterprise/internet applications to mobile clients by providing tools, services, and infrastructure to protect against technology shifts. An application built with ADF Mobile framework installs on a smart device, renders user interface via HTML5, and has access to device services. This means the programming model is primarily web-based, which offers consistency with other enterprise applications as well as easier

My OOW 2012 Session Schedule, and more

This years visit to Oracle Open World is for me the best of both worlds. First of all I get to attend one of the biggest, if not the biggest, IT conferences in the world. Second, I have two presentations. Both are on Sunday afternoon. The first one is a Fusion Middleware Live Development session where we as a team show you the steps involved in creating an application using nearly all parts of Fusion Middleware. My role in the team is to explain how we build the UI part of the application and how we used ADF to do that. Also I will show you how you can create an interactive dashboard using DVT components such as graphs and gauges. More info on this session can be found here . Right in the middle of this session I have to leave the room in order to go to my next presentation. This presentation is called "mobile development with Oracle JDeveloper and ADF". In this session I show you some of the options that you have if you want to extend your enterprise application to mobile

ADF 11g : Adding close this / close others / close all to the UIShell

During one of my presentations at ODTUG KScope12 in San Antonio I showed how to add a menu with close this / close others / close all to the UIShell. This pattern is very common throughout modern browsers and other programs that use any kind of tabbed navigation. Even JDeveloper itself uses this functionality. In this post I'll describe how to add this functionality to the UIShell. The UI Shell. The UIShell used in this post is not the UIShell that can be downloaded from Oracle OTN. There are several reasons why I do not use this particular UIShell, but the main reason is that it is not state safe. The UI Shell that I use, is the one that is available on blogs.oracle.com/jheadstart/entry/core_adf11_uishell_with_dynamic With that UI Shell it is actually very simple to implement this pattern. The Menu Itself The menu is implemented in a popup, containing a menu component woth nested commandmenuitems. These items are responsible for either close this, close all and close

My report from ODTUG KScope 2012.

I landed only a couple of hours ago and here's my report form Kscope 2012 in San Antonio. As I write this, KScope is still waking up for the final day. Anyway, for me KScope was over yesterday. The venue, the JW Marriott San Antonio, was IMHO somewhat in the middle of nowhere, which is a pity given the fact that downtown San Antonio is beautiful. It took the free shuttle bus about 35 minutes to get there. Anyway, I was not around for site seeing, I was visiting the conference. At the conference I joined the Fusion Middleware track, not only as an attendee but also as a presenter of two sessions.. With over 30 sessions and the Sunday Symposium, this years FMW track again was a very usefull track for everyone that wanted to learn about FMW.Most of the session where ADF related, however there were a couple of webcenter and SOA sessions as well. Sunday The FMW Sunday symposium started with a status update for Oracle ADF. Three product managers (sorry

ADF 11g : How to create a climate Graph with ADF DVT

While preparing my trip to ODTUG KScope I needed to know whether or not I have to take shorts with me. I looked up the average temperature in San Antonio for June and July, and I it was clear. Shorts are needed..... I struck me that wherever I looked, all the climate data was displayed in the same kind of graph.  Climate Graphs as shown in the picture below ussually contain information about temparature and precipitation, Maximum, Minimum and Average temperature per month as well as precipitation per month. I wondered if it is possible to create such a graph with ADF Data Visualization Tools. In this post I'll show you how to create such a climate graph. It looks quit obvious. Create a graph with 3 line sections and one bar section, a combination of several types. The DVT component set contains a component. This is the one to go for. You can even pick a Dual Y axis in order to show a temperature axis and precipitation axis When you use this component you will find ou

ADF Conference Season

Last week I attended OBUG Connect Conference, the Oracle Benelux User Group Conference. It was a great conference where I presented about the new to come ADF Mobile Framework. This is not yet Generally Available, but because of the good relationship with Oracle Productmanagement I was able to get hold of some very early sneak peaks so I could prepare a great presentation. I am not yet able to share anything in this post, however, feel free to contact me if you need to know more. I will see what I can do for you. As soon as I can share the presentation, I will host a link on my blog. There is an oline photo impression of this conference, with a couple of photos of the presentation, and the live Fusion Middleware Development session. Not only did I do my presentation, I was also part of the live Fusion Middleware Development team, next to Ronald van Luttikhuizen, Lonneke Dikmans, Steven Davelaar, Edwin Biemond en Lucas Jellema. An impression of this session can be found