Re: long keypress When program is run background??
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.
Re: long keypress When program is run background??
Hi,
you can use long red key for sending sms. I think it is good instead of capturing numeric keys
regards,
Sumit
Re: long keypress When program is run background??
RED Key !!! no...
* Red key normally is used to END call...
* Red key long press is used to END all data connections like GPRS !
Re: long keypress When program is run background??
[QUOTE=amitkankani;552194]RED Key !!! no...
* Red key normally is used to END call...
* Red key long press is used to END all data connections like GPRS ![/QUOTE]
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
Re: long keypress When program is run background??
[QUOTE=sumit.rathi;552195]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[/QUOTE]
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
Re: long keypress When program is run background??
[QUOTE=arun09;552278]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[/QUOTE]
Ok if No key is free then you should use this.
Re: long keypress When program is run background??
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
Re: long keypress When program is run background??
[QUOTE=arun09;552644]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[/QUOTE]
yeah,
Unlocking keypad is possible use RAknkeylock.
regards,
Sumit
Re: long keypress When program is run background??
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
Re: long keypress When program is run background??
Re: long keypress When program is run background??
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.
Re: long keypress When program is run background??
[QUOTE=arun09;552757]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.[/QUOTE]
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
Re: long keypress When program is run background??
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.
Re: long keypress When program is run background??
[QUOTE=sreehariko;553074]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.[/QUOTE]
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
Re: long keypress When program is run background??
i have downloaded globalkeycapture.zip how can i run globalkeycapture.zip in N72 mobile.?