![]()
For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Develop native applications in Android Studio
To create an IBM MobileFirstâ„¢ Platform Foundation Android app add the necessary SDK files to our Android Studio project and register your app.
To develop a native application, add the MobileFirst SDK files to our Android Studio project. Then register your app using IBM MobileFirst Platform Operations Console or the MobileFirst Platform CLI. Develop and compile your app.
We can set up your Android Studio to include the MobileFirst by using Gradle or by using a manual or remote method of retrieving the files. For more information, see Methods of setting up your environment.
Once you have the IBM MobileFirst Platform Foundation SDK files set up in your Xcode project, we can register your app on the server. For details, see Register Android applications to MobileFirst Server.
Note: The MobileFirst APIs cannot be activated from within an Android Service.
The following topics show you how to set up an initial project and start developing.
- Methods of setting up your environment
We can prepare your environment for developing MobileFirst applications by copying several files to our Android Studio project.- Register Android applications to MobileFirst Server
Register your Android application to an instance of MobileFirst Server to establish communication with the server and to provide the server with information about your app. We can register your app using the IBM MobileFirst Platform Command Line Interface (CLI) or the IBM MobileFirst Platform Operations Console.- Android client properties file
The mfpclient.properties file defines the properties that your native app for Android requires to use the MobileFirst native API for Android.- Some initial code for accessing the server
A simple startup process for Android-based applications for accessing the server is described here.
Parent topic: Develop the client side of a MobileFirst application