IT Community - Software Programming, Web Development and Technical Support

Eventinjector in blackberry

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development > Blackberry

Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2007, 09:56 PM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 319
amansundar is on a distinguished road
Default Eventinjector in blackberry

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.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 12-19-2007, 09:19 PM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Default Re: Eventinjector in blackberry

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.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 12-20-2007, 02:26 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 319
amansundar is on a distinguished road
Default Re: Eventinjector in blackberry

hi vinoth,
i have already gone through above code in sample jde programs....
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 12-26-2007, 12:12 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Default Re: Eventinjector in blackberry

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!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 01-28-2008, 09:38 PM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 319
amansundar is on a distinguished road
Default Re: Eventinjector in blackberry

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 01-28-2008, 09:48 PM
saloni srivatsava saloni srivatsava is offline
D-Web Trainee
 
Join Date: Sep 2007
Posts: 16
saloni srivatsava is on a distinguished road
Default Re: Eventinjector in blackberry

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....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 02-06-2008, 08:43 PM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 319
amansundar is on a distinguished road
Default Re: Eventinjector in blackberry

thank you saloni it works..
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 02-21-2008, 09:22 PM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 319
amansundar is on a distinguished road
Default Re: Eventinjector in blackberry

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 02-26-2008, 03:00 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Default Re: Eventinjector in blackberry

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!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 03-11-2008, 08:16 PM
saloni srivatsava saloni srivatsava is offline
D-Web Trainee
 
Join Date: Sep 2007
Posts: 16
saloni srivatsava is on a distinguished road
Default Re: Eventinjector in blackberry

well guys, key injection is a bit of hack, i would like to use it in commercial software.do this injector class require signing?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT -7. The time now is 03:14 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0