Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor djsid's Avatar
    Join Date
    Jun 2008
    Posts
    56
    Hi folks !
    I have developped a program that detects two different gestures.
    what i want to do is to associate those gestures to some actions:
    1 - answer a call phone with a gesture ( i did it successfully with incoming_call() and answer() ) and hang up the call with the same or the other gesture

    2 - dial a the last missed number( did it thanks to logs module et dial() method) and hang up the call when finished with a gesture.

    What can i do to play the application on background and dont loose it every time i call someone or being called by somebody ?

    Hope i was a bit clear

    Thanks

  2. #2
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,688
    hi djsid

    have you tried with the envy module.

    Regards
    Gaba88

  3. #3
    Regular Contributor djsid's Avatar
    Join Date
    Jun 2008
    Posts
    56
    No i didnt, i have some problems using the external modules. symbian signed doesnt like me . I usually get failure network message while signing my scriptshell and applications. So i want to know if it's possible to do it with the native python.

    Actually the application doesnt close automatically, i just cant use the same code in a repetitive way. when i hang up the call with the red key and want to call again, the program said i should hang up first

    any clue ?

  4. #4
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,688
    Quote Originally Posted by djsid View Post
    No i didnt, i have some problems using the external modules. symbian signed doesnt like me . I usually get failure network message while signing my scriptshell and applications. So i want to know if it's possible to do it with the native python.

    Actually the application doesnt close automatically, i just cant use the same code in a repetitive way. when i hang up the call with the red key and want to call again, the program said i should hang up first

    any clue ?
    hi

    ya i got your problem but really sorry AFAIK there is no other way or means by whcich you can prevent that except the use of external modules.
    I will request you to give envy a try its really a cool one.

    Enjoy Pythoning
    Gaba88

  5. #5
    Regular Contributor djsid's Avatar
    Join Date
    Jun 2008
    Posts
    56
    I will try with symbian signed hopefully.
    but i want to know something : when you press the red key does the hang_up signal been activated or should i explicitly mention it ?

  6. #6
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,688
    Quote Originally Posted by djsid View Post
    I will try with symbian signed hopefully.
    but i want to know something : when you press the red key does the hang_up signal been activated or should i explicitly mention it ?
    hi
    i feel when the red key is pressed the hang_up will not be activated you have to mention that explicitly.

    Regards
    Gaba88

  7. #7
    Regular Contributor djsid's Avatar
    Join Date
    Jun 2008
    Posts
    56
    Quote Originally Posted by gaba88 View Post
    hi
    i feel when the red key is pressed the hang_up will not be activated you have to mention that explicitly.

    Regards
    Gaba88
    How can i do that without binding the key to the canvas ? i need to use the screen to debug my program, using the canvas will make it harder

  8. #8
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Quote Originally Posted by djsid View Post
    How can i do that without binding the key to the canvas ? i need to use the screen to debug my program, using the canvas will make it harder
    Try keycapture:
    http://discussion.forum.nokia.com/fo...60&postcount=2

  9. #9
    Regular Contributor djsid's Avatar
    Join Date
    Jun 2008
    Posts
    56
    Quote Originally Posted by bogdan.galiceanu View Post
    I'll try that. Symbian signed seems to be working today. I have to take this opportunity

    By the way, is it the only way to know if a key has been pressed regardless to binding the key events to the canvas

  10. #10
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Yes, I believe it is the only way.

  11. #11
    Regular Contributor djsid's Avatar
    Join Date
    Jun 2008
    Posts
    56
    Quote Originally Posted by bogdan.galiceanu View Post
    Yes, I believe it is the only way.
    Just a silly question. where can i found the keycapture module for 3rd Edition unsigned please ?

  12. #12
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Quote Originally Posted by djsid View Post
    Just a silly question. where can i found the keycapture module for 3rd Edition unsigned please ?
    It comes with Python for S60

  13. #13
    Regular Contributor djsid's Avatar
    Join Date
    Jun 2008
    Posts
    56
    Quote Originally Posted by bogdan.galiceanu View Post
    It comes with Python for S60
    lol. It was silly indeed

Similar Threads

  1. Replies: 18
    Last Post: 2008-10-10, 09:36
  2. Play .wav sound during Active call
    By so_sanjay in forum Symbian C++
    Replies: 3
    Last Post: 2008-08-29, 12:55
  3. detecting a disconnect ?
    By Raphanus in forum Python
    Replies: 2
    Last Post: 2008-08-28, 16:35
  4. Call conference
    By nukool_c in forum Mobile Java General
    Replies: 7
    Last Post: 2007-09-07, 21:30
  5. incoming call event handling
    By anandrenake in forum Symbian C++
    Replies: 16
    Last Post: 2005-12-30, 10:46

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