Skip to content
Library for integrating Queue-it into an Android app using web ui
Java
Branch: master
Clone or download
Latest commit 10437a0 Oct 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Commit project files Oct 15, 2018
demoapp Commit project files Oct 15, 2018
gradle/wrapper Upgrade gradle and build tools Oct 15, 2018
library Bump version Oct 16, 2018
.gitignore Commit project files Oct 15, 2018
README.md Bump version Oct 16, 2018
android-webui-sdk.iml Commit project files Oct 15, 2018
build.gradle Upgrade gradle and build tools Oct 15, 2018
gradle.properties Initial import Jun 14, 2016
gradlew Initial import Jun 14, 2016
gradlew.bat Initial import Jun 14, 2016
settings.gradle Initial import Jun 14, 2016

README.md

Download

Queue-it Android WebUI SDK

Library for integrating Queue-it into an Android app.

Sample app

A sample app to try out functionality in the library can be found on the Releases page.

Installation

Using Gradle:

compile 'com.queue_it.androidsdk:library:2.0.17'

Usage

Invoke QueueITEngine as per example below. Parameters layoutName and language are optional.

QueueITEngine engine = new QueueITEngine(YourActivity.this, customerId, eventOrAliasId, layoutName, language,
  new QueueListener() {
    @Override
    public void onQueuePassed(QueuePassedInfo queuePassedInfo) { } // Called when the user has passed the queue

    @Override
    public void onQueueViewWillOpen() { } // Called right before the Queue-it view opens

    @Override
    public void onQueueDisabled() { } // Called when the event is disabled.

    @Override
    public void onQueueItUnavailable() { } // Called when Queue-it API could not be reached

    @Override
    public void onError(Error error, String errorMessage) { } // Called on connectivity problems
  });

  try {
    engine.run(YourActivity.this);
  }
  catch (QueueITException e) { } // Gets thrown when a request is already in progress. In general you can ignore this.

Required permissions

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>

Activities to include in your manifest

<activity android:name="com.queue_it.androidsdk.QueueActivity" />
You can’t perform that action at this time.