• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

digital clock

mathkid95

Newbie
Hi,

So I wanted some DigitalClock help.

I have set up a digitalclock, and here's what I want to do.
Once the clock hit's a certain time, perform an action. How can I control the actions on the digital time to check for a certain time?
 
Kind of, but here's exactly what I want.

1. show the current time and have that time keep updating constantly
2. Once you click on the button and open another activity/screen, stay on that for let's say, 3 min.
3. Click the back key on the emulator/phone, and open up the previous time screen. That time needs to increment by 3 minutes.

I accomplished that using Digital Clock, but how can I manipulate my Digital Clock so that for example, the time is 11:11 PM. At 11:15PM, I want this action to take place.

I created the digital clock in my main.xml file.

So yeah, sort of, but with a digital clock.
 
Back
Top Bottom