This is a discussion on Eventinjector in blackberry within the Blackberry forums, part of the Mobile Software Development category; hi there, event injector Invokes certain events by applying into application without actually pressing the keypad.. i like to implement ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| hi there, event injector Invokes certain events by applying into application without actually pressing the keypad.. i like to implement eventinjector how come its possible????
__________________ cheers Aman Last edited by amansundar : 12-20-2007 at 12:49 AM. |
| Sponsored Links |
| |||
| hi aman, using navigationevent,trackwheelevents and keycodeevents you can do it....following code help you: Code: EventInjector.invokeEvent( new EventInjector.TrackwheelEvent( EventInjector.TrackwheelEvent.THUMB_ROLL_UP, 1, 1 ));
EventInjector.invokeEvent( new EventInjector.TrackwheelEvent( EventInjector.TrackwheelEvent.THUMB_ROLL_DOWN, 1, 1 ));
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! Last edited by S.Vinothkumar : 12-20-2007 at 12:57 AM. |
| |||
| there are three subclasses in event injector which are trackwheel events,keypadevents and navigation events using this you can invoke many events in your application...
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| hi vinoth i tried implementing trackwheelinjector in my app but there is no sign of invoking any operation in my app...what am lacking am sure i didnt make any mistake in coding..am screwed up..fix me buddy....
__________________ cheers Aman |
| |||
| well amansundar! lot of issue need to be considered apart from coding...check out permission settings.. try this homescreen->option->advanced option->application->core application->modules->your application->edit permission->interaction->keystroke injection->allow this will help think so.... ![]() |
| |||
| Hi, am surprised why when I inject ALT key event to my application which receives but no change in ALT status? keyStatus() to be called whenever the ALT status changes, but it does not. This must be an error, or perhaps a misunderstand on my part?
__________________ cheers Aman |
| |||
| am too realizing this problem .i think there no point of giving alt status in event injector .RIM should make some clear notice of this....
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| ofcourse you need to sign,following link suggest how to get sign for ur application BlackBerry - BlackBerry | Wireless Handheld Devices, Software & Services from Research In Motion (RIM)
__________________ cheers Aman |
| |||
| Hai geeks, does anyone know how to assign keyinjection for "press" the menu button? I haven't found something usable but not sure to had overseen something. KeyEvent and KeyCodeEvent are both using char values but I don't see a char for the menu button. Code: EventInjector.invokeEvent(newEventInjector.KeyCodeEvent(EventInjector.KeyCodeEvent.KEY_DOWN,Keypad.map(Keypad.KEY_MENU),0,100)); EventInjector.invokeEvent(newEventInjector.KeyCodeEvent(EventInjector.KeyCodeEvent.KEY_UP,Keypad.map(Keypad.KEY_MENU),0,100)); ![]()
__________________ Krishnakumar.S Beware of Everything -that is un true; stick to the Truth shall succeed slowly but steadily |
| |||
| Thanks for all your post, I have the same problem and now it has been sorted
__________________ business card printing |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| blackberry in netbeans | amansundar | Blackberry | 30 | 04-15-2008 09:58 PM |
| j2me programing with BlackBerry phones -useful tips | jeyaprakash.c | Blackberry | 27 | 04-02-2008 04:25 AM |
| j2me application in Blackberry | amansundar | Mobile Software Development | 2 | 12-20-2007 01:22 AM |
| What Kind of Blackberry software User prefer? | mobilegeek | Blackberry | 0 | 12-02-2007 09:19 PM |