![]() |
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 |
Re: clock
Quote:
BTW: Got the osso.Context running - this stuff needs an initialized main loop first, otherwise it will fail... however, now I'm stuck with a not-yet working repeating call to device.display_blanking_pause(). Step by step... |
Re: clock
Sweet, finally someone making some ground on this!
I do like the earth view, but it would also be nice to enable a full-screen clock, i.e an alarm clock. I envision plugging in my n800 at night to use as my alarm clock so I suppose battery life isn't much of an issue. If you'd like more feature suggestions, I'd be glad to add some more. :) |
Re: clock
[QUOTE=twaelti;70731]maemoClock: My first application for the N800, my first application in Python
A clock for the N800, including a day/night world map. Twaelti, COOL! I don't really need a clock, but I want that just because it looks great! Bruce |
Re: clock
Any more progress on this, twaelti? I've been following this thread with great interest as I would absolutely love to have a full screen clock with large letters to consult in the middle of the night as I am blind as a bat without my glasses and can't read the default applet without fumbling for my specs. :p
Thanks for taking this on! |
Re: clock
Quote:
You will be able to switch between the two settings with a touch of the screen (and I experimented with gconf to store/reload this setting between sessions) Once I get around to build an installer package (a LONG way to go), I will make a beta available. |
Re: clock
Instead of store this in gconf, i think it ll be better to store in it in the user home, like many applications. Ex : '/home/user/.maemoclock/conf.conf'
So no dependancy from gconf. |
Re: clock
Quote:
(Besides, it was very easy to implement, only took a few minutes....grin) |
Re: clock
Alpha preview of mClock now available, see post in the "Packaging" thread.
|
Re: clock
Ohboyohboyohboy! On my way to check it out now..... :)
|
All times are GMT. The time now is 17:35. |
vBulletin® Version 3.8.8