Setup and initialization
A basic understanding of Android development is needed to follow this tutorial.
You need Android Studio. Version >= 3.x installed on your machine.
Set up a dataBridges account and app
Before we jump right into setting up an application with dataBridges, you’ll need to create a dataBridges account and app, if you don’t already have one:
-
Sign up for a dataBridges account.
-
Create a new app by selecting Apps and clicking Create New button.
-
You can retrieve your app credentials from the App Keys tab.
Creating the Android application
Create a new project in Android Studio and follow the wizard to set it up. Name your app dbridgesapp
. Enter your company‘s domain name. The company domain affects the package name. We will set the domain to com.example
and the package name to com.example.dbridgesapp
.
Choose your minimum SDK. API 21 (Android 5.0) is just fine. Continue with the EmptyActivity
template chosen for you, and finish the wizard.
Add the INTERNET
permission to the AndroidManifest.xml
file.