Notices


Reply
Thread Tools
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#1
EDIT
Most recent version: 0.1.7 Beta DBUS Alarm
https://garage.maemo.org/frs/downloa....1.7_armel.deb
0.1.2 plankton application alarm
22th February 2009: .DEB
https://garage.maemo.org/frs/downloa....1.2.armel.deb
OS 2008 5.2008.43-7 (DIABLO) on Nokia N810 (but it should disable the Led function on N800).
Packaged with Kerthan's Pypackager using the qwerty12's previous version.
Dependencies: Python 2.5 - Python2.5-pygame (the 1.7 but the 1.5 should do the job)
I dont think exist a really easy way to install python2.5: a workaround could be to install an application
that use python and let the application manager take care of the dependencies
(from wha I understand only an application in a repository can manage the dependencies)
SolarWolf (a game) made the trick for python2.5 AND pygame:
http://maemo.org/downloads/product/OS2008/solarwolf/
I wasnt able to find a list of apps that actually use python or python+pygame.
BE AWARE PEOPLE: Installing python would take something like 4 precious mb of the tablet
link to single debs:
Python2.5:
http://repository.maemo.org/extras/p...sso2_armel.deb

Garage page:
https://garage.maemo.org/frs/?group_id=851
[disclaimer in poopie english]
No one should use under any circumstance this application: Im not responsable for any damage that will occour to your tablet
or any appointment you will eventually miss for the application misfunctioning
__________________________________________________ _______________________________________
[ORIGINALL POST]

...
Since I didnt see any hand raising:
http://www.internettablettalk.com/fo...ad.php?t=24865
I decided to try by myself so here my really 1st python program ever. The thing need python (of course) and pygame to 'work'.
I have no idea what really is goin'on... I just randomly copied and pasted code around. No one should try this release. I dont assume any responsability. L'application run ONLY in full screen and there is no way to kill it. It dosn't manage the display lit (every minute the screen eventualy return bright ), no alarms, no radio manager, no flipanimations, no flashing leds, no nothing (well, the clock should work....)
https://garage.maemo.org/frs/downloa...pclock.tar.bz2

Last edited by ciroip; 2009-03-24 at 23:14. Reason: update to 0.1.7!!
 

The Following 25 Users Say Thank You to ciroip For This Useful Post:
Posts: 111 | Thanked: 23 times | Joined on Sep 2008 @ Singapore
#2
Looks cool!
 

The Following 2 Users Say Thank You to pton For This Useful Post:
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#3
ciroip,

!!! impressive, but it doesn't work by default

Your code is looking for d1.png and d2.png in the clock function:

def clock(cfr1,cfr2,cfr3,cfr4):
# sep1=pygame.image.load("d1.png")
# sep2=pygame.image.load("d2.png")

commenting these out gets it running

Package it up and make it available for everyone.
Simple little usable apps are great to have.
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 

The Following 3 Users Say Thank You to lcuk For This Useful Post:
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#4
ciroip, do you mind if i use the glyphs you constructed to build a widget in liqbase?
it will help me to test things.
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 

The Following User Says Thank You to lcuk For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#5
Originally Posted by lcuk View Post
ciroip, do you mind if i use the glyphs you constructed to build a widget in liqbase?
it will help me to test things.
not at all.The opposite.. I cant wait to see more apps from you.
Feel free to use whatever you want.
 

The Following 2 Users Say Thank You to ciroip For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#6
Originally Posted by pton View Post
Looks cool!
thank you. For now just 'look' cool. I hope I ll can find a way to make it work too
 

The Following User Says Thank You to ciroip For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#7
Nice work, looks cool.

2 suggestions, please use a text editor that understands unix line endings! (in vi, i'm getting ^M after each line which means it was saved in windows format). Plus, replacing "#!/usr/bin/python" with "#!/usr/bin/env python2.5" lets you start the program quicker if you hav python-launcher installed.

Also +1 with lcuk but all you need to do is remove the "d" rather than commenting the lines.

Last edited by qwerty12; 2008-12-14 at 15:18.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#8
commenting these out gets it running

Package it up and make it available for everyone.
Simple little usable apps are great to have.
Damn, I uploaded the wrong one... anyway Im still looking for help.
I would love to leave the boring parts (coding packaging...)to someone else who want complete the thing. I promise fame and celebrities.
 

The Following User Says Thank You to ciroip For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#9
Originally Posted by qwerty12 View Post
Nice work, looks cool.

2 suggestions, please use a text editor that understands unix line endings! (in vi, i'm getting ^M after each line which means it was saved in windows format). Plus, replacing "#!/usr/bin/python" with "#!/usr/bin/env python2.5" lets you start the program quicker if you hav python-launcher installed.

Also +1 with lcuk but all you need to do is remove the "d" rather than commenting the lines.
that's the kind of comments I like
I hope Ill became a bit less sloppy if/when maemo will approve this project and things 'll became a bit more official...
 

The Following 2 Users Say Thank You to ciroip For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#10
Making the following change allows me to run this app in Kubuntu 8.10 and on my n800. Otherwise it changes the screen resolution of my KDE nvidia graphics desktop. Painful.
Code:
try:
  window = pygame.display.set_mode((0,0))
except:
  window = pygame.display.set_mode((800, 480))
Cool stuff. Thanks.
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Reply

Tags
clock, flip clock


 
Forum Jump


All times are GMT. The time now is 14:38.