Simple application for developers, demonstrating Kontakt.io Android SDK features and sample implementations.
- iBeacon and Eddystone scanning
- Beacon Pro profile scanning
- Applying regions and namespaces
- Applying scanning filters
- Background scanning
- Beacon's Configuration
- Reading Beacon's Pro light sensor
- Consuming REST API with KontaktCloud
- Clone or download this repository.
- Open project in Android Studio (select top
build.gradle
file when opening the project). - Install any missing dependencies that Android Studio might ask you for.
- Remember to put your API key in
KontaktSDK.initialize()
method located inApp.java
file:
public class App extends Application {
private static final String API_KEY = "Your Api Key here";
@Override
public void onCreate() {
super.onCreate();
initializeDependencies();
}
//Initializing Kontakt SDK. Insert your API key to allow all samples to work correctly
private void initializeDependencies() {
KontaktSDK.initialize(API_KEY);
}
}
Run the application to see if everything is set up correctly.
For full information see: https://developer.kontakt.io/android-sdk/quickstart/
NOTE: The old, deprecated samples app is available in the archive branch (if you require it for any reason).