Discussion Board

Page 4 of 8 FirstFirst 12345678 LastLast
Results 46 to 60 of 107
  1. #46
    Regular Contributor neel.soft's Avatar
    Join Date
    Oct 2008
    Posts
    95
    hi,

    so u want to send an sms whenever any numeric key is pressed for long time.

    u can also use pencil key ,it rarely used.However red key will be the best as sumit.rathi said.

    For capturing long key press u can use:

    GlobalLongKeyPress example as i said u before if u are not able to capture the keys.
    Last edited by neel.soft; 2009-03-04 at 10:00. Reason: mistake

  2. #47
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    Hi,
    you can use long red key for sending sms. I think it is good instead of capturing numeric keys

    regards,
    Sumit

  3. #48
    Nokia Developer Champion amitkankani's Avatar
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572
    RED Key !!! no...

    * Red key normally is used to END call...
    * Red key long press is used to END all data connections like GPRS !
    Amit Kankani
    Nokia Developer Champion

  4. #49
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    Quote Originally Posted by amitkankani View Post
    RED Key !!! no...

    * Red key normally is used to END call...
    * Red key long press is used to END all data connections like GPRS !
    Every key have their own operations on short press or long press. No key on device is totally free for 3rd party applications. I am sry if i m wrong.

    Regards,
    Sumit

  5. #50
    Regular Contributor arun09's Avatar
    Join Date
    Feb 2009
    Posts
    287
    Quote Originally Posted by sumit.rathi View Post
    Every key have their own operations on short press or long press. No key on device is totally free for 3rd party applications. I am sry if i m wrong.

    Regards,
    Sumit

    small clarification in regard to abow message - the term No in"No key on device is totally free for 3rd party applications" coresponds to number or No

  6. #51
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    Quote Originally Posted by arun09 View Post
    small clarification in regard to abow message - the term No in"No key on device is totally free for 3rd party applications" coresponds to number or No
    Ok if No key is free then you should use this.

  7. #52
    Regular Contributor arun09's Avatar
    Join Date
    Feb 2009
    Posts
    287
    sir,

    when the phone is in lock mode i want to enable any one of the keys. That means, when the phone in in the lock mode, i want to enable the keypad by pressing any of the keys.

    Is this possible or not?

    Kindly help me

  8. #53
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    Quote Originally Posted by arun09 View Post
    sir,

    when the phone is in lock mode i want to enable any one of the keys. That means, when the phone in in the lock mode, i want to enable the keypad by pressing any of the keys.

    Is this possible or not?

    Kindly help me
    yeah,
    Unlocking keypad is possible use RAknkeylock.

    regards,
    Sumit

  9. #54
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    Hi arun,

    you can use the following code to unlock keypad.

    RAknKeyLock objKeyLock ;
    objKeyLock.Connect () ;
    if(objKeyLock.IsKeyLockEnabled())
    {
    objKeyLock.DisableWithoutNote();
    }

    // objKeyLock.EnableKeyLock() ;
    objKeyLock.Close () ;

    Regards,
    Sumit

  10. #55
    Regular Contributor arun09's Avatar
    Join Date
    Feb 2009
    Posts
    287
    thank you very much sir

  11. #56
    Regular Contributor arun09's Avatar
    Join Date
    Feb 2009
    Posts
    287
    sir,

    i have a query regarding the operation ,ie if i write an application regarding the long key press and thereafter if i install the application in the phone ,in which already a speed dial function has been assigned. so , in this case, the first priority will go to the speed dial function or my installed application.

    kindly help me out .

    thank you.

  12. #57
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    Quote Originally Posted by arun09 View Post
    sir,

    i have a query regarding the operation ,ie if i write an application regarding the long key press and thereafter if i install the application in the phone ,in which already a speed dial function has been assigned. so , in this case, the first priority will go to the speed dial function or my installed application.

    kindly help me out .

    thank you.
    Hi arun,

    As i think if you are capturing the key with setting your ordinal priority high then might be first priortiy would be yours. But I am not sure. You can check it by assigning speed dial and your functionality on the same key.

    Regards,
    Sumit

  13. #58
    Registered User sreehariko's Avatar
    Join Date
    Mar 2009
    Posts
    1
    sir,
    i have done a programme for long key press but it is possible only by camera key.what modification i have to for any key long press for the same programme.

  14. #59
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    Quote Originally Posted by sreehariko View Post
    sir,
    i have done a programme for long key press but it is possible only by camera key.what modification i have to for any key long press for the same programme.
    how you did it for camera key? Try to implement same logic for other keys.
    For long key press you have to do 2 things-

    1. Capture the required key
    2. Check for the long press
    {
    /// do something/////
    }

    Regards,
    Sumit

  15. #60
    Regular Contributor arun09's Avatar
    Join Date
    Feb 2009
    Posts
    287
    i have downloaded globalkeycapture.zip how can i run globalkeycapture.zip in N72 mobile.?

Page 4 of 8 FirstFirst 12345678 LastLast

Similar Threads

  1. why program can not run in mobile phone ?
    By luohaibo in forum Symbian Tools & SDKs
    Replies: 9
    Last Post: 2009-03-05, 16:18
  2. Identify program running in background?
    By nire123 in forum Symbian C++
    Replies: 8
    Last Post: 2008-07-13, 07:50
  3. Can not run file manager program
    By agsapt in forum Symbian C++
    Replies: 0
    Last Post: 2002-08-27, 07:37
  4. i cannot run any java program in 9200 SDK
    By chili_fi in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-08-12, 23:34
  5. Run HandleSessionEventL() in background
    By chinazou305 in forum Symbian C++
    Replies: 0
    Last Post: 1970-01-01, 02:00

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