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 |
|
#1
| |||
| |||
| 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. |
|
#2
| |||
| |||
| 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. |
|
#3
| |||
| |||
| hi vinoth, i have already gone through above code in sample jde programs....
__________________ cheers Aman |
|
#4
| |||
| |||
| 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! |
|
#5
| |||
| |||
| 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 |
|
#6
| |||
| |||
| 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.... ![]() |
|
#7
| |||
| |||
| thank you saloni it works.. ![]()
__________________ cheers Aman |
|
#8
| |||
| |||
| 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 |
|
#9
| |||
| |||
| 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! |
|
#10
| |||
| |||
| well guys, key injection is a bit of hack, i would like to use it in commercial software.do this injector class require signing? |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| blackberry in netbeans | amansundar | Blackberry | 31 | 12-23-2008 07:07 PM |
| How to send a message from BlackBerry using j2me | vashishth_kec | Blackberry | 0 | 12-03-2008 03:42 AM |
| 3D game development in blackberry | amansundar | Blackberry | 2 | 04-15-2008 03:48 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 |
Our Partners |