1. Android Studio Installation¶
MetaSensors are supported on Android.
For this tutorial, we will use Android Studio in Windows. Our APIs are available in Java.
Android developers can create Apps for Android devices. Any App you develop with our APIs can be released on the Google Play store.
You should be familiar with the Java language and know how to deploy Apps before starting the Android Java tutorials.
We have NOT tested Android Studio with our APIs on Linux or MAC.
You will need to consider the following before starting the installation:
Make sure your OS and supporting tools are up to date.
Make sure your Android test device (such as an Samsung tablet or Google Pixel) supports Bluetooth4.0+
Make sure your Android device is running at least Android 4.3+ (numerous bug fixes in 4.4+)
To install Android Studio on Windows, proceed as follows:
If you downloaded an
.exefile (recommended), double-click to launch it.
If you downloaded a
.zipfile, unpack the ZIP, copy the android-studio folder into your Program Files folder, and then open the
android-studio > bin folderand launch
studio64.exe(for 64-bit machines) or
studio.exe(for 32-bit machines).
Follow the setup wizard in Android Studio and install any SDK packages that it recommends.
That’s it. The following video shows each step of the setup procedure when using the recommended
As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking
Help > Check for Update.
Please checkout the latest from the Android developer site regarding Bluetooth Low Energy support: https://developer.android.com/guide/topics/connectivity/bluetooth-le
A minimum of Android 4.3 (SDK 18) is required to use this library, however for the best results, it is recommended that users be on Android 4.4 (SDK 19) or higher.
Also please check your hardware, some Android phone and tablets do NOT support Bluetooth Low Energy or may do so, but not reliably. There is lots of device variation across Android tablets. Not all of them come with Bluetooth Low Energy so it’s important to check.
Most phones that were made in the pre
Ice Cream Sandwich Android era offered minimal or no BLE support. For example, the Galaxy S3 does not support BLE. Save yourself a headache and develop your Android App on a reliable new BLE compliant smartphone.
1.4.1. Developer Program¶
Google provides a great tutorial to publish, manage, and distribute your app worldwide: https://developer.android.com/distribute/best-practices/launch