@@ -11,7 +11,9 @@ It also offers:
11
11
12
12
This will only work on devices with Android 4.3 (API Level 18) and above.
13
13
14
- Sample app available on the [ Play Store] ( https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan )
14
+ <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 ' >
15
+ <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 ' />
16
+ </a >
15
17
16
18
## Including the Library in Your Project
17
19
@@ -115,51 +117,51 @@ You can also lookup values and convert them to human friendly strings:
115
117
* ` CompanyIdentifierResolver.getCompanyName(int companyId, String fallback) ` : Will try to resolve a Company identifier to the company name
116
118
* ` GattAttributeResolver.getAttributeName(String uuid, String fallback) ` : Will try to convert a UUID to its name.
117
119
118
- ** Note:** The data can be found as ODS (Open Office Spreadsheets) in the documents folder.
120
+ ** Note:** The data can be found as ODS (Open Office Spreadsheets) in the documents folder.
119
121
120
122
## Library Changelog
121
- * v0.0.1
123
+ * v0.0.1
122
124
* First public release
123
- * v0.0.2:
125
+ * v0.0.2:
124
126
* Attempting to create an iBeaconDevice from a device which is not an iBeacon will now throw an IllegalArgumentException exception.
125
127
* Fixed a ConcurrentModificationException on getRunningAverageRssi()
126
128
* Added some Estimote UUIDs
127
129
* v1.0.0:
128
- * Migrated project to Android Studio/ gradle
129
- * Note that the API has slightly changed in this version.
130
- * We now use the more generic ` BeaconUtils.getBeaconType() ` method instead of ` IBeaconUtils.isThisAnIBeacon() `
131
- * Fix for [ issue 5] ( https://github.com/alt236/Bluetooth-LE-Library---Android/issues/5 )
130
+ * Migrated project to Android Studio/ gradle
131
+ * Note that the API has slightly changed in this version.
132
+ * We now use the more generic `BeaconUtils.getBeaconType()` method instead of `IBeaconUtils.isThisAnIBeacon()`
133
+ * Fix for [issue 5](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/5)
132
134
* Fix for [issue 9](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/9)
133
135
134
136
## Sample Application Changelog
135
- * v0.0.1
136
- * First public release
137
- * v0.0.2:
138
- * Can now export scanned devices as a CSV file.
139
- * v0.0.3:
140
- * UI Refresh.
137
+ * v0.0.1
138
+ * First public release
139
+ * v0.0.2:
140
+ * Can now export scanned devices as a CSV file.
141
+ * v0.0.3:
142
+ * UI Refresh.
141
143
* v1.0.0:
142
- * Migrated project to Android Studio/ gradle
143
- * Using version v1.0.0 of the library project
144
+ * Migrated project to Android Studio/ gradle
145
+ * Using version v1.0.0 of the library project
146
+ * v1.1.0:
147
+ * App refactor and materialisation.
148
+ * Added runtime permissions.
144
149
145
150
## Permission Explanation
146
151
You will need the following permissions to access the Bluetooth Hardware
147
152
148
153
* ` android.permission.BLUETOOTH `
149
154
* ` android.permission.BLUETOOTH_ADMIN `
150
155
156
+ In addition one of the following is needed from API 23 and above to scan for BT LE devices:
157
+ * ` android.permission.ACCESS_COARSE_LOCATION `
158
+ * ` android.permission.ACCESS_FINE_LOCATION `
159
+
151
160
## TODO
152
161
153
162
* Tidy up Javadoc. There is quite a lot of it that is template
154
163
* Add parsers for common Ad Records.
155
164
156
- ## Sample App Screenshots
157
-
158
- ![ screenshot1] ( https://github.com/alt236/Bluetooth-LE-Library---Android/raw/master/screenshots/screenshot_1.png )
159
- ![ screenshot2] ( https://github.com/alt236/Bluetooth-LE-Library---Android/raw/master/screenshots/screenshot_2.png )
160
- ![ screenshot3] ( https://github.com/alt236/Bluetooth-LE-Library---Android/raw/master/screenshots/screenshot_3.png )
161
- ![ screenshot4] ( https://github.com/alt236/Bluetooth-LE-Library---Android/raw/master/screenshots/screenshot_4.png )
162
-
163
165
## Links
164
166
* Github: [ https://github.com/alt236/Bluetooth-LE-Library---Android ] ( )
165
167
@@ -169,9 +171,10 @@ Author: [Alexandros Schillings](https://github.com/alt236).
169
171
* The Accuracy calculation algorithm was taken from: http://stackoverflow.com/questions/20416218/understanding-ibeacon-distancing
170
172
* The AdRecord parser was taken from: https://github.com/devunwired/accessory-samples
171
173
* The sample application has been adapted from Android's Bluetooth LE example
174
+ * Google Play and the Google Play logo are trademarks of Google Inc.
172
175
173
176
All logos are the property of their respective owners.
174
177
175
178
The code in this project is licensed under the Apache Software License 2.0.
176
179
177
- Copyright (c) 2014 Alexandros Schillings.
180
+ Copyright (c) 2014-2017 Alexandros Schillings.
0 commit comments