maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Flip clock pre pre pre pre release (https://talk.maemo.org/showthread.php?t=25582)

ciroip 2009-02-18 17:20

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by Tabster (Post 265345)
thanks for the explanation ciroip.

My background is in the Images folder rather than using one of the built-in from a theme. Maybe you can search this folder too?

A suggestion: Can you make the date have a large day rather than year? I would much rather see

Wed - 2009
Feb - 18

Thanks for the great app :)

The idea was to use the wallpaper that people actually using and go directly for that (i hate the applications that begin to scan my devices :) ) Ill check the solution that seem jolouis found.
Date: sure, showing the month and year bigger is pretty stupid but sometime happen that u cane see something always in front of you :)
Ill swap the sizes.

ciroip 2009-02-18 17:28

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 265380)

Is there supposed to be an actual clock display in "Window" mode by the way? I see the layout and alarm info, but no actual clock...


Ill check your suggestions on the wallpaper: onj my device the actual user background is under a directory of the user. Anyway is time to reflash the tablet to clean it up a bit so I can check where this damn wallpaper is stored :)

[window mode]: well, im not sure what put there, I just wanted not force people to keep the application in full window all the time and still be able to turn on and off the alarm. Now I use the window title for that (just because I thinked was cool to use that space in some creative way) but any idea for that window mode is appreciate.

ciroip 2009-02-18 17:37

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by fpp (Post 265393)
ciroip, have you seen the recent announcement on planet maemo about the new "debmaster" for maemo.org ? That guy is a packaging guru and he's here specifically to help out community developers with that black magic stuff...

yes, I saw him but my code is pretty ugly and I dont want bore him with something that probably will change every day in an irrational way (yes, that's me) and I want at least understand a bit better what is going on during a packaging to avoid dumb errors.
Meanwhile I managed to debianize something by myself with pypackager: I will see how many tablet arounds Ill be able to crash before ask advice to Jeremiah.
Ill keep last version avaible on the 1st post of this thread:
http://www.internettablettalk.com/fo...ad.php?t=25582

nilchak 2009-02-19 11:55

Re: Flip clock pre pre pre pre release
 
Hi ciroip,

I gave your 'home made' deb a try and it works beautifully. Never crashed a thing.... so dont you worry.

I loved this 'made in china' version of flip clock. nice, efficient with just enough lightings and all that. Particularly loved the night light mode - since at night I leave my N810 on the charger is stays lit all night - hence night light mode is perfect.

Did I say perfect again ?

BTW how come the alarm screen is made in finland ? I liked your sense of homour with the made in china logo there. so much that I just woke up to flip clock alarm and am posting from bed now.

Nice app indeed. Whats the workbench screen for ? Maybe I might have missed a few posts on this thread where you explained.

ciroip 2009-02-19 12:29

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by nilchak (Post 265628)
Hi ciroip,

I gave your 'home made' deb a try and it works beautifully. Never crashed a thing.... so dont you worry.

I loved this 'made in china' version of flip clock. nice, efficient with just enough lightings and all that. Particularly loved the night light mode - since at night I leave my N810 on the charger is stays lit all night - hence night light mode is perfect.

Did I say perfect again ?

BTW how come the alarm screen is made in finland ? I liked your sense of homour with the made in china logo there. so much that I just woke up to flip clock alarm and am posting from bed now.

Nice app indeed ? Whats the workbench screen for ? Maybe I might have missed a few posts on this thread where u explained.

thank you for testin'it! About the workbench disk there is not too much to explain: I usually just put down some random things to make ever release a bit more interesting than a 'simple' code modify: more people than I originally hoped, followed and downloaded all the different releases and builded up this incredible (for me) thread: I thinked making every version a bit more spice to kill the bore of following a clock developing :).
Glad you enjoed the trip till now :)

jolouis 2009-02-19 18:30

Re: Flip clock pre pre pre pre release
 
One of the coolest things about following the development of this app is that at any stage you can jump in and start tweaking and playing with the code yourself to add new features and change things around. If they make sense and are "reasonably helpful" just keep bugging ciro about 'em and he might consider rolling it back into the "official clock" (it could happen... one day! lol)
Right now I've modified mine to have 12 hr AM/PM display instead of 24hour, and with a bit more tweaking should have it so that the colour of the "night mode" can be changed through the clock app (crazy alpha channels!). The two biggest points that need work as far as I'm concerned are:
Hildon Integration - This app would be a LOT cooler if you could use it, minimize it, etc without having to run from the command line. Not sure if the latest deb addresses this or not, but it's definitely something to be addressed
Alarm Intergration - I'm still looking to integrate this app with the build in alarmd functionality, so that you can use this to set alarms, and have the alarmd daemon trigger this application to launch and playback/visualize alarms. That way you don't have to have the app open all the time, or worry about accidentally closing it and missing your alarm. Not as important as teh Hildon stuff, but still...

nilchak 2009-02-19 18:59

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by jolouis (Post 265722)
just keep bugging ciro about 'em and he might consider rolling it back into the "official clock" (it could happen... one day! lol)
Right now I've modified mine to have 12 hr AM/PM display instead of 24hour,

Alarm Intergration - I'm still looking to integrate this app with the build in alarmd functionality, so that you can use this to set alarms, and have the alarmd daemon trigger this application to launch and playback/visualize alarms. That way you don't have to have the app open all the time, or worry about accidentally closing it and missing your alarm. Not as important as teh Hildon stuff, but still...


Ciroip - here I am bugging you - please please do incorporate jolouis's 12 hrs hack into your official version. Even I would love the 12 hr am/pm format - when I am nearly asleep at night (at 23:54 hrs) its tough for me to do mental arithmatic to translate that to 11:54 O-clock at night.
Seriously !
(and I half wake up with the effort of the mental calisthenics to do the arithmatic) :p

Jolouis - while the alarmd daemon does offer many benefits - you don't have to setup up seperate snooze reminders like in Flip clock now and the fact that it still wakes up the tablet even when switched off etc ... the one bug that puts me off is that on the 2nd snooze reminder Alarmd kills my sound totally. I have to reboot the tablet every morning to get my sound back.

At least in this regards Flip clock alarm does kill any system sounds or anything. So I am a bit ambivalent about the alarmd integration - as I want to get away from using alarmd (unless the problem is fixed).

danramos 2009-02-19 19:13

Re: Flip clock pre pre pre pre release
 
Much want for the 12hr format! Danke!

jolouis 2009-02-19 21:37

Re: Flip clock pre pre pre pre release
 
I'll clean up the code a bit and try and send Ciro a quick "how to patch" for the 12 hour stuff if he's interested... personally I prefer it to the 24 hour time, but there's no reason that there couldn't be an option for either.

As far as the Alarmd stuff goes, I think there's a bit of misunderstanding on what most of us see as "alarmd" compared to what alarmd actually is. My idea would be not for flipclock to simply schedule alarms (you could do that using the normal clock app); but rather to use flipclock to schedule alarmd "events" that will then trigger flipclock to re-act/play/display alarms. Functionally this provides two benefits: first, if you close flipclock for some reason, but had an alarm scheduled, when it's time for the alarm to occur flip clock would automatically open and start doing it's little music/flashing/whatever thing; the result would be the same, but the alarm would happen whether flipclock was open or not. Same deal goes for whether the tablet is on or not, etc.
Second key advantage to using alarmd in this way is that it means the regular flipclock app should be able to properly sleep/hibernate without having to have any processes running (since the alarmd daemon will handle notifying it of alarm times); this in turn should mean slightly better battery life, especially when using other apps that implement alarmd (rss reader, etc).
Again, not really horribly important, but a few nice little advantages...

ciroip 2009-02-19 22:55

Re: Flip clock pre pre pre pre release
 
well, sure I will put the 12/24 hours features: I know how hard is if you live in a country that never use the 24 hours convention (and have to daily manage 3 different timezones) :). I just never set the mind to find a cute spot for the AM/PM...
Ill take a look at the jolouis code to see if I can understand what to do (sometime I choosed some weird way to make that app running so I dont envy anyone who is brave enough to digg it).

Like nilchak pointed out the alarmd sometime is a bit tricky. The original idea was to use that and let all the responability to the OS but I was never be able to understand how things really worked (and felt challenging to make some noise by myself :).
Im still thinking to use the alarmd anyway but I must have a way to be able to check the status (and probably keep checking) I dont want the clock showing an icon of alarm on when the alarm is not really on.
Anyway I cant see why we cant have 2 different version: the tablet is a pretty extreme device and average user is probably smart enough to understand the difference between an alarmd based clock and a 'simple' direct alarmclock. The actual solution is not really ideal, the plan was to have a different alarm for each day + a general alarm but was a bit too brainy (even for me). Now there are just 7 different alarms to switch manually

Ill check the jolouis work then I could try to reorganize a bit the modules and make the alarm part more manageble (or I could reorganize the modules and let jolouis works on a bit, I have no clue of OO programming so the code is pretty horrid on that side)

The clock now is hildonized enough :) to be the able to:
- switch from full to window (need check how use the hardware butt.)
- show the icon on task bar and task menu (but no app. name there)
- recognize the hardware home/menu button
- show the clock and date on the title bar
- let the user close and minimize using the standard os buttons


All times are GMT. The time now is 12:08.

vBulletin® Version 3.8.8