![]() |
Re: clock
Quote:
Ignore the howtos that are referenced in the normal maemo sections, the ones you refer to with missing parts. They missing parts can actually be viewed in the html. I went to the bugtracker to view mention the problem after someone (possibly texrat) said about remembering to raise bugs, I found a but that referenced it, but unfortunately it seemed to be just a list of comments arguing about whos problem it was to fix, or whether it was already fixed, so I don't think it is going to be fixed anytime soon! Anyway, even if it was fixed (in which case it would look like the complete ones on test.maemo.org), if you mean the 770, even the working document is completely wrong and can't be followed, luckily I found a page (actually referenced on the bug about the documentations page) where it does give good working instructions: http://www.ptlug.org/wiki/Howto_Inst..._for_Nokia_770 It is a pretty poor state of affairs if you can't actually get the instructions to set up to develop on the site purporting to be about the device itself, and instead of fixing the problem the people in charge of it just argue about whos fault it is. Quote:
|
Re: clock
Quote:
I want to optimiz it the first time, but i see the source and i think it ll be better to make an other clock app. When my small code editor will be finish i ll create one. |
Re: clock
---
Why couldn't you just use a javascript clock? Like this: http://jeans.studentenweb.org/java/javclock.html or this: Analog: http://javascript.about.com/library/blclock5.htm You could get the javascript, store it locally and put on whatever look and feel you wanted. ---- If you read above you'll see that I am using one. Thanks, though. http://www.internettablettalk.com/fo...7&postcount=37 |
Re: clock
Or if you are connected to the web you could just use something more subtle:
http://www.humanclock.com |
Re: clock
Quote:
:D |
Re: clock
maemoClock: My first application for the N800, my first application in Python
A clock for the N800, including a day/night world map. First internal alpha, main features achieved. One big thing remaining: How to get rid of the osso.OssoException: Cannot initialize context error? Happens in "osso_c = osso.Context("osso_test_device_on", "0.0.1", False)". Help much appreciated :-) The standalone osso_test_device_blank_pause.py example from the pymaemo.garage documentation works without problems. Same code in my app gives the error. Oh well. A first screenshot: http://tomch.com/wp/wp-content/uploa...lock-alpha.jpg |
Re: clock
I ll get a look at your error
EDIT : without source i can t help u. |
Re: clock
Quote:
|
Re: clock
Quote:
Hopefully, looking at the screenshot it's sleeping for a minute before updating the display... Edit: duh, it's got a seconds display, so it won't be sleeping long at all. You probably want to remove that, or at least make it not update the display, and sleep for much longer periods when the screen is blanked or the application isn't in the foreground. There are DBUS events for both of these. |
Re: clock
sleep for a minute? i think normally that would be bad. I would expect sleep for 1 sec maybe (1000 ms).
Not sure about python but in most languages sleeping for 60 seconds would mean the app would become unresponsive for a whole minute... would look locked up if you tried killing or switching tasks. Look forward to using your app! Here are some flash-based clocks you can download and use locally... some are widescreen and some even have alarms and only a few simple ones dont max out the cpu... but they are cool : http://edmullen.net/fclock.html (flash on nokia is buggy so your likely to crash going -between- pages.. maybe bookmark before you start trying them out... each is stable on its own just when entering/leaving the pages it may crash... must be quirk to n770/800 flash plugin. Scroll down to the -second- list which points directly to the SWF files then if you like you can save it. Of those clocks i like these the most : http://edmullen.net/flash/7a.swf http://edmullen.net/flash/clock1.swf http://edmullen.net/flash/clock12.swf |
All times are GMT. The time now is 20:22. |
vBulletin® Version 3.8.8