Bluetooth / Android

edited November 20 in Android Mode

I am following the following tutorial(http://arduinobasics.blogspot.in/2013/03/bluetooth-android-processing-1.html)

I am having problem at this point of the code:

if (!bluetooth.isEnabled()) {
    Intent requestBluetooth = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
    startActivityForResult(requestBluetooth, 0);
}

It says "The function "startActivityForResult(Intent,int)" does not exist"

Answers

Sign In or Register to comment.