Unexpected Gift from Oracle Network

Got this gift from Oracle Network as a surprise


Note: I reached Guru status in OTN long back(more than 4 years and receiving reward for it now :))

How to get the selected value for the SelectOneChoice in ValueChangeListener

Here is the snippet to get the selected value for the item selected in a select one choice inside the value change listener

Integer in = (Integer)valueChangeEvent.getNewValue();

JUCtrlListBinding fc = (JUCtrlListBinding)ADFUtil.evaluateEL("#{row.bindings.SelectOneChoiceAttribute}");
String selectedValue = (String)fc.getListIterBinding().getRowAtRangeIndex(in).getAttribute("ListDisplayName");

Android Development – made simple

Android Development

This tutorial is target for those who knows basic smartphone usage and then knows to program in java, others can also checkout this tutorial after knowing concepts of java

the installation includes downloading the Android Studio, checking for proper SDK, connect your phone through USB using the ADB driver
make sure you have it installed before starting to develop an application

Next is the Architecture
1st the Application layer is where all your application sits
2nd layer is the framework layer which interacts with the application for different purpose and services.
3 layer includes the libraries used for different operations such as media, graphics etc. this layer also contains Android Run time components
4 layer is the linux kernel as android is built on top of linux shell

Components of Android
Activities – user interaction with the smartphone
services – background process for the application
broadcast Receivers – system events and communications between os and the application
content providers – data related management

Fragments – portion of the ui within an activity. you need to open a contact us page within activity
view – UI element drawn in the screen. you want a rectangle filled with red colour with rounded corner
layouts – screen formats for the views.  – linear layout, grid layout etc
intents – interaction between components. eg. u need to call the camera service from your application or dial a phone number
resources -storage for all strings, values , constants styles etc. value pair
manifest – this is the configuration file for your application. some thing like a web.xml in J2ee application

To know more see this video

Download the presentation from here

Packt’s celebrates 10 years with a special $10 offer

packt 10 years
Packt’s celebrates 10 years with a special $10 offer
For more info click here

Packt Publishing celebrates their 2000th book

Packt Publishing celebrates their 2000th title with an exclusive offer – We’ve got IT covered!

for more info check this


Packt’s $5 eBook Bonanza is back!

Packt’s $5 eBook Bonanza is back!

Following on from the success of last year’s festive offer, the publisher will be celebrating the holiday season with an even bigger $5 Bonanza.

From December 19th, customers will be able to get any eBook or Video from Packt for just $5. This sale covers every title in the 1700+ range and customers can grab as many as they like until January 3rd 2014 – more information is available at http://bit.ly/1jdCr2W