Example #1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_measures);
    session = new SessionManager(getApplicationContext());

    // Instancie un nouvel objet Bluetooth
    bt = new Bluetooth(this);

    // Activer le Bluetooth
    bt.enableBluetooth();

    idPatient = session.getUserDetails();

    // Lance le graphique
    openChart();
  }