Search in sources :

Example 6 with DeviceCoordinator

use of nodomain.freeyourgadget.gadgetbridge.devices.DeviceCoordinator in project Gadgetbridge by Freeyourgadget.

the class DeviceHelper method createCoordinators.

private List<DeviceCoordinator> createCoordinators() {
    List<DeviceCoordinator> result = new ArrayList<>();
    // Note: MiBand2 must come before MiBand because detection is hacky, atm
    result.add(new MiBand2Coordinator());
    result.add(new MiBandCoordinator());
    result.add(new PebbleCoordinator());
    result.add(new VibratissimoCoordinator());
    result.add(new LiveviewCoordinator());
    result.add(new HPlusCoordinator());
    result.add(new MakibesF68Coordinator());
    return result;
}
Also used : MakibesF68Coordinator(nodomain.freeyourgadget.gadgetbridge.devices.hplus.MakibesF68Coordinator) PebbleCoordinator(nodomain.freeyourgadget.gadgetbridge.devices.pebble.PebbleCoordinator) ArrayList(java.util.ArrayList) MiBand2Coordinator(nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBand2Coordinator) HPlusCoordinator(nodomain.freeyourgadget.gadgetbridge.devices.hplus.HPlusCoordinator) MiBandCoordinator(nodomain.freeyourgadget.gadgetbridge.devices.miband.MiBandCoordinator) VibratissimoCoordinator(nodomain.freeyourgadget.gadgetbridge.devices.vibratissimo.VibratissimoCoordinator) DeviceCoordinator(nodomain.freeyourgadget.gadgetbridge.devices.DeviceCoordinator) UnknownDeviceCoordinator(nodomain.freeyourgadget.gadgetbridge.devices.UnknownDeviceCoordinator) LiveviewCoordinator(nodomain.freeyourgadget.gadgetbridge.devices.liveview.LiveviewCoordinator)

Aggregations

DeviceCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.DeviceCoordinator)6 Intent (android.content.Intent)2 Activity (android.app.Activity)1 AlertDialog (android.app.AlertDialog)1 BluetoothDevice (android.bluetooth.BluetoothDevice)1 DialogInterface (android.content.DialogInterface)1 Snackbar (android.support.design.widget.Snackbar)1 CardView (android.support.v7.widget.CardView)1 RecyclerView (android.support.v7.widget.RecyclerView)1 View (android.view.View)1 ImageView (android.widget.ImageView)1 ListView (android.widget.ListView)1 TextView (android.widget.TextView)1 ArrayList (java.util.ArrayList)1 VibrationActivity (nodomain.freeyourgadget.gadgetbridge.activities.VibrationActivity)1 ChartsActivity (nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsActivity)1 UnknownDeviceCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.UnknownDeviceCoordinator)1 HPlusCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.hplus.HPlusCoordinator)1 MakibesF68Coordinator (nodomain.freeyourgadget.gadgetbridge.devices.hplus.MakibesF68Coordinator)1 LiveviewCoordinator (nodomain.freeyourgadget.gadgetbridge.devices.liveview.LiveviewCoordinator)1