Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Trusted Contributor
hardikhamar
Posts: 159
Registered: ‎02-17-2011
My Device: Not Specified
Accepted Solution

problem with mobile key press

hello

 

Generaly mobile back button  pop the screen.

 

is there any way that  i can  write  code for mobile back  key?

 

Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: problem with mobile key press

check for Characters.ESCAPE when overwriting the keyChar method in a mainscreen.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Trusted Contributor
hardikhamar
Posts: 159
Registered: ‎02-17-2011
My Device: Not Specified

Re: problem with mobile key press

 

thanks simon

 

And what about  cancel  key means that key which we use the cut the call.

Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: problem with mobile key press

the red key must be intercepted in keyDown (as keychar is not used for it).
the keycode is http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/ui/Keypad.html#KEY_END
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Trusted Contributor
hardikhamar
Posts: 159
Registered: ‎02-17-2011
My Device: Not Specified

Re: problem with mobile key press

thanks simon

 

i got all solution about my app

 

thanks all of   you to help me .

 

today I completed  my whole application.

Please use plain text.
Trusted Contributor
hardikhamar
Posts: 159
Registered: ‎02-17-2011
My Device: Not Specified

Re: problem with mobile key press

[ Edited ]

hello

 

i have still last issue about map.

 

 

when i go on map and that time i click cancel key on mobile  then app close  but  it's not a pop all page which are pushed.

 

so what about it.

Please use plain text.