![]() |
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! |
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 |
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 |
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:
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 |
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!! :) |
Re: Flip clock pre pre pre pre release
Quote:
You can just use Code:
hildon.hildon_play_system_sound(absolute_path_to_the_sound_file) 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. |
Re: Flip clock pre pre pre pre release
Quote:
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 |
Re: Flip clock pre pre pre pre release
Quote:
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. |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
Quote:
So I can check what is wrong with my n810 :) |
All times are GMT. The time now is 12:09. |
vBulletin® Version 3.8.8