Skip to content

MikeRao/SDK-Android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDK for Android

The SDK for Android is a library that allows interaction with Yunzi.

Installation

1. Import sensorobeaconkit.jar

Copy sensorobeaconkit.jar to your libs directory. If your project does not exist libs folder, make it in root directory.

2. Declar in AndroidManifest.xml

You should add following permissions and services declaration to your AndroidManifest.xml:

<manifest
    ...
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    ...
    <application
        ...
        <service android:name="com.sensoro.beacon.kit.BeaconProcessService"></service>
        <service android:name="com.sensoro.beacon.kit.BeaconService"></service>
        ...
    </application>
    ...
</manifest>

Docs

FAQ

Please see FAQ in Sensoro.

Changelog

  • 2.1.4
    • Support A0-1.0, B0-1.0, B0-2.0, B0-2.1, B0-2.2, B0-2.3.
    • Deprecated TransmitPower.MIN, TransmitPower.LOW, TransmitPower.MEDIUM, TransmitPower.HIGH and TransmitPower.MAX.
    • Add TransmitPower.LEVEL0, TransmitPower.LEVEL1, TransmitPower.LEVEL2, TransmitPower.LEVEL3 , TransmitPower.LEVEL4, TransmitPower.LEVEL5, TransmitPower.LEVEL6and TransmitPower.LEVEL7.
    • Important upgrade. For more details to see Javadoc.
  • 2.1.3
    • Support A0-1.0, B0-1.0, B0-2.0, B0-2.1, B0-2.2, B0-2.3.
    • Add ENUM SecureBroadcastInterval.
    • Change API writeSecureBroadcastRotationInterval(int) to writeSecureBroadcastInterval(SecureBroadcastInterval).
  • 2.1.2
    • Support A0-1.0, B0-1.0, B0-2.0, B0-2.1, B0-2.2, B0-2.3.
    • Add API secure broadcast - writeSecureBroadcastRotationInterval.
    • Fix calculate accelerometer count bug.
  • 2.1.1
    • Support A0-1.0, B0-1.0, B0-2.0, B0-2.1, B0-2.2.
    • Important upgrade: Upgrade APIs. For more click here.
    • Fix ConcurrentModificationException bug.
  • 2.1
    • Support A0-1.0, B0-1.0, B0-2.0, B0-2.1, B0-2.2.
    • Improve the JavaDoc of SDK.
    • Add the version of SDK.
  • 2.0
    • Support A0-1.0, B0-1.0, B0-2.0, B0-2.1, B0-2.2.
    • Change Java annotation of SDK from Chinese to English.
    • Support that the hardware of Yunzi is above 2.0.
    • Throw exception when calls startService.
  • 1.1
    • Support A0-1.0, B0-1.0, B0-2.0.
    • Support that the hardware of Yunzi is 2.0.
    • Add a value ADVERTISING_INTERVAL_1285 of AdvertisingInterval.
    • Fix some bugs.
  • 1.0
    • Support A0-1.0, B0-1.0.
    • Initial version.

About

SBK Demo Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 100.0%