More Related Content
Similar to Crie Aplicações Mobile Híbridas Escritas em Java, para iOS e Android (20)
More from Bruno Borges (20)
Crie Aplicações Mobile Híbridas Escritas em Java, para iOS e Android
- 2. Copyright © 2103, Oracle and/or its affiliates. 2 All rights reserved.
Mobile Development
Denis Abrantes
Product Management
- 3. Copyright © 2103, Oracle and/or its affiliates. 3 All rights reserved.
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)
- 4. Copyright © 2103, Oracle and/or its affiliates. 4 All rights reserved.
Java HTML5
Use Existing Skills Set
Built On Standards
Mobile Development
Unique Hybrid Mobile Framework
- 5. Copyright © 2103, Oracle and/or its affiliates. 5 All rights reserved.
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
- 6. Copyright © 2103, Oracle and/or its affiliates. 6 All rights reserved.
Business Services Development
Code logic with Java
Lightweight JVM
Native library on device
Easy access to remote services
– SOAP
– REST (JSON/XML)
- 7. Copyright © 2103, Oracle and/or its affiliates. 7 All rights reserved.
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
- 8. Copyright © 2103, Oracle and/or its affiliates. 8 All rights reserved.
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)
- 9. Copyright © 2103, Oracle and/or its affiliates. 9 All rights reserved.
Rich Component Set
Oracle proprietary and confidential
• T-Maps • Carousel
• ListView
• Gauge
• Charts
• GeoMap
• Basic Components • Forms
- 10. Copyright © 2103, Oracle and/or its affiliates. 10 All rights reserved.
ADF Controller
Define the flow of your application
Navigate between pages
Similar to ADF Web Controller
True MVC Architecture
- 11. Copyright © 2103, Oracle and/or its affiliates. 11 All rights reserved.
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
- 12. Copyright © 2103, Oracle and/or its affiliates. 12 All rights reserved.
Device Features Interaction
Leverages Apache Cordova
Drag and drop to use
– Email
– SMS
– Contacts
– GPS
– Camera
Or access programmatically
- 13. Copyright © 2103, Oracle and/or its affiliates. 13 All rights reserved.
Local Data Storage
SQLite database
– Portable, lightweight relational database
JDBC database access
Encrypted data
Encrypted
SQLite DB
- 14. Copyright © 2103, Oracle and/or its affiliates. 14 All rights reserved.
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