We are about to switch to a new forum software. Until then we have removed the registration on this forum.
cannot find symbol
import java.lang.Object;
import android.app.AlarmManager;
else if (bus72_02 < 100)
{
text("Reaching in less than 100 meters.", 20, 0, width, height);
Context.getSystemService(Context.ALARM_SERVICE);
AlarmManager alarm = (AlarmMAnager) Context.getSystemService(Context.ALARM_SERVICE);
player.start();
}
Answers
You don't seem to be asking a question or providing any sort of description of what your problem is... the best we have to work with is "cannot find symbol". You don't even provide a complete sketch...
I don't know what you are importing
Object
. If you have resorted to doing this, then something must be fundamentally wrong. You have importedAlarmManager
, but have not importedContext
, which is probably why you receive the above error.Try adding this at the top of your sketch: