How to Build Starter Project Android Mobile Apps in Mesosfer Backend as a Service
This is a tutorial about How to Build Starter Project Android Mobile Apps in Mesosfer Backend as a Service
In this section you will learn about How to Build Starter Project Android Mobile Apps in Mesosfer Backend as a Service. This tutorial will be divided in 9 sessions. You will be able to create Android Application in easy and fastest way as possible using Mesosfer Backend as a Service.
For the first session, you will learn about creating starter Android project in Mesosfer. For detail information about Mesosfer and the features, you can visit Mesosfer Website and Mesosfer Documentation.
To follow the step in this tutorial, you should set up some prerequisites below:
- Sign up for an account in Mesosfer Backend as a Service.
- Install latest android studio. In this tutorial, the author used android studio version 2.2.1
To setup first, please download the most recent library file and then copy it to the libs folder of your android projects.
Then edit the file build.gradle in the app. Define the code below before dependencies.
Then add this code below in the dependencies:
Create a new class, then insert script initialization below:
Mesosfer.initialize(this, "YOUR-APPLICATION-ID-HERE", "YOUR-CLIENT-KEY-HERE");
Complete code in the Class as in the picture below:
Don’t forget to initialize your application class to
To fill ApplicationID and Application Key to the Class MesosferApp you must create an application in the Mesosfer and select DATA as ApplicationType, like the picture below:
Then get into the apps you just created, and then to the menu appSetting to see Generate Application and Application Key Id. Those key is used for communication between Android apps and Mesosfer.
Everything is set! Download full version code here.
We’ve made a Android Apps project initialization using Mesosfer. It only needs one line of code to build it. Easy, right?
Mesosfer helps you connect your project to the cloud. Cut off the development process so you can straight into the delivery process instead stumble on the complicated infrastructure.