Learn About Building an Android Application with Oracle Mobile Hub
Your customers are mobile and they expect to access your services anywhere. While a common approach is to create a mobile version of a web page, mobile users prefer mobile applications, ideally customized to their device.
In order to provide mobile access to your services, you'll write a mobile application that connects to your backend services. Oracle Mobile Hub is a cloud-based service that provides a unified hub for developing, deploying, maintaining and analyzing mobile applications.
Oracle provides software development kits (SDKs) for many mobile platforms like Android and iOS. These client SDKs let you use Oracle Mobile Hub features and custom APIs that you develop through Oracle Mobile Hub in your applications.
Oracle Mobile Hub includes a set of platform APIs that you can use in your mobile applications from the SDK or with REST calls. Some of the available platform APIs include:
- Notifications
- Storage
- Location
- Database access
- App policies
Also you can build your own custom APIs, to serve your own needs. These APIs are usually implemented in Node.js code.
Architecture
This architecture diagram shows the common way to connect your Android mobile application to Oracle Mobile Hub by using the Oracle Mobile Hub Android SDK, or REST services.

Description of the illustration mobile-app-architecture-android.png
You use Oracle Mobile Hub to develop and deploy your own custom REST API, or use a connector to another REST API. You develop your application using Android SDK and Java programming language, and the Oracle Mobile Hub Android SDK. Your application makes API calls directly to Oracle Mobile Hub or by using REST services that Oracle Mobile Hub provides.
About Building an Android Application with Oracle Mobile Hub
The articles in this solution are intended to help you develop a mobile application for Android using Oracle Mobile Hub. Follow these steps when you develop your Android application.
- Create a mobile backend in Oracle Mobile Hub.
- Download the Oracle Mobile Hub service SDK for Android from Oracle Technology Network (OTN), and configure it for your mobile application.
- Create a storage collection that serves as a container for your mobile application.
- While developing your application, use the Oracle Mobile Hub SDK to write Java code, and call platform and custom APIs.
- Test your application using the Android emulator.
About Required Services and Roles
This solution requires the following service:
- Oracle Mobile Hub
These are the roles needed for Oracle Mobile Hub.
Service Name: Role | Required to... |
---|---|
Oracle Cloud: Administrator | To manage mobile users, roles, and realms. |
Oracle Mobile Hub:
MobileEnvironment_MobileUserConfig
and
MobileEnvironment_MobileUserMgmt
team member roles
|
To manage mobile users, roles, and realms. |
See Learn how to get Oracle Cloud services for Oracle Solutions to get the cloud services you need.
Before You Begin
Android developers use the Oracle Mobile Hub SDK to create mobile applications.
The SDK simplifies authentication with Oracle Mobile Hub, and provides Java wrapper classes for many Oracle Mobile Hub platform APIs.
- Read the Learn about APIs for your mobile apps solution.
- Read the Learn how to access data from an Autonomous Mobile Cloud application solution.
- Obtain the SDK from Oracle Technology Network (OTN) downloads page.