Oracle Mobile Application Framework Developer Guide: Build Multiplatform Enterprise Mobile Apps

Book description

Master Oracle Mobile Application Framework

In Oracle Mobile Application Framework Developer Guide, Oracle ACE Luc Bors explains how to use this powerful tool to create multiplatform mobile apps based on a single code base. Detailed examples and ready-to-use code are provided throughout the book. A complete, step-by-step sample application highlights the robust functionality of Oracle Mobile Application Framework, including data visualization, UX patterns, geographical maps, push notifications, and more. Take full advantage of the visual and declarative development features of Oracle Mobile Application Framework with help from this Oracle Press resource.

  • Configure your IDE for Android and Apple iOS application development
  • Build AMX pages and task flows for mobile applications
  • Work with the binding layer and data controls
  • Create application features and configure access to them in the springboard and navigation bar
  • Call web services using a data control and create an on-device database
  • Implement device interaction services
  • Debug, test, and secure Oracle Mobile Application Framework applications
  • Build an interactive sample app that maximizes Oracle Mobile Application Framework capabilities

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication
  5. About the Author
  6. Contents
  7. Acknowledgments
  8. Foreword
  9. Introduction
  10. Part I Understanding the Oracle Mobile Application Framework
    1. 1 Introduction to Mobile Application Development
      1. A Short History
      2. Mobile Design Principles
      3. Mobile Platforms
        1. What Is iOS?
        2. What Is Android?
        3. What About Windows?
      4. What Technologies Do I Need to Know?
      5. HTML5
        1. CSS3
        2. JSON
        3. Apache Cordova and PhoneGap
      6. A Challenge in Mobile Development
      7. Introducing Oracle Mobile Application Framework
      8. The Mobile Application Framework Runtime Architecture
      9. Server-Side Components of the Oracle Mobile Application Framework Runtime Architecture
      10. Developing with the Oracle Mobile Application Framework
        1. Design the Oracle Mobile Application Framework Application
        2. Develop the Oracle Mobile Application Framework Application
        3. Deploy the Oracle Mobile Application Framework Application
        4. Other Tasks During Application Development
        5. Deploy the Oracle Mobile Application Framework Application to Production
      11. Summary
    2. 2 Setting Up Oracle JDeveloper and Your Development Platform
      1. Preparing for Android Development
        1. Downloading and Installing Android APIs
        2. The Android Emulator
        3. Android Emulator Intel HAXM Software
        4. Preparing for iOS Development
        5. The iOS Developer Program and the Apple ID
        6. Application Distribution
        7. Downloading Xcode
        8. Launching the iOS Simulator
        9. Using Multiple Versions of iOS Simulator
      2. Setting Up Oracle JDeveloper
        1. Setting Up Oracle JDeveloper for Android Development
        2. Setting Up Oracle JDeveloper for iOS Development
      3. Summary
    3. 3 Oracle JDeveloper for Oracle Mobile Application Framework Development
      1. Quick Overview of Oracle JDeveloper
      2. Exploring and Customizing the Oracle JDeveloper IDE
        1. The Windows in Oracle JDeveloper
        2. The Code Editor
      3. Creating an Oracle Mobile Application Framework Application
      4. Version Control in Oracle JDeveloper
      5. Summary
    4. 4 Building AMX Pages
      1. Introducing Component-Based Development
        1. Available Components in the Oracle Mobile Application Framework
        2. Changing Component Properties
      2. Layout Components
        1. The List View
        2. Creating Your Own List View Layout
        3. The PanelSplitter Component
      3. Working with Gestures
        1. How to Use Gestures
        2. Reordering Items in a List
      4. Skinning Oracle Mobile Application Framework Applications
      5. Oracle Mobile Application Framework’s Data Visualization Tools
        1. Creating a Bar Chart
        2. Using Gauge Components
        3. Using the Map Component
      6. Oracle Mobile Application Framework Task Flows Explained
        1. Navigation
        2. Global Navigation
      7. Summary
    5. 5 Bindings and Data Controls
      1. Creating a Simple Data-Bound Oracle Mobile Application Framework AMX Page
      2. Responsibilities of the Files Involved in the Model Layer
        1. adfm.xml
        2. DataControls.dcx
        3. DataBindings.cpx
      3. The PageDefinition File
        1. What Binding Types Are Available?
        2. What Executables Are Available?
      4. The Data Control
        1. The Creation of a Bean Data Control
        2. The Data Controls Overview Editor
      5. How the Different Parts Connect
      6. Implementing Validations
        1. Interacting with the User
      7. Other Data Controls Used by Oracle Mobile Application Framework
      8. Working with Bindings Programmatically
        1. Getting and Setting Bound Attribute Values
        2. Invoking Methods
      9. Summary
    6. 6 Application Features
      1. Oracle Mobile Application Framework Feature and Application Configuration Files
        1. The Application Configuration File
        2. The Feature Configuration File
      2. Define Application Features
        1. Defining Oracle Mobile Application Framework Feature Content
        2. Oracle Mobile Application Framework Feature Content
        3. Remote URL and Local HTML
      3. How to Control the Display of Application Features
      4. Working with Springboards and Navigation Bars
        1. The Navigation Bar
      5. Springboard Navigation
        1. Using an AMX Page as a Custom Springboard
      6. Summary
    7. 7 Using Web Services and the Local Database
      1. Using Web Services
        1. SOAP-XML vs. REST-JSON
        2. SOAP-XML Services
        3. REST-XML Services
        4. REST JSON Services
      2. Using the Local Database
        1. Why Use the SQLite Database?
        2. How to Use the SQLite Database
        3. Connecting to the SQLite Database
        4. Encrypting the SQLite Database
        5. Limitations of SQLite
        6. SQLite Creation of Database Objects
        7. Data Selection and Manipulation with SQLite
        8. The Concept of Property Change Events
      3. Summary
    8. 8 Device Interaction
      1. The Concepts of Device Interaction
        1. Using the DeviceFeatures Data Control
        2. Using the Java APIs
        3. Using the JavaScript APIs
        4. The DeviceScope Object
      2. Implementing Device Interaction
        1. Interacting with the Contact List
        2. Interacting with the Camera
        3. Sending Text Messages
        4. Sending E-mails
        5. Integrating with GPS
        6. File Display
      3. Implementing Common Use Cases
        1. Use Case 1 for Device Interaction: E-mail with Photo Attachment
        2. Use Case 2: Tracking Your Daily Workout Session
        3. Use Case 3 for Device Interaction: Creating a Custom Contacts App
      4. Summary
    9. 9 Debugging and Testing Oracle Mobile Application Framework Applications
      1. Testing Strategies for Mobile Applications
        1. Testing on Real Devices or Using Emulators/Simulators
      2. Testing an Oracle Mobile Application Framework Application
        1. Unit Testing Oracle Mobile Application Framework Applications
      3. Debugging an Oracle Mobile Application Framework Application
        1. Configure Debug Mode
        2. Start a Debug Session
        3. Using Breakpoints to Debug Java Code
        4. The Oracle JDeveloper Debugger
        5. Debug JavaScript
        6. Logging
      4. Summary
    10. 10 Security and Deployment
      1. Oracle Mobile Application Framework Security Concepts
        1. Implementing Login
        2. Understanding the Authentication Flow
      2. Deploying Oracle Mobile Application Framework Applications
        1. Deployment Profiles
        2. Deploying for the Different platforms
      3. Summary
  11. Part II Developing the Sample Application
    1. 11 Explaining the TAMCAPP Sample Application
      1. The Data Model
        1. The Enterprise Data Model
        2. The On-Device Data Model
      2. The Web Services
      3. TAMCAPP Application Design and Flow
      4. The Features
      5. Registration and Login
      6. The Springboard
      7. Attendees
      8. Social Media
      9. Maps
      10. Conference Sessions
        1. My Schedule
        2. Speakers
        3. Organization
      11. Tablet Layout
      12. Summary
    2. 12 Developing the Springboard
      1. Creating the Application
      2. Defining the Features of the TAMCAPP Application
        1. Working with Feature Archives
        2. Local HTML: The Social Media Feature
        3. Remote URL: The Organizations Remote Feature
      3. Using Images
      4. Creating the TAMCAPP Custom Springboard
      5. Summary
    3. 13 Building the Conference Session Feature
      1. Implementing Browse Conference Sessions
        1. Connecting to the Data
        2. Creating the Conference-Session Bean
        3. Creating the Conference Session POJOs
        4. Creating the Bean Data Control
        5. Building the Conference Session List AMX Page
        6. Implementing Search for Conference Sessions
      2. Preventing Unnecessary Web Service Calls
      3. The Conference Session Detail Page
        1. Navigating from the List to the Details
      4. Viewing the Conference Session Paper
      5. Creating Visible Track Indicators
      6. Setting the Indicator Color
      7. Evaluate Conference Sessions
      8. View Conference Session Evaluations
      9. The Schedule Builder
        1. Setting Up the Local SQLite Database
        2. Adding a Conference Session to mySchedule
        3. Synchronizing the Schedule Data
        4. Reading and Writing to the Local Database
      10. Summary
    4. 14 Building the Attendees Feature
      1. Implementing the Attendees List AMX Page
        1. Implementing Navigation to the Attendee Details AMX Page
        2. Smart Navigation
      2. Implementing the Attendee Details AMX Page
        1. Working with the Attendee Information
      3. Editing Personal Information
        1. Saving the Changes
        2. The Attendee Image
      4. Summary
    5. 15 Developing the Maps and Social Network
      1. Implementing the Maps Feature
        1. The Venue Map
        2. The Points of Interest Map
      2. Embedding the Twitter Timeline
        1. Exploring the Twitter Widget
        2. Using the Widget in the Sample Application
        3. Whitelisting the Twitter Domain
      3. Summary
    6. 16 Configuring Security and Preferences
      1. The Initial Registration Process
        1. The Logic Behind the Initial Registration
      2. Implementing Security in TAMCAPP
        1. TAMCAPP Login
        2. Application Preferences
        3. Implementing the TAMCAPP Preferences
        4. Using Preferences from Java Code
      3. Summary
    7. 17 Implementing Push Notifications
      1. Understanding the Push Notification Architecture
      2. Setting Up the Cloud Services
        1. Google Cloud Messaging
        2. Setting Up Apple Push Notification Service
      3. Creating a Push Notification Provider Application
        1. Configuring the Provider Application
        2. Pushing to Android
        3. Pushing to iOS
      4. Implementing Push Support in TAMCAPP
        1. Registering with the Provider Application
        2. Configuring How Notifications Are Displayed
      5. Responding to Push Notifications
        1. The onMessage() Method
        2. The Feature Life Cycle Listener
        3. Working with the Push Notifications Payload
      6. Summary
    8. 18 Enhancing TAMCAPP
      1. Implementing Tablet Layout
        1. Design Considerations and How the Framework Can Help You
      2. Using a Barcode Scanner to Register Conference Session Attendances
        1. Explaining the Use of URL Scheme in Oracle Mobile Application Framework
      3. Using Cordova Plugins
        1. Preparing the TAMCAPP Application
        2. Adding the Android Barcode Plugin
        3. Adding the iOS Barcode Plugin
        4. Using the Plugin in the Oracle Mobile Application Framework Application
      4. Add a Custom Search Component to TAMCAPP
        1. Steps to Create the Custom Search Component
        2. Preparing the Feature to Use the Component
      5. Implementing a Background Process
      6. Summary
  12. Index

Product information

  • Title: Oracle Mobile Application Framework Developer Guide: Build Multiplatform Enterprise Mobile Apps
  • Author(s): Luc Bors
  • Release date: October 2014
  • Publisher(s): Oracle Press
  • ISBN: 9780071830867