I am quite noob I have a cronometer that begins to counter when I click a button
crono = (Chronometer) findViewById(R.id.crono);
begin= (Button) findViewById(R.id.begin);
begin.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
crono.setBase(SystemClock.elapsedRealtime());
crono.start();
every minute do something ////////
}
});
What should I do to do something every minute? For example 1:00 ---> do something 2:00 ---> do something
Any suggestion will be apreciated. :)