Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
087f508
Scan optimizations (threaded)
julpup Dec 23, 2015
ef20a5e
Different layout, scan optimizations, room creation (no class atm), b…
julpup Jan 27, 2016
20766d6
Fixed scan speed
julpup Jan 27, 2016
6cd8c56
Added previous RSSI value save/display
julpup Jan 27, 2016
ceb96d3
Separated scan logic from Activities
julpup Feb 1, 2016
9cc02df
New Room class
julpup Feb 1, 2016
85f5db2
Devices for each room are bound correctly now
julpup Feb 8, 2016
ccf437d
Devices for each room are bound correctly now (2)
julpup Feb 8, 2016
6ff4858
Attempt at simple simple room calibration
julpup Feb 9, 2016
dbd0840
Simple room calibration
julpup Feb 10, 2016
4432a69
Simple room calibration (2)
julpup Feb 10, 2016
69e8e21
Added activity to show every devices calibration values
julpup Feb 10, 2016
46205e6
Added average value entry in settings
julpup Feb 10, 2016
3e049b4
Fixed room devices list items checking
julpup Feb 11, 2016
f6a3d5a
RSSI calibration Array list is now expandable, other minor changes
julpup Feb 12, 2016
5a543f5
RSSI calibration Array list is now expandable (v2), added additional …
julpup Feb 12, 2016
5627c0f
Renamed some classes, variables, methods; Added removal of Room, All …
julpup Feb 13, 2016
d9cb2b7
Added icons to Dialogs
julpup Feb 14, 2016
d120d12
Made ActionBar menu resource for each activity instead of a shared on…
julpup Feb 14, 2016
2932a69
Moved all GUI element text to strings.xml
julpup Feb 14, 2016
8f3b3b7
Fixed some strings
julpup Feb 15, 2016
a4e1fa8
Changed build tools module version from 23.0.1 to 23.02 - invalide & …
julpup Feb 15, 2016
557ed6f
Moved bluetooth adapter creation to Main Activity
julpup Feb 15, 2016
f835729
test
julpup Feb 15, 2016
fa7b284
Moved bluetooth adapter creation to Main Activity (fixed)
julpup Feb 15, 2016
c65c3d9
Changed ListView text size (incomplete)
julpup Feb 15, 2016
90dfc79
ListViews now adapt to text size
julpup Feb 15, 2016
8ced369
Fixed calibration button states
julpup Feb 15, 2016
c4a98e3
Moved onClick bindings from Activities to xml; Some minor changes to …
julpup Feb 15, 2016
790d9d8
Some minor changes to ui threads logic (v2)
julpup Feb 16, 2016
b34bcad
Changed RSSI array display components to single element and added exp…
julpup Feb 16, 2016
8fbfd46
Minor RSSI array display changes
julpup Feb 16, 2016
72e6d26
Removed unused ActionBar variables
julpup Feb 16, 2016
812ebd2
Removed unused code
julpup Feb 17, 2016
c81b0f7
Created setDefaultValues() for all Activities & moved some init code …
julpup Feb 17, 2016
8e0655f
Added saving to database & export to csv
Feb 17, 2016
e50e6da
Added export of single room calibration in csv form; creation of expo…
julpup Feb 17, 2016
9e36ca5
CSV now exports to external sd card
julpup Feb 18, 2016
b7152c2
Fixed creating, calibrating, going back to MainActivity, then AllRoom…
julpup Feb 18, 2016
70f6d15
Button to finish beacon selection now is disabled until at least 1 be…
julpup Feb 18, 2016
8ac998b
Minor changes - changed launcher icon
julpup Feb 19, 2016
62f9d1e
Fixed - app crash on intensive clicking in list when it is being fill…
julpup Feb 19, 2016
ab4cf90
Added CSV export button to ActionBar
julpup Feb 20, 2016
2fbf36f
Split action bar for more options space; Changed theme; Fixed calibra…
julpup Feb 20, 2016
1ef080a
Fixed AlertDialog messages
julpup Feb 21, 2016
cde1220
Changed SettingsActivity type to PreferenceActivity (incomplete)
julpup Feb 21, 2016
e205e68
Changed SettingsActivity type
julpup Feb 21, 2016
b5167bb
Merge pull request #1 from julpup/new-settings-preferences
julpup Feb 21, 2016
703ce90
Temp Fix - exporting to phone memory/sd card
julpup Feb 21, 2016
917686c
Updated Settings values refresh method
julpup Feb 21, 2016
f819040
Debug - added random beacon and RSSI values generator
julpup Feb 22, 2016
6703966
Minor SettingsActivity changes; Debug - pressing "Help" in MainActivi…
julpup Feb 22, 2016
52bfe1b
Preparation for current room detection
julpup Feb 22, 2016
7f5d25c
AlertDialog migration (incomplete)
julpup Feb 23, 2016
7bfa91d
AlertDialog migration v2 (incomplete)
julpup Feb 23, 2016
0fe6cfb
AlertDialog migrated
julpup Feb 24, 2016
33d05e6
Merge pull request #2 from julpup/separate-alertdialog-builder
julpup Feb 24, 2016
367bd8a
Values can now be loaded from DB after app restart; Debug - added loa…
Feb 24, 2016
6f8571a
Load from DB on startup (incomplete)
Feb 24, 2016
879e483
Added deletion of RSSI calibartion, Beacon, Room and AllRooms in DB a…
julpup Feb 24, 2016
c45faf7
test
julpup Feb 26, 2016
27d25fc
Added setting to select how many RSSI values should be saved in memor…
julpup Feb 26, 2016
c62f34e
Saved RSSI values are now displayed when scanning (static amount)
julpup Feb 26, 2016
e1bfdea
Saved RSSI values are now displayed when scanning (dynamic amount); R…
julpup Feb 26, 2016
96d3cba
Merge pull request #3 from julpup/shadow-scan-values
julpup Feb 26, 2016
c4f4f25
Changed RangeCalculator usage
julpup Feb 26, 2016
5ebc839
Added - prevent app from sleeping when scanning
julpup Feb 26, 2016
2b803d7
Merge pull request #4 from julpup/testing
julpup Feb 26, 2016
92d805a
Commented out JUnit dependency in project - net needed atm; Updated s…
julpup Feb 28, 2016
4523871
Fix - now all calibration RSSIs are loaded correctly from DB
julpup Feb 28, 2016
0c170fd
Merge pull request #5 from julpup/testing
julpup Feb 28, 2016
91bc6ce
Fix - no more generation of multiple callbacks when no devices are di…
julpup Feb 29, 2016
6f2d0cd
Reworked Scan Logic
julpup Mar 2, 2016
666993b
Merge pull request #6 from julpup/test
julpup Mar 2, 2016
3e3e08b
test
julpup Mar 2, 2016
b1655e6
Added duplicate room name check; Fixed - beacon selection for new room
julpup Mar 2, 2016
44e52b8
Merge pull request #7 from julpup/test
julpup Mar 2, 2016
7800e65
Added RoomDetector class (not working atm)
julpup Mar 2, 2016
c4197a3
Added basic detection of the room
julpup Mar 3, 2016
fdf5fce
Merge pull request #8 from julpup/test
julpup Mar 3, 2016
16d580b
Updated room detection; Added detected beacons "timeout"; Minor changes
julpup Mar 3, 2016
66e8406
Merge pull request #9 from julpup/test
julpup Mar 3, 2016
4993177
Modified room detection logic
julpup Mar 4, 2016
62bbbbb
Temporary - removed intervalic scan list clearing
julpup Mar 4, 2016
d13fa25
Fixed - correct beacons are now assigned when creating new room
julpup Mar 4, 2016
024a93f
Changed beacon (un)checked logic in NewRoomActivity; Minor UI changes
julpup Mar 5, 2016
4dc9c0b
Added setting to change room detection accuracy; Rooms are now loaded…
julpup Mar 6, 2016
cb9c783
Room detection code optimization
julpup Mar 6, 2016
c0cbfe6
Optimized Beacon class logic
julpup Mar 6, 2016
8434917
Merge pull request #10 from julpup/test
julpup Mar 6, 2016
87412d1
Fix - assigned beacons in new room now do not get calibrated rssi values
julpup Mar 7, 2016
3fe0be0
Fix - assigned beacons in new room now do not get calibrated rssi val…
julpup Mar 7, 2016
7e31c48
Fix - assigned beacons in new room now do not get calibrated rssi val…
julpup Mar 7, 2016
56c6110
Migrated some DB queries from activities to MySQLiteHelper class
julpup Mar 7, 2016
5600282
Fixed accuracy setting; Changed room detection value range calculation
julpup Mar 7, 2016
1887bdb
Migrated all sql queries to MySQLiteHelper class; CSV is now exported…
julpup Mar 7, 2016
6200707
Export CSV menu item prevents exporting if calibrated RSSI array is e…
julpup Mar 7, 2016
6d0dff2
New room name entry is now capitalized; Added rssi calibration values…
julpup Mar 8, 2016
1690c30
Moved csv export code to separate class
julpup Mar 8, 2016
8db2099
Moved csv export code to separate class (v2)
julpup Mar 8, 2016
e3ca093
Optimized MySQLiteHelper class
julpup Mar 8, 2016
67b30e0
Merge pull request #11 from julpup/test
julpup Mar 8, 2016
4f6b9b0
Changed room detection logic
julpup Mar 9, 2016
0cf7497
Merge pull request #12 from julpup/test
julpup Mar 9, 2016
29b539a
Changed the way room name is displayed in RoomActivity
julpup Mar 9, 2016
38de470
Changed some strings
julpup Mar 9, 2016
112c043
Added rssi min & max, average calculation to Beacon class
julpup Mar 11, 2016
cac9307
Merge pull request #13 from julpup/test
julpup Mar 11, 2016
7bf806f
Added list, which outputs rssi values without duplicates in Beacon class
julpup Mar 11, 2016
72af751
Temp - added rssi value frequency counter at the end of rssi array di…
julpup Mar 11, 2016
1bc1b98
Integrated MonarchCharts library; Added chart display to BeaconActivity
julpup Mar 12, 2016
ab02e3b
Integrated MonarchCharts library; Added chart display to BeaconActivi…
Mar 12, 2016
bf41e3f
Merge pull request #14 from julpup/test
julpup Mar 12, 2016
4f40084
getUniqueRSSIs() now returns sorted array; Added second chart type in…
Mar 12, 2016
dc3c53f
Merge pull request #15 from julpup/test
julpup Mar 12, 2016
9d51eec
resync
julpup Mar 12, 2016
07c63cf
Added one more chart type; Minor changes
Mar 12, 2016
30c4c57
Merge pull request #16 from julpup/test
julpup Mar 12, 2016
eccd904
Minor optimizations
julpup Mar 12, 2016
8d42353
Optimized sql query to get an array beacons
julpup Mar 12, 2016
b7d4040
Merge pull request #17 from julpup/test
julpup Mar 12, 2016
4f4ce99
Fixed deletion of beacons/calibrations in DB when room is removed in …
julpup Mar 13, 2016
7f9f2d0
Merge pull request #18 from julpup/test
julpup Mar 13, 2016
8fb412c
Temp fix - BeaconActivity now works with single calibration rssi value
julpup Mar 13, 2016
f29ffea
Merge pull request #19 from julpup/test
julpup Mar 13, 2016
bb999a0
Reworked thread logic; New chart for histogram and scan; Changed scan…
julpup Apr 2, 2016
fe774e5
Rebuilt project
julpup Apr 2, 2016
c8a403d
Minor changes
julpup Apr 2, 2016
7628950
Test
julpup Apr 3, 2016
b63c343
Project cleanup
julpup Apr 3, 2016
62e3486
Changed ScanAdapter constructor arguments; Added two new list adapter…
julpup Apr 3, 2016
55b241b
Changed ScanAdapter constructor arguments; Added two new list adapter…
julpup Apr 3, 2016
1c23079
Changed the way room list is formed & updated; Minor changes
julpup Apr 4, 2016
4de27cb
Changed list adapter in RoomActivity (incomplete)
julpup Apr 4, 2016
ff66059
Code cleanup for adapter in RoomActivity
julpup Apr 4, 2016
4dbc7e3
Minor changes in layout
julpup Apr 4, 2016
b6658af
Completely reintegrated new list adapter in RoomActivity
julpup Apr 4, 2016
5d9d720
resync
julpup Apr 4, 2016
b9421be
Merge remote-tracking branch 'origin/test'
julpup Apr 4, 2016
7ec1e2b
resync
julpup Apr 4, 2016
500b496
resync
julpup Apr 4, 2016
9122000
Recreate branch
julpup Apr 4, 2016
7388a70
New list adapter for assigning beacons to created rooms
julpup Apr 7, 2016
7afa1bb
Added ViewHolder to LinkAdapter; Added an option to show/hide beacons…
julpup Apr 7, 2016
68598bb
Added ViewHolders to list adapters (no more flicker); Added an option…
julpup Apr 10, 2016
b389a71
Updated ChartHelper & ScanAdapter to work on Android v5.0+ (but chart…
julpup Apr 11, 2016
ca07851
GATT control for LED on custom beacon (static); Resource optimisation…
julpup Apr 13, 2016
adb67a0
Removed redundant Calibration class & unused settings; Fixed settings…
julpup Apr 17, 2016
b083325
Migrated project to Android Studio 2.0 & updated Build Tools to v23.0.3
julpup Apr 17, 2016
637c2d9
Added different BTLE callbacks for different APIs; Code cleanup; Mino…
julpup Apr 23, 2016
3e718c4
Resync
julpup Apr 23, 2016
ad67f25
Scan, assign & calibration revamps; Moved fake beacon generation to s…
julpup Apr 25, 2016
bcb7d1e
Adaptive scan (static values atm) (#31)
julpup Apr 29, 2016
d300991
Some changes in RoomDetector
julpup Apr 29, 2016
a71e2b3
Merge pull request #32 from julpup/test
julpup Apr 29, 2016
d1bf102
Moved Device control (LED) code to separate class (#33)
julpup May 1, 2016
e0a7f73
Redundant code cleanup
julpup May 1, 2016
418df14
Merge pull request #34 from julpup/test
julpup May 1, 2016
2b59fb8
Added toast notifications on automatic device control
julpup May 2, 2016
6715b14
Separated room creation & beacon assignment; Minor changes (#35)
julpup May 2, 2016
0591f7a
Added Faster Scan option in settings; Changed sleep timings for faste…
julpup May 3, 2016
6397ca0
Some GATT devices control changes; Changed some strings; Other minor …
julpup May 6, 2016
746e03c
Added screen rotation lock when scan is active (#38)
julpup May 6, 2016
d477765
Added more elaborate new room name entry check; Removed unnecessary…
julpup May 9, 2016
c787d9e
Renamed calibration strings to more appropriate ones; Minor changes (…
julpup May 10, 2016
9345469
Changed BT on request behaviour; Minor changes (#41)
julpup May 15, 2016
d98c6a9
resync
julpup May 15, 2016
5b982a9
Room detection algorithm rework (#42)
julpup May 17, 2016
c71d0c3
Renamed some components to more accurate names; Code cleanup; Minor c…
julpup May 17, 2016
ac39f31
Added more logic checks for BT enabling & callback creation; Limited …
julpup May 18, 2016
c092860
Fixed - room is deleted when last beacon/all beacons are removed (#45)
julpup May 18, 2016
e0ca49b
Updated project for newer android & build tools versions
julpup Jun 18, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion BtMatuoklis/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions BtMatuoklis/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion BtMatuoklis/BtMatuoklis.iml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
51 changes: 34 additions & 17 deletions BtMatuoklis/app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugAndroidTest" />
<option name="COMPILE_JAVA_TEST_TASK_NAME" value="compileDebugAndroidTestSources" />
<afterSyncTasks>
<task>generateDebugAndroidTestSources</task>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
Expand All @@ -28,7 +25,7 @@
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/debug" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
Expand All @@ -50,41 +47,61 @@
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testDebug/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/debug" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.1.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/21.0.3/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.jjoe64/graphview/4.0.1/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/tmp" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 23 Platform" jdkType="Android SDK" />
<orderEntry type="jdk" jdkName="Android API 24 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="support-v4-23.1.0" level="project" />
<orderEntry type="library" exported="" name="appcompat-v7-23.1.0" level="project" />
<orderEntry type="library" exported="" name="support-annotations-23.1.0" level="project" />
<orderEntry type="library" exported="" scope="TEST" name="hamcrest-core-1.3" level="project" />
<orderEntry type="library" exported="" name="support-v4-21.0.3" level="project" />
<orderEntry type="library" exported="" name="support-annotations-21.0.3" level="project" />
<orderEntry type="library" exported="" scope="TEST" name="junit-4.12" level="project" />
<orderEntry type="library" exported="" name="graphview-4.0.1" level="project" />
<orderEntry type="library" exported="" name="commons-lang3-3.3.2" level="project" />
<orderEntry type="library" exported="" name="opencsv-3.7" level="project" />
<orderEntry type="library" exported="" name="android-android-24" level="project" />
</component>
</module>
16 changes: 9 additions & 7 deletions BtMatuoklis/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

compileSdkVersion 24
buildToolsVersion '24.0.0'
defaultConfig {
applicationId "com.example.btmatuoklis"
minSdkVersion 18
targetSdkVersion 23
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
Expand All @@ -17,10 +16,13 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.0'
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile 'junit:junit:4.12'
compile 'com.opencsv:opencsv:3.7'
compile 'com.jjoe64:graphview:4.0.1'
}
19 changes: 13 additions & 6 deletions BtMatuoklis/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.btmatuoklis" >
package="com.example.btmatuoklis">

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<uses-feature
android:name="android.hardware.bluetooth_le"
android:required="true" />

<application
android:name=".classes.GlobalClass"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme" >
<activity android:name=".MainActivity" >
android:theme="@style/AppTheme"
android:uiOptions="splitActionBarWhenNarrow" >
<activity android:name=".activities.MainActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ScanActivity" >
</activity>
<activity android:name=".activities.ScanActivity" />
<activity android:name=".activities.SettingsActivity" />
<activity android:name=".activities.AllRoomsActivity"
android:launchMode="singleTask"/>
<activity android:name=".activities.RoomActivity" />
<activity android:name=".activities.AssignActivity" />
<activity android:name=".activities.BeaconActivity" />
</application>

</manifest>

This file was deleted.

Loading