03-23-2010 09:45 AM
I have two questions
I want to access Green key and End key in MIDLET (for Blackberry ) how can I achieve this? I am getting other keys ( from a to z ) in "keyPressed" method. But I am not able to get CALL KEY and END KEY (Green key and End key ).
I want to change opacity of an image programatically How can I achieve this?
03-23-2010 10:00 AM - edited 03-23-2010 10:04 AM
For the first question I don't think you'll be able to do this. In the BlackBerry specific APIs you could ordinarily use EventInjector.KeyCodeEvent to insert a key press. However, according to Mark Sohm this will not work on a real device so I'm certain there's no way to do it from a Midlet either.
Edit: Sorry, I was thinking that you wanted to insert a key but looking at that post now it looks like you just want to set up a KeyListener. My guess is that RIM will not be able to let you get this because you could override the default behavior.