Crie Aplicações Mobile Híbridas Escritas em Java, para iOS e Android
-
Upload
bruno-borges -
Category
Technology
-
view
147 -
download
2
description
Transcript of Crie Aplicações Mobile Híbridas Escritas em Java, para iOS e Android
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 2
Mobile Development
Denis Abrantes
Product Management
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 3
Mobile Web App (Viewed in Safari)
3 Mobile Application Types
Mobile Web Apps
Online application accessed through mobile device browser
Browser governs access to local storage and device services (camera, GPS, etc.)
Highly reusable code
Highly portable
Native Mobile Apps
Application installed & runs on device
Optimized for specific mobile platform and form factor
Direct access to local storage and device services
Code reuse can be complex
Portability requires work
Hybrid Mobile Apps
Application installed & runs on device with HTML5 UI
Optimized for specific mobile platform & form factor
Direct access to local storage and device services
Code reuse simplified
Portability simplified
Native App (iOS)
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 4
Java HTML5
Use Existing Skills Set
Built On Standards
Use Existing Skills Set
Built On Standards
Mobile Development Unique Hybrid Mobile Framework
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 5
Mobile Development Overview
Thin Native container on each
platform
– Allows for native application
install
– Allows for device interaction
– Push notification support
HTML5/JavaScript based
Frontend
Java Backend
Encrypted SQLite
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 6
Business Services Development
Code logic with Java
Lightweight JVM
Native library on device
Easy access to remote services
– SOAP
– REST (JSON/XML)
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 7
UI Development
Device native user experience
Spring board and tab bar for
feature navigation
Advanced HTML5-based UI
– Full animation, gesture, and
touch interaction support
Interactive Data Visualization
Components
Rich User Interfaces
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 8
UI Development
XML format built visually in JDeveloper
50+ Components
Drag & Drop to the Page
Declarative data binding
Rendered into HTML5 on device at RT
ADF Mobile XML (AMX)
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 9
Rich Component Set
Oracle proprietary and confidential
• Carousel • T-Maps
• ListView
• Gauge
• Charts
• GeoMap
• Basic Components • Forms
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 10
ADF Controller
Define the flow of your application
Navigate between pages
Similar to ADF Web Controller
True MVC Architecture
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 11
ADF Binding – Simplify UI Creation
Drag and drop service components
to create UI components
Drag data or methods
Drop as various UI components
Easily expose
– Java classes
– Web services (SOAP and REST)
Map Data to the UI
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 12
Device Features Interaction
Leverages Apache Cordova
Drag and drop to use
– SMS
– Contacts
– GPS
– Camera
Or access programmatically
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 13
Local Data Storage
SQLite database
– Portable, lightweight relational database
JDBC database access
Encrypted data
Encrypted
SQLite DB
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 14
Native Push Notification Support
Push notifications to mobile users
from a single code base
Leverage native push notification
– iOS: Apple Push Notification
– Android: Google Cloud Messaging
Service
Tightly integrated
– With the application lifecycle and
business logic
Copyright © 2103, Oracle and/or its affiliates. All rights reserved. 15