Hi! I'm newbie with a dream!
Make my first python application!
I have this idea:
use the red flash light of my n95 8gb cam like the blue led infront of n73..
i want to switch on the red light every 30 second if the phone is on-line and turn on the red light 2 time (continously) if ther is an unread sms o call.
Now i have made this line only as test but there is a problem..
this script use the camera command that, used without flash, turn on the red light but... USE THE CAMERA!!!!!!!! and this suck more battery.
Is there a command that switch on the red light witouht make a photo?
Thanks!
Code:# N95 RedLed # by IMPAZZITO from appuifw import * import camera, appuifw list=[u"RedLed On", u"About"] picked=appuifw.popup_menu(list, u"Select an option:") if picked==0: running=1 def quit(): global running appuifw.note(u"RedLed OFF") running=0 appuifw.app.exit_key_handler=quit appuifw.note(u"RedLed ON") while running: image = camera.take_photo(flash='none') if picked==1: appuifw.note(u"This is only a simple application that use the red led of your Nokia N95 like the BlueLed of SamsungPhone or Nokia N73")

Reply With Quote


