Bumped app version, updated manifest and README
@@ -11,7 +11,9 @@ It also offers:
|
|||||||
|
|
||||||
This will only work on devices with Android 4.3 (API Level 18) and above.
|
This will only work on devices with Android 4.3 (API Level 18) and above.
|
||||||
|
|
||||||
Sample app available on the [Play Store](https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan)
|
<a href='https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'>
|
||||||
|
<img alt='Get it on Google Play' height=100 src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/>
|
||||||
|
</a>
|
||||||
|
|
||||||
## Including the Library in Your Project
|
## Including the Library in Your Project
|
||||||
|
|
||||||
@@ -125,22 +127,25 @@ You can also lookup values and convert them to human friendly strings:
|
|||||||
* Fixed a ConcurrentModificationException on getRunningAverageRssi()
|
* Fixed a ConcurrentModificationException on getRunningAverageRssi()
|
||||||
* Added some Estimote UUIDs
|
* Added some Estimote UUIDs
|
||||||
* v1.0.0:
|
* v1.0.0:
|
||||||
* Migrated project to Android Studio/ gradle
|
* Migrated project to Android Studio/ gradle
|
||||||
* Note that the API has slightly changed in this version.
|
* Note that the API has slightly changed in this version.
|
||||||
* We now use the more generic `BeaconUtils.getBeaconType()` method instead of `IBeaconUtils.isThisAnIBeacon()`
|
* We now use the more generic `BeaconUtils.getBeaconType()` method instead of `IBeaconUtils.isThisAnIBeacon()`
|
||||||
* Fix for [issue 5](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/5)
|
* Fix for [issue 5](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/5)
|
||||||
* Fix for [issue 9](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/9)
|
* Fix for [issue 9](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/9)
|
||||||
|
|
||||||
## Sample Application Changelog
|
## Sample Application Changelog
|
||||||
* v0.0.1
|
* v0.0.1
|
||||||
* First public release
|
* First public release
|
||||||
* v0.0.2:
|
* v0.0.2:
|
||||||
* Can now export scanned devices as a CSV file.
|
* Can now export scanned devices as a CSV file.
|
||||||
* v0.0.3:
|
* v0.0.3:
|
||||||
* UI Refresh.
|
* UI Refresh.
|
||||||
* v1.0.0:
|
* v1.0.0:
|
||||||
* Migrated project to Android Studio/ gradle
|
* Migrated project to Android Studio/ gradle
|
||||||
* Using version v1.0.0 of the library project
|
* Using version v1.0.0 of the library project
|
||||||
|
* v1.1.0:
|
||||||
|
* App refactor and materialisation.
|
||||||
|
* Added runtime permissions.
|
||||||
|
|
||||||
## Permission Explanation
|
## Permission Explanation
|
||||||
You will need the following permissions to access the Bluetooth Hardware
|
You will need the following permissions to access the Bluetooth Hardware
|
||||||
@@ -148,18 +153,15 @@ You will need the following permissions to access the Bluetooth Hardware
|
|||||||
* `android.permission.BLUETOOTH`
|
* `android.permission.BLUETOOTH`
|
||||||
* `android.permission.BLUETOOTH_ADMIN`
|
* `android.permission.BLUETOOTH_ADMIN`
|
||||||
|
|
||||||
|
In addition one of the following is needed from API 23 and above to scan for BT LE devices:
|
||||||
|
* `android.permission.ACCESS_COARSE_LOCATION`
|
||||||
|
* `android.permission.ACCESS_FINE_LOCATION `
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
* Tidy up Javadoc. There is quite a lot of it that is template
|
* Tidy up Javadoc. There is quite a lot of it that is template
|
||||||
* Add parsers for common Ad Records.
|
* Add parsers for common Ad Records.
|
||||||
|
|
||||||
## Sample App Screenshots
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
* Github: [https://github.com/alt236/Bluetooth-LE-Library---Android]()
|
* Github: [https://github.com/alt236/Bluetooth-LE-Library---Android]()
|
||||||
|
|
||||||
@@ -169,9 +171,10 @@ Author: [Alexandros Schillings](https://github.com/alt236).
|
|||||||
* The Accuracy calculation algorithm was taken from: http://stackoverflow.com/questions/20416218/understanding-ibeacon-distancing
|
* The Accuracy calculation algorithm was taken from: http://stackoverflow.com/questions/20416218/understanding-ibeacon-distancing
|
||||||
* The AdRecord parser was taken from: https://github.com/devunwired/accessory-samples
|
* The AdRecord parser was taken from: https://github.com/devunwired/accessory-samples
|
||||||
* The sample application has been adapted from Android's Bluetooth LE example
|
* The sample application has been adapted from Android's Bluetooth LE example
|
||||||
|
* Google Play and the Google Play logo are trademarks of Google Inc.
|
||||||
|
|
||||||
All logos are the property of their respective owners.
|
All logos are the property of their respective owners.
|
||||||
|
|
||||||
The code in this project is licensed under the Apache Software License 2.0.
|
The code in this project is licensed under the Apache Software License 2.0.
|
||||||
|
|
||||||
Copyright (c) 2014 Alexandros Schillings.
|
Copyright (c) 2014-2017 Alexandros Schillings.
|
||||||
|
|||||||
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 151 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@@ -1,9 +1,9 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
final int versionMajor = 1
|
final int versionMajor = 1
|
||||||
final int versionMinor = 0
|
final int versionMinor = 1
|
||||||
final int versionPatch = 0
|
final int versionPatch = 0
|
||||||
final int androidVersionCode = 5
|
final int androidVersionCode = 6
|
||||||
|
|
||||||
final int targetSdk = rootProject.targetSdkVersion;
|
final int targetSdk = rootProject.targetSdkVersion;
|
||||||
final int minSdkRed = rootProject.minSdkVersion;
|
final int minSdkRed = rootProject.minSdkVersion;
|
||||||
@@ -24,13 +24,14 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
|
compile project(':library')
|
||||||
|
|
||||||
compile 'com.jakewharton:butterknife:7.0.1'
|
compile 'com.jakewharton:butterknife:7.0.1'
|
||||||
compile 'com.android.support:appcompat-v7:24.2.0'
|
compile 'com.android.support:appcompat-v7:24.2.0'
|
||||||
compile 'com.android.support:recyclerview-v7:24.2.0'
|
compile 'com.android.support:recyclerview-v7:24.2.0'
|
||||||
compile 'com.anthonycr.grant:permissions:1.0'
|
compile 'com.anthonycr.grant:permissions:1.0'
|
||||||
compile 'uk.co.alt236:easycursor-android:1.0.0'
|
compile 'uk.co.alt236:easycursor-android:1.0.0'
|
||||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
||||||
compile project(':library')
|
|
||||||
|
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
testCompile 'org.mockito:mockito-all:1.9.5'
|
testCompile 'org.mockito:mockito-all:1.9.5'
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
|
|
||||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
||||||
|
<uses-permission-sdk-23 android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
||||||
|
|
||||||
<uses-feature
|
<uses-feature
|
||||||
android:name="android.hardware.bluetooth_le"
|
android:name="android.hardware.bluetooth_le"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 378 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 267 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 287 KiB |