Demo Application

The demo application is a Qt application built using Qt Creator.

It demonstrates:

  • library initialization
  • usage of Call Control
  • usage of Device Setting

Execution

To execute the demo (here 64-bit Ubuntu):
cd JabraLibLinux/demo/ubuntu/64-bit
LD_LIBRARY_PATH=../../../library/ubuntu/64-bit ./JabraDemo

GUI

Device Information

Device Information view

Device Settings

Device Settings view

Call Control

Call Control view

Device Information - Bluetooth adapter connected

 Device Information - Bluetooth adapter connected

Device Information - Bluetooth adapter and headset connected

Device Information - Bluetooth adapter and headset connected

Bluetooth Pairing

Bluetooth Pairing

Mapping of Button Events with user actions

Mapping of button events with user actions

Mapping of Button Events and LED control

Mapping of button events and led control

Logging

Logging

Development setup

Step 1. Install Qt Creator (IDE)

sudo apt-get install qtcreator (Ubuntu)

Step 2. Create links to the SDK interface and shared object

In Ubuntu, 64-bit:

cd JabraLibLinux/demo/JabraDemoQt
ln -s ../../library/headers/*.h .
ln -s ../../library/ubuntu/64-bit/libjabra.so.[version] .
ln -s libjabra.so.[version] libjabra.so

Step 3. pen the demo project file

qtcreator JabraDemo.pro

Step 4. Configure project

Press the Configure Project button.

Qt Creator - Configure Project

Step 5. Rebuild project

Select Build, Rebuild All.

Qt Creator – view of project compilation

The demo is now executable.