Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User impazzito's Avatar
    Join Date
    Apr 2008
    Posts
    28
    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")

  2. #2
    Registered User impazzito's Avatar
    Join Date
    Apr 2008
    Posts
    28
    No idea???????? Please!!!!!!!

  3. #3
    Regular Contributor Dansco's Avatar
    Join Date
    Mar 2003
    Posts
    115
    Quote Originally Posted by impazzito View Post
    No idea???????? Please!!!!!!!
    Give us chance mate, you need to allow more than a day. I'm sure a Python Wizard will help you

  4. #4
    Registered User impazzito's Avatar
    Join Date
    Apr 2008
    Posts
    28
    ok thaks dasco.. i was answering only for the idea not only for the code! Do you like my idea?

Similar Threads

  1. Light Api problems (part 2) N73
    By microsoft2 in forum Symbian C++
    Replies: 4
    Last Post: 2010-05-16, 22:54
  2. Turn ON LED LIGHT on Nokia 5700 XpressMusic
    By knelle in forum General Development Questions
    Replies: 2
    Last Post: 2008-07-30, 08:14
  3. E90 video camera flash light problem
    By chaudhry27 in forum General Development Questions
    Replies: 2
    Last Post: 2008-06-07, 20:21
  4. N80 Blue led flash when new sms or missed call
    By wez_81 in forum Mobile Java General
    Replies: 2
    Last Post: 2006-11-29, 10:45
  5. How to Disable the LED Light in N73
    By N73user in forum General Development Questions
    Replies: 3
    Last Post: 2006-11-22, 18:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved