Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christof Wolke
BIDL
Commits
8c532929
Commit
8c532929
authored
Jul 28, 2016
by
Christof Wolke
Browse files
integrate the Estimote SDK
parent
3badf8eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
BIDL/BIDL/app/build.gradle
View file @
8c532929
...
...
@@ -21,6 +21,8 @@ android {
dependencies
{
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'
,
{
exclude
group:
'com.android.support'
,
module:
'support-annotations'
})
...
...
BIDL/BIDL/app/src/main/java/de/uni_oldenburg/bidl/MainActivity.java
View file @
8c532929
...
...
@@ -3,6 +3,8 @@ package de.uni_oldenburg.bidl;
import
android.support.v7.app.AppCompatActivity
;
import
android.os.Bundle
;
import
com.estimote.sdk.SystemRequirementsChecker
;
public
class
MainActivity
extends
AppCompatActivity
{
@Override
...
...
@@ -10,4 +12,11 @@ public class MainActivity extends AppCompatActivity {
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_main
);
}
@Override
protected
void
onResume
(){
super
.
onResume
();
// is Bluetooth on, is Location on, etc.
SystemRequirementsChecker
.
checkWithDefaultDialogs
(
this
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment