02-13-2009 12:55 PM
Hello:
How do I run openProductionBackdoor method when the application is in background?
Similar to (Alt + ESCR).
What interface listener do I use?.
Thanks by you help.
02-14-2009 12:20 AM
I think you'd have to change application selection to bring it to the foreground. I'm assuming you have tried it and it didn't work in the background and it did work in the foreground (if you didn't try it....try it first....and let us know).
I don't think it can absorb events unless it is. The only other way that I can think of is if you have control of the app in the foreground. Then you might be able to capture this key sequence in the foreground app and then send it to the background screen. But that would be kinda pointless (you might as well process it in the foreground app).
I'm not sure if I've helped you at all. I think you might be stuck. I haven't messed around with this kind of thing and judging from the responses, neither have too many others. I suspect that you'd have to do what I said above.
Good luck.
-Donald
02-16-2009 06:14 AM
02-16-2009 06:43 AM
I think so. I'm currently trying to see how to convert applets to midlets or just blackberry apps (midp/cdlc). One little class I came across was the KeyListener class. Often in javaSE you get applets that implement runnable AND keylistener.
I'm thinking that your screen could implement keylistener and possibly could get access directly to certain keys. I can't remember if your BB is a storm or not. There are some custom Blackberry classes for handling the virtual keys. If you are using a BB with a keypad you might be able to do something there. Again, though, you may run into problems if the foreground app is also listening.
02-18-2009 10:10 AM