I've got this error:
Caused by: java.lang.NullPointerException
at com.thewayto.doland.Acttimer.onCreate(Acttimer.java:52)
This is the code, the error is in the third line:
textAlarmPrompt = (TextView)findViewById(R.id.alarmprompt);
buttonstartSetDialog = (Button)findViewById(R.id.startSetDialog);
buttonstartSetDialog.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
textAlarmPrompt.setText("");
openTimePickerDialog(false);
}});
}