Commit 8c532929 authored by Christof Wolke's avatar Christof Wolke

integrate the Estimote SDK

parent 3badf8eb
...@@ -21,6 +21,8 @@ android { ...@@ -21,6 +21,8 @@ android {
dependencies { dependencies {
compile fileTree(dir: 'libs', include: ['*.jar']) compile fileTree(dir: 'libs', include: ['*.jar'])
// Estimote SDK
compile 'com.estimote:sdk:0.10.8@aar'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-annotations'
}) })
......
...@@ -3,6 +3,8 @@ package de.uni_oldenburg.bidl; ...@@ -3,6 +3,8 @@ package de.uni_oldenburg.bidl;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
import android.os.Bundle; import android.os.Bundle;
import com.estimote.sdk.SystemRequirementsChecker;
public class MainActivity extends AppCompatActivity { public class MainActivity extends AppCompatActivity {
@Override @Override
...@@ -10,4 +12,11 @@ public class MainActivity extends AppCompatActivity { ...@@ -10,4 +12,11 @@ public class MainActivity extends AppCompatActivity {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main); setContentView(R.layout.activity_main);
} }
@Override
protected void onResume(){
super.onResume();
// is Bluetooth on, is Location on, etc.
SystemRequirementsChecker.checkWithDefaultDialogs(this);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment