# AprilBeacon-Android-SDK **Repository Path**: Fly2God/AprilBeacon-Android-SDK ## Basic Information - **Project Name**: AprilBeacon-Android-SDK - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AprilBrother-Android-SDK AprilBrother SDK for Android You can scan beacon and modify beacon ##Add aprilscansdk for only scan * the demo aprilscan is a android studio moudle ## Docs * [Current JavaDoc documentation](//aprilbrother.github.io/aprilbeacon-android-sdk/JavaDocs/index.html) * [Community for AprilBeacon](http://bbs.aprbrother.com) * [ChangeLog](https://github.com/AprilBrother/AprilBeacon-Android-SDK/wiki/ChangeLog) ## Installation * Copy ab-sdk-beta.jar to your libs directory. * Add following permissions and service declaration to your AndroidManifest.xml: ``` ``` ## Note * For Android 7.0, you should set `beaconManager.setRangingExpirationMill(30L);` before start scan * If you want to use change the characteristic you should make sure that our beacon's hardware is above 2.0 * the default password is `195660` * Android M to access the hardware identifiers of nearby external devices via Bluetooth and Wi-Fi scans, your app must now have the `ACCESS_FINE_LOCATION` or `ACCESS_COARSE_LOCATION` permissions ## Proguard * `-libraryjars libs/ab-sdk-beta1.6.3.jar` * `-keep class com.aprilbrother.aprilbrothersdk.**` * `-keep class com.aprilbrother.aprilbrothersdk.Utils{*;}` * if have this question (Can't process class [com/aprilbrother/aprilbrothersdk/services/ABeaconUartService$1.class] (Unknown verification type [18] in stack map frame)) repalce the proguard.jar * ADT: replace sdk/tools/proguard/lib/proguard.jar * AS: replace android-studio/gradle/m2repository/net/sf/proguard/proguard-base/5.x/proguard-base-5.x.jar