When you run the code I always get the following error but do not know how to correct it, someone could help me to correct the mistake it feels really appreciate it.
void onActivityResult (int requestCode, int resultCode, Intent data)
{
println("onActivityResult");
if(resultCode == RESULT_OK)
{
println("RESULT_OK");
empieza();
}
else
{
println("RESULT_CANCELED");
estado = 4;
error = "No se ha activado el bluetooth";
}
}
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList should be parameterized
ERROR in C:\Users\EdwinS\AppData\Local\Temp\android59495307357018156sketch\src\processing\test\sketch_151101a\sketch_151101a.java (at line 162) if(resultCode == RESULT_OK) ^^^^^^^^^