Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additionally, users will need to add a dependency for the Serial Java library used by the SDK. This can be done by modifying the settings.gradle file with the following highlighted lines:

...

Image RemovedImage Added

…and adding a reference to the git repo for the serial library to the relevant module.

...

Code Block
languagejava
import com.fn.victorcommunications.VictorBleDeviceManager;

public class MainActivity extends Activity
{
    VictorBleDeviceManager deviceManager;
    
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        deviceManager = new VictorBleDeviceManager(this);
    }
}
USB
Code Block
languagejava
import com.fn.victorcommunications.VictorUsbDeviceManager;

public class MainActivity extends Activity
{
    VictorUsbDeviceManager deviceManager;
    
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        deviceManager = new VictorUsbDeviceManager(this);
    }
}

...