- use the “Import Module…” function to include the mybees SDK
- After you’ve imported the module click on “Open Module Settings” and add dependencies from this module.
- Now in build.gradle add this dependencies:
dependencies {
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.android.support:appcompat-v7:23.0.1'
} - Open your strings.xml file. Example path: /app/src/main/res/values/strings.xml.
- In your Manifest.xml add:
Permission:
<uses-permission android:name="android.permission.INTERNET"/>
Meta data:
<meta-data android:name="com.mybees.android.app.CLIENT_ID" android:value="@string/microbees_clinet_id" />
Add a new string with the name microbees_clinet_id and value as your MicroBees Client ID