|
2009-01-02
, 17:52
|
|
Posts: 334 |
Thanked: 366 times |
Joined on Nov 2008
@ Italy
|
#92
|
ciroip,
how difficult is it to make all the top row buttons respond to the alarm ringing - like a real alarm clock.
In the form you have it now I can see myself poking blearily and making n810 slide off the bedside and smash on the floor.
when the alarmclock is ringing, think of your users as cavemen
The Following User Says Thank You to ciroip For This Useful Post: | ||
|
2009-01-03
, 14:58
|
|
Posts: 2,535 |
Thanked: 6,681 times |
Joined on Mar 2008
@ UK
|
#93
|
Yes, I always keep in mind a minimal version that act as much clever as I can manage. Im trying to keep the think modular and configurable moving all the variables in one place (ci_init) at the point that the app could recognize it the tablet is connected or not to the power and downgrade the functionality (update the clock each 10 seconds instead of every 1[...]
|
2009-01-04
, 05:10
|
|
Posts: 334 |
Thanked: 366 times |
Joined on Nov 2008
@ Italy
|
#94
|
The Following User Says Thank You to ciroip For This Useful Post: | ||
|
2009-01-04
, 19:49
|
|
Posts: 480 |
Thanked: 378 times |
Joined on Apr 2008
@ Chicago-ish
|
#95
|
pygame.time.set_timer(DRAW_CLOCK_EVENT, 5000)
ctime = time.ctime() pygame.time.set_timer(DRAW_CLOCK_EVENT, (60-int(str(ctime[17])+str(ctime[18])))*1000) timesixty=False
elif event.type == DRAW_CLOCK_EVENT:
if timesixty == False: pygame.time.set_timer(DRAW_CLOCK_EVENT, 60000) timesixty = True
|
2009-01-05
, 13:50
|
|
Posts: 2,535 |
Thanked: 6,681 times |
Joined on Mar 2008
@ UK
|
#96
|
Well, I took a bit of time to see if I could modify ciroip's code to at least implement Jaffa's first suggestion[...]
|
2009-01-07
, 22:02
|
Posts: 1,097 |
Thanked: 650 times |
Joined on Nov 2007
|
#97
|
|
2009-01-07
, 22:30
|
|
Posts: 4,672 |
Thanked: 5,455 times |
Joined on Jul 2008
@ Springfield, MA, USA
|
#98
|
|
2009-01-07
, 22:41
|
|
Posts: 4,672 |
Thanked: 5,455 times |
Joined on Jul 2008
@ Springfield, MA, USA
|
#99
|
The Following User Says Thank You to danramos For This Useful Post: | ||
|
2009-01-07
, 22:56
|
|
Posts: 2,535 |
Thanked: 6,681 times |
Joined on Mar 2008
@ UK
|
#100
|
Actually, this seems to make great reference to the technique I'm trying to express:
http://maemo.org/maemo_release_docum...1.x/node6.html
The relevant portion is "5.3.1.12 Maemo Alarm Framework" and in a more general way "5.3.4 Application Framework". If the OS can execute the routine to update, rather than having the app running busy the entire time, then it can just simply sit there in memory and just exist to execute on a hardware timer to update the screen and another routine, again called by hardware timer event, to run the alarm routine.
Anyway yes, number 1 priority is to make the thing ringin
Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito