BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-27-2011, 02:08 AM   #1 (permalink)
New Member
 
Join Date: Sep 2011
Model: 9600
PIN: N/A
Carrier: vodafon
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Injecting # key event

Please Login to Remove!

Hi

I want to inject the # key event in my app , so that as my app starts device goes into vibrate only mode

Code:
EventInjector.KeyCodeEvent KeyDown = new EventInjector.KeyCodeEvent(EventInjector.KeyCodeEvent.KEY_REPEAT, Characters.NUMBER_SIGN, 0);  
 EventInjector.KeyCodeEvent releaseKey = new EventInjector.KeyCodeEvent(EventInjector.KeyCodeEvent.KEY_UP, Characters.NUMBER_SIGN, 0);  

 EventInjector.invokeEvent(KeyDown);
 EventInjector.invokeEvent(releaseKey);
But some how this is not working . can any one help me out ??

Regards
Offline  
Closed Thread


Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads for: Injecting # key event
Thread Thread Starter Forum Replies Last Post
Event ID 20185,25016,25035 UTanamal BES Admin Corner 2 07-24-2009 11:11 AM
Blackberry Tips and Tricks Tom RIM Software 134 11-12-2008 04:46 PM
Event log error message: Failed to get Peer to Peer Key Sequence stevew BES Admin Corner 4 03-12-2007 02:14 PM
8703e guide and all other series of bb techman1 BlackBerry Guides 1 09-21-2006 09:12 PM
event log warnings kburd CH BES Admin Corner 1 02-22-2006 06:25 PM

MAC 44B-ABA-GDDA-1BA, 1 Unit of Solenoid Valve as 1st photo.
$1.0
MAC 44B-ABA-GDDA-1BA, 1 Unit of Solenoid Valve as 1st photo. picture161131 New-No Box, MAC 411A-B0A-DM-DJAA-1CA Solenoid Valve, 20-120PSI
$95.85
161131 New-No Box, MAC 411A-B0A-DM-DJAA-1CA Solenoid Valve, 20-120PSI picture161411 New-No Box, burkert 126474 Solenoid Valve, 4-Way, 10bar, 24V
$78.12
161411 New-No Box, burkert 126474 Solenoid Valve, 4-Way, 10bar, 24V picture161409 New-No Box, Festo CPE18-M1H-5L-1/4 Solenoid Valve, 163412, 24VDC
$83.25
161409 New-No Box, Festo CPE18-M1H-5L-1/4 Solenoid Valve, 163412, 24VDC picturePeter Paul 26JJ7XCM 240/60 S-20 3 W.M.P. Solenoid Valve,NEW
$74.99
Peter Paul 26JJ7XCM 240/60 S-20 3 W.M.P. Solenoid Valve,NEW picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.