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)

albright 2009-01-11 14:29

Re: Flip clock pre pre pre pre release
 
oh .. I also notice that when flipclock is running
the sound demon (esd) is constantly taking up
2-3%cpu, so this thing will eat the battery pretty
ferociously I suspect

ciroip 2009-01-11 15:02

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by albright (Post 256449)
I can start flipclock with the python command in
xterm and it runs, but nothing happens when I push the
set alarm button. Is there some trick to this?

yes, i know that the allarm button look exactly like the other but it work differently.
The alarm control is a slide button (I will try to have a working real drag button for the final version. So to make the thing works u need to move from left to right and from right to left to act/deact the alarm. Ill probably introduce a 20 pixel tollerance to avoid false clicking. I used the same technic for the alarm 'wheels' and on the main page (a slide up of at least 50pix) to acces the alarm page.

ciroip 2009-01-11 15:14

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by albright (Post 256455)
oh .. I also notice that when flipclock is running
the sound demon (esd) is constantly taking up
2-3%cpu, so this thing will eat the battery pretty
ferociously I suspect

GREAT!! I mean, crap. I noticied the esd thing but i wasnt sure it was caused by the flipclock (I have filled the tablet with tons of things and the situation is not completely under control) I dont know what exactly pygame do behind the curtains (it seem a really good job managing the graphics) and i suppose I have to initialize and kill the sound module just when I need it. worste case scenario Ill switch to another way to make some noise; Im just worried to not add another dependence to already overkilling python+pygame. (if only canola would release their code...)
You just won a place in the about page :)

ciroip 2009-01-11 15:46

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by Faz (Post 256392)
Good morning ciroip!

Thank you for all the time and energy you've put into this project!! It is most definitely appreciated!!!
It's been interesting to follow, although not being a developer I have to admit in skipping the high geek factor stuff! :rolleyes:

I've just downloaded fk9.tar.bz2 and after extraction I'm executing using the command "python fk009.py" successfully launching "Flip Alarm Clock 0.008" ...8? ;)

Nice battery meter, working as expected.
Liking the use of the LED too! First time I've ever seen my N810's LED turn purple!! :D

Well my problem is that im very passionate on things for few weeks and then the excitment curve drop drammaticaly (thats probably why im without a job :o ) the fast and smart feedbacks from the forum really help things to stay alive. I know the unpacking/launching is a pain but this let me free to put the weirdest things out and dont have to feel guilty of wreking any 'occasional' tablet user experience (+ I have no Idea how make a deb and most of the time Im on a window desktop)
Don't be scared to look and modify the code. Im not a (python) programmer so is pretty neat (neat <> optimized). Some parts are completely black holes and I have no idea how they works ( led, battery access etc) but they are usually well separated in their own ghetto modules. A big plus is that you can probably learn some italian curses I usually 'forget' to remove from the comments.
I agree is a pretty fun ride to follow the app growing (but after 2 hours probably even the funniest rollercoaster became boring.
I knew touching the led is a bit risky but drunkier you are cooler they became so f the power saving and pump up the lights, (I kept the led partially dimmed on red all the time to make the tablet visible in the dark (is or not an alarm clock?) I will probably set the led to stay on only when the charger is connected.
note to myself: add faz to the about page

albright 2009-01-11 17:05

Re: Flip clock pre pre pre pre release
 
Quote:

The alarm control is a slide button
I get it - everything is controllable by sleepy fingers - that's
good for alarm clock! Great application even if still in
progress.

ciroip 2009-01-11 19:47

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by albright (Post 256501)
I get it - everything is controllable by sleepy fingers
progress.

lol, I like how 'sleepy finger' sound

wax4213 2009-01-11 23:39

Re: Flip clock pre pre pre pre release
 
This program will take care of one of the extremely basic tasks that a product such as the NITs should ship with. The built in clock utility does function, but it's not very readable or attractive. The thing that annoys me the most about it though is not being able to set alarms to go off on certain days every week (eg every monday at 7:30, tuesdays at 8:30, etc.). This would be extremely handy for me because as a student, I don't have class at the same time every morning and I always want to sleep in as late as I can :p

So I guess this is my way of requesting a feature ^^ Thanks for all your hard work on this! It's looking great so far, miles and miles beyond the current clock app

lemmyslender 2009-01-12 01:22

Re: Flip clock pre pre pre pre release
 
Very cool little app. I like the idea of it. Installed the deb for version 4, after I couldn't figure out how to get 8 to run. I really wanted to see what 8 looked like, so I did a little searching and figured it out.

xterm cd to the fk008 dir, issue python2.5 fk008.py command. It errored out. fk007,worked just fine. Saw that 9 was up, tried it, same error as 8. Do I need something else installed?


Error as follows:

Traceback (most recent call last):
File "fk009.py", line 28, in <module>
ci_gfx.init_clock()
File "/media/mmc1/fk9/ci_gfx.py", line 19, in init_clock
drawclock()
File "/media/mmc1/fk9/ci_gfx.py", line 42, in drawclock drawmood() #Draw the mood lights
File "/media/mmc1/fk9/ci_gfx.py", line 87, in drawmood
if ci.tablet: ci_alarm.led ()
File "/media/mmc1/fk9/ci_alarm.py", line 52, in led
set_mode("direct")
File "/media/mmc1/fk9/ci_alarm.py", line 60, in set_mode
FILE = open("/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/mode","w")
IOError: [Errno 2] No such file or directory: '/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/mode'
/media/mmc1/fk9 $

Thanks, Len

ciroip 2009-01-12 01:56

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by wax4213 (Post 256629)
This program will take care of one of the extremely basic tasks that a product such as the NITs should ship with. The built in clock utility does function, but it's not very readable or attractive. The thing that annoys me the most about it though is not being able to set alarms to go off on certain days every week (eg every monday at 7:30, tuesdays at 8:30, etc.). This would be extremely handy for me because as a student, I don't have class at the same time every morning and I always want to sleep in as late as I can :p

So I guess this is my way of requesting a feature ^^ Thanks for all your hard work on this! It's looking great so far, miles and miles beyond the current clock app

Well this seem one of that cases where the obvious is in front of everyone and noone seem care about :). It felt natural for me this kind of use of the tablet (simplest alarm clock possible), I looked around and seemed noother noticied and I made it the crappy version we have now (ok, the graphics resulted pretty, but the code... Could God Ever Forgive Me).
The week scheduling alarm idea sound brilliant to me and seem pretty easy to do on paper.
My only concerce is to keep simple and 'sleepyfinger (cit.)' friendly the setting of 7 different days...
Maybe I could use the tablet ability to recognize even a stylus other than only fingers (...) and keep strinking all the 7 days on the same 'page'...
Ill see what ill be able to cook and having that feature done before you graduate

ciroip 2009-01-12 02:07

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by lemmyslender (Post 256646)
Very cool little app. I like the idea of it. Installed the deb for version 4, after I couldn't figure out how to get 8 to run. I really wanted to see what 8 looked like, so I did a little searching and figured it out.

xterm cd to the fk008 dir, issue python2.5 fk008.py command. It errored out. fk007,worked just fine. Saw that 9 was up, tried it, same error as 8. Do I need something else installed?


Error as follows:

Traceback (most recent call last):
File "fk009.py", line 28, in <module>
ci_gfx.init_clock()
File "/media/mmc1/fk9/ci_gfx.py", line 19, in init_clock
drawclock()
File "/media/mmc1/fk9/ci_gfx.py", line 42, in drawclock drawmood() #Draw the mood lights
File "/media/mmc1/fk9/ci_gfx.py", line 87, in drawmood
if ci.tablet: ci_alarm.led ()
File "/media/mmc1/fk9/ci_alarm.py", line 52, in led
set_mode("direct")
File "/media/mmc1/fk9/ci_alarm.py", line 60, in set_mode
FILE = open("/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/mode","w")
IOError: [Errno 2] No such file or directory: '/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/mode'
/media/mmc1/fk9 $

Thanks, Len

I have no idea what going on there :). I always test the things on the nokia itself (I pratically write the junk directly on the tablet...) and I always 'work' as ROOT. I think the 008 was the 1st version to have enabled the led things so maybe before that the application never had the need to access that OS stuff (do you really believe I understand what happen?) If u REALLY want be able to try the different versions u should try to touch (edit with a text editor :) ) the ci_init.py file and disable the extra features (sw_led=0, animation=0...) and see what happen...
Sorry I could not help more

Munk 2009-01-12 02:17

Re: Flip clock pre pre pre pre release
 
Ciroip, your alarm clock is certainly coming along and is getting very good! I think the we are no longer at "pre pre pre pre release" and more just at "pre release". ;)

Boy, I wish I just threw enough time at my programming project too. You don't give yourself enough credit as it's really not that bad of code. Your strength is the incredible graphics that you create and that you don't give up.

Good work Ciroip!

lemmyslender 2009-01-12 13:39

Re: Flip clock pre pre pre pre release
 
ciroip-

Thanks for the help. I set led=0 first, that worked. I have an N800, so maybe that makes a difference.

I thought that maybe I was missing something, the last part of the trace seems to indicate that a file was missing (/sys/devices/platform/i2c_omap.2/i2c-0/0-0032) called from ci_alarm.py.

I had tried to edit that line out figuring that it would just not write/read a value to/from that file, but that gave other errors (about expected indents?).

I assume now that the file in question has to do with the led. Version 9 works like a charm now.

One other issue for you to consider: I set it up to launch from Personal Menu, however it fails to find the data folder and errors out. It appears to assume that it is being launched from inside the fk9 folder. I simply made a sym link in /home/user to the data folder and it works fine after that. Again, perhaps a problem with the way I'm launching it.

Thanks again for all your hard work.

Len

ciroip 2009-01-12 14:12

Re: Flip clock pre pre pre pre release
 
Len: I suspect the expected indent is the typical python trap/joy. Python DEMAND a perfect 'alignment' of each line (indentation). Thar probably caused the error. Anyway removing/commenting that line will probably make the clock works but for sure will not trig any led event (the line is the very point of setting the os call for the led :) ).
Yes, the application now look for the data folder; Iprepared the application with 2different 'path' variables (to make easier the packagin and the testing at same time). If you want try and feel adventurus you can try to touch thar (in the usual ci_init) and copy the data content there, or I maybe using an absolute path for the data in relation to your files positions: something like /media/mmc1/fk009/data/ in case of the external memory card on the 810. Anyway I suppose a new .deb version should be on the way

ciroip 2009-01-12 17:25

Re: Flip clock pre pre pre pre release
 
wow, reading back my last post I realize how suck in 'explanation skill'.
Anyway Im still working on the ESD sound thing juicing resources all the time. If someone have any suggestions because I cant really figure it out why :) (maybe is just how pygame works?) Should I look for an alternative way to play the alarmsound?
Meanwhile I tried to make someting up for the qole idea:
Quote:

Of course, when I see this, I immediately think of other retro ideas for full-screen clocks. For instance, how about nixie tubes...
I liked the idea to use the nixie trasparencies with the background (Im still thinking to add the slideshow feature or at least to integrate the user wallpaper with the clock background
https://garage.maemo.org/frs/downloa...clocknixie.png
Note: The background pic is not mine,(and sadly I dont know the author's name) is just an example of how a bitmap could works with the clock

danramos 2009-01-13 08:50

Re: Flip clock pre pre pre pre release
 
I also noticed a bug: If I use the HOME key to go to my desktop, there's no way to get back to the clock--there isn't a task bar icon to tap on to go back to it.

I also ran into the same LED error mentioned earlier--and commenting out the LED option made it work for me as well.

I'm also finding it very, very difficult to manage to get into alarm setting and alarm disabling modes with the finger-fu moves (that sleepy sliding finger thingy). (I personally would prefer a hardware key mapping for this--something that can't be done by mistake like finger-fu would allow.)

Thanks, though! This is certainly a great work in progress!! :)

412b 2009-01-13 14:14

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 256870)
wow, reading back my last post I realize how suck in 'explanation skill'.
Anyway Im still working on the ESD sound thing juicing resources all the time. If someone have any suggestions because I cant really figure it out why :) (maybe is just how pygame works?) Should I look for an alternative way to play the alarmsound?

Yep. Sound playing in pygame is crappy. I tried to use it, but cpu consumption is just enormous for that little thing.
You can just use
Code:

hildon.hildon_play_system_sound(absolute_path_to_the_sound_file)
I'm not sure if it can play files other than WAV (no time and too lazy).
The other way, if you need to play other formats, could be using OSD, MPlayer, other player, but it seems to be a bit heavy.

ciroip 2009-01-13 14:47

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by 412b (Post 257216)
Yep. Sound playing in pygame is crappy. I tried to use it, but cpu consumption is just enormous for that little thing.
You can just use
Code:

hildon.hildon_play_system_sound(absolute_path_to_the_sound_file)
I'm not sure if it can play files other than WAV (no time and too lazy).
The other way, if you need to play other formats, could be using OSD, MPlayer, other player, but it seems to be a bit heavy.

well,I didnt want to sound to harsh with pygame (that seem pretty decent otherwise). qwerty12 already suggested me to use that hildon call (on #maemo, it seem the guy know pretty everything going on on the nokiatablet and Im getting bored to keep thank him) but I was not able to have anything playing :( (and yes I imported hildon).
Im agree any other solution I checked just fall under the overkilling umbrella categopry. If you confirm the possibility to call it from python Ill keep sniffing this road.
(I think in theory it should works even from the python 'commandline' >>>)

Thank you

ciroip 2009-01-13 15:41

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by danramos (Post 257150)
I also noticed a bug: If I use the HOME key to go to my desktop, there's no way to get back to the clock--there isn't a task bar icon to tap on to go back to it.

I also ran into the same LED error mentioned earlier--and commenting out the LED option made it work for me as well.

I'm also finding it very, very difficult to manage to get into alarm setting and alarm disabling modes with the finger-fu moves (that sleepy sliding finger thingy). (I personally would prefer a hardware key mapping for this--something that can't be done by mistake like finger-fu would allow.)

Thanks, though! This is certainly a great work in progress!! :)

The point is that the application don't have an icon :) (to be more precise the icons are not in the right place) I think a workaround (until next .deb) is to install at least one of previous .deb from the garage:
https://garage.maemo.org/frs/?group_...elease_id=2338
but maybe is just safer to just wait a bit (since all the version till now are battery hungry) and installing old .deb will dirt a bit the tablet with some .png that are not going to be used again)
Ill ask to someone smarter than me why should be so difficult to for an app to write that OS flag for the led, I sure dont want have a .deb that make people lose time for my fault (I guess I can do a check at the init and make the led configuration trasparent to the user.
If you are following a bit the different versions you noticied the app keep changing a lot, I sometime make some REALLY irrationals and !intuitive decisions and I need people to kick me in the right directions... and anyway the point of so many versions is that people can test different directions. The final version will probably have the hardware buttons support (sound pretty natural for a full screen app) but I still have to check how they works (Ill probably use the pygame events because everytime I use the OS services it seem there is something wrong popping up :( ) and be sure will work on the 770/800 whatever is out there.

412b 2009-01-13 16:01

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 257221)
If you confirm the possibility to call it from python Ill keep sniffing this road.

Well, it's already working in my Advanced Power (aka pybattery) ;)

ciroip 2009-01-13 18:32

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by 412b (Post 257243)
Well, it's already working in my Advanced Power (aka pybattery) ;)

Thanks, I was looking for a piece of real code using that call but google suck when one have the need to discriminate 1 single line difference between billions of files...
So I can check what is wrong with my n810 :)

ciroip 2009-01-14 01:29

Re: Flip clock pre release 010 Nixie hildon
 
ok, I finally understand why my nokia didn't play the hildon_play_music thing. I had the system sound disabled and it seem that set the volume for all the hildon calls. Ciononostante, even without any call to the mixer the stupygame made his calls to the esd all the time.
To trick pygame I tried to set the os.environ variable to null.
Im not sure if is really effective (on my tablet the esd seem show up only during the alarm sound playing) and if that change could have any effect on other applications (should be a local python variable ?)
os.environ["SDL_AUDIODRIVER"]=""

Thanks to 412b (Kirill?) for pointing to his Advanced power. It partially solve one problem I discovered: everytime the clock call the battery check the nokia original battery applet keep shwing up his annoying notify things. If someone have any idea (other than suggest to use the advanced power :) ) is weolcome.
https://garage.maemo.org/frs/downloa...ikix_h.tar.bz2
https://garage.maemo.org/frs/downloa...screenshot.jpg
I know the numbers are not so visible but I guess the point is to simulate a real nixie clock experience... anyway I can turn the 'capsules' more trasparents and turn the numbers a bit more bright and contrasted... Ill see if keep working on the nixie version (I really have big problems trying to judging my own work, I like the general nixie tone ).
The applications is beginning to have a bit too much crazy tapping so here a recap (suggestions for button positions and movements are appreciate):
Clock screen:
1.slide up to open the alarm set
2.slide down to 'disarm' the alarm (risky)
2. a simple tap for 1sec (and release) on the entire screen to stop the alarm and ask for 5 more minutes sleep.

Alarm set:
1.slide up and down on the numbers to set the alarm
2. slide left and right for the alarm on and off button
3 simple taps(and release) for the mood and about buttons
4. simple tap(and release) on top part to return to the clock screen

I need to add somewhere a control to test the alarm sound.
If I can find a way to check on the control panel setting I was thinking to put a warning on the screen (the classic slashed speaker?)
That's all for now I think.

qole 2009-01-14 05:53

Re: Flip clock pre pre pre pre release
 
The nixies look good ciroip!

Just a note, the numbers should glow reddish-orange, like neon. And yes, a little more contrast to make the numbers jump out would be perfect!

nilchak 2009-01-14 14:21

Re: Flip clock pre pre pre pre release
 
Hey Ciroip, not to put down you great ideas and the fact that you are really playing around with the app and having fun in the process (which is good), but I will give a thumbs down to the Nixie look. Sorry ! But just to add some user perspective.

Not that it should matter to you much personally - unless you are factoring in mass acceptance as a factor in your ideation process.

I really liked the original neat clean look more if FlipClock.

412b 2009-01-14 14:47

Re: Flip clock pre release 010 Nixie hildon
 
Quote:

Originally Posted by ciroip (Post 257393)
Kirill?

Yep ;)
Quote:

Originally Posted by ciroip (Post 257393)
If someone have any idea (other than suggest to use the advanced power :) ) is weolcome.

If you don't need timeleft info, feel free to use Advanced Power's code. It's not the best as I think, but good enough to be one of the variants. If you decide to use it and have problems, just PM me.

qole 2009-01-14 17:29

Re: Flip clock pre pre pre pre release
 
hah! nilchak nixed the nixies.

ciroip 2009-01-14 17:29

Re: Flip clock pre release 010 Nixie hildon
 
Quote:

Originally Posted by 412b (Post 257509)
Yep ;)

If you don't need timeleft info, feel free to use Advanced Power's code. It's not the best as I think, but good enough to be one of the variants. If you decide to use it and have problems, just PM me.

Please to meet you.
Yep your application is a 'living executable manual' (damn canola and their stupid pyc)
I can find examples code of pratically everything I need (and have it always working correctly to compare the results).
Since maemo.org is mainly a developers/advanced user site your applications should be application of the month :)

ciroip 2009-01-14 17:42

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by nilchak (Post 257505)
Hey Ciroip, not to put down you great ideas and the fact that you are really playing around with the app and having fun in the process (which is good), but I will give a thumbs down to the Nixie look. Sorry ! But just to add some user perspective.

Not that it should matter to you much personally - unless you are factoring in mass acceptance as a factor in your ideation process.

I really liked the original neat clean look more if FlipClock.

Lol, right. The graphics is only matter of personal taste (and I think the nixie idea was questionable since the beginning. Hey just blame qole!!)
It was just another personal itch to scratch. I promise to switch back to the no party version. When Ill xomplete the things Ill probably refine the other couple of versions the clock had (and I liked the plastic soldier version for almost a week, a record for me).
I dont thing the mass acceptance factoring rules are very applicable with the 4 guys they keep downloading all the release :) ).
You people are wasting time following the 'project' the minimun I can do is asking your opinion

daperl 2009-01-14 20:32

Re: Flip clock pre pre pre pre release
 
I haven't looked at the code recently, but isn't there some sort of a theme/skin abstraction? If not, maybe there should be.

fpp 2009-01-14 20:58

Re: Flip clock pre pre pre pre release
 
I think the nixies are really beautiful to look at, you are very gifted.

But I also agree that for just *using* the application day-to-day as an alarm clock, the initial concept of plain flipping numbers is more readable and easier to use. Maybe you just turn the nixies into a screen saver or something :-)

Benson 2009-01-14 21:01

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 257287)
Thanks, I was looking for a piece of real code using that call but google suck when one have the need to discriminate 1 single line difference between billions of files...

http://www.google.com/codesearch

ciroip 2009-01-14 22:55

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by daperl (Post 257607)
I haven't looked at the code recently, but isn't there some sort of a theme/skin abstraction? If not, maybe there should be.

is there, is enough to change the cl_coords in ci_init.py and substitute the number graphics and fondo :)

ciroip 2009-01-15 19:31

Re: Flip clock pre release
 
Returning to work at the noparty version
I made the 'about' playing the alarm sound (to check if the sound works and the volume level).
Need some more testing with the battery graphics (again in the about panel), anyway noone should spend too much there time since I just throw some code there but it should increase every minute (still not decided the scale but I was thinking that a 4 or 8 hours window frame could be acceptable)
Still trying new 'sliding movements'. Sliding down on the clock page now switch betwen full and window modes (I know look crappy and broke but I guess sometime could be nice to have a window mode, I read some complain about canola (maybe I can try to repositioning a bit the graphics for a window mode visualizing only the alarm time and maybe the battery grap, if that feature will ever works correctly).
https://garage.maemo.org/frs/downloa...oparty.tar.bz2
https://garage.maemo.org/frs/downloa...screenshot.jpg

qwerty12 2009-01-15 19:49

Re: Flip clock pre pre pre pre release
 
ciroip, I'm working on uploading the python-xlib bindings to extras so you can use the python equivalent of http://wiki.maemo.org/Game_developme...e_window_title to set the title instead of unknown.

Well, the xlib part anyway - dunno how SDL_SysWMinfo is done in python...

daperl 2009-01-15 22:24

Re: Flip clock pre pre pre pre release
 
SDL and an alarm clock. I just didn't see it coming. I think I need to go on a retreat of some kind.

This app should become the community's official test bed. Time to add some liqbase.

lcuk 2009-01-15 22:50

Re: Flip clock pre pre pre pre release
 
just as liqbase is being broken apart :)
the thing is, its hard to get ideas out there and there is no real framework so when people find something that works they tend to go overboard (voice of experience).

Its taken a lot for me to reign everything back in and setup everything for multiple projects :)

daperl 2009-01-16 00:12

Re: Flip clock pre pre pre pre release
 
I can imagine you feel that way. You have so much good stuff going on in liqbase it's no surprise to me that you might want to totally revamp some of it. I love throwing away code; it usually means I'm moving on to better things. My hope with liqbase is that you find some natural segregations that result in some reusable shared libraries with Python bindings. :)

ciroip 2009-01-16 01:00

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by qwerty12 (Post 257868)
ciroip, I'm working on uploading the python-xlib bindings to extras so you can use the python equivalent of http://wiki.maemo.org/Game_developme...e_window_title to set the title instead of unknown.

Well, the xlib part anyway - dunno how SDL_SysWMinfo is done in python...

It's a good feeling know there are people around solving your problems even before u knew the existence.
Funny you pointed at the game development since I think at this clock like a game...
Anyway the clock is turning out exactly how I like to 'feel' an application, precise and flawless :) so having the possibility to change that 'unknow' in something more usefull (data and time) will make my day

ciroip 2009-01-16 01:14

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by daperl (Post 257914)
SDL and an alarm clock. I just didn't see it coming. I think I need to go on a retreat of some kind.

This app should become the community's official test bed. Time to add some liqbase.

Hey, Im supposed to move my *** for a job next week! :) Really glad if someone smarter than me would take the developing part of the thing and made it the bed of whatever you want :) Anyway I would love to see some liqbasequality movements applied on that clock

ciroip 2009-01-16 22:54

Re: Flip clock pre pre pre pre release
 
ok, probably this is last version for a while now. The clock is done in every part I originally thinked. Ill probably reorganize the visualization for the 'new' windows mode and try to think a nice interface to set a 7 day scheduling alarm.
I put there some wacky experiments (flashingled and audio feedback interface and the battery thing now work with 1pix/1min resolution (so it should cover at least 10 hours). Everything is 'disableable' using the usual variables inside ci_init (tablet for the led and battery chack). I still dont understand why the led should not work on some user tablets and I need to find a way to disable the charging sound triggered everytime I check for the battery while the power is connected.
https://garage.maemo.org/frs/downloa...oparty.tar.bz2
https://garage.maemo.org/frs/downloa...screenshot.jpg
arrivederci :)

casper27 2009-01-17 10:25

Re: Flip clock pre pre pre pre release
 
Great work Ciroip and everyone else been following this for some time now and have to say it's very impressive. I have only loaded the 0.001deb app but am so far impressed. I was just wandering if there is anyway of making this the default screen saver instead of the screen blacking out as usual? Don't know if this is even possible but if you don't ask..
Again great work


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

vBulletin® Version 3.8.8