BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-26-2012, 09:09 AM   #1
citizenKane
New Member
 
Join Date: Mar 2012
Model: 8520
PIN: N/A
Carrier: lala
Posts: 3
Default Go back to application after finishing phone call

Please Login to Remove!

Hi, i am trying to go back to the application after placing a phone. I place the call programatically, send some tones and finish the call. After that instead of going back to the screen from which one i came from i am sent to the phone calls list screen. My code is:

phoneCall.sendDTMFTones("12345#");

try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

EventInjector.KeyCodeEvent pressEndKey = new EventInjector.KeyCodeEvent(KeyCodeEvent.KEY_DOWN, (char) Keypad.KEY_END, 0,100);
EventInjector.KeyCodeEvent releaseEndKey = new EventInjector.KeyCodeEvent(KeyCodeEvent.KEY_UP, (char) Keypad.KEY_END, 0, 100);

EventInjector.invokeEvent(pressEndKey);
EventInjector.invokeEvent(releaseEndKey);

}
EventInjector.KeyCodeEvent pressBackKey = new EventInjector.KeyCodeEvent(KeyCodeEvent.KEY_DOWN, (char) Keypad.KEY_BACKWARD, 0,100);
EventInjector.KeyCodeEvent releaseBackKey = new EventInjector.KeyCodeEvent(KeyCodeEvent.KEY_UP, (char) Keypad.KEY_BACKWARD, 0, 100);
EventInjector.invokeEvent(pressBackKey);
EventInjector.invokeEvent(releaseBackKey);

any ideas on how to make this work? Thanks in advanced
Offline  
Old 03-26-2012, 09:25 AM   #2
dc/dc
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,524
Default Re: Go back to application after finishing phone call

You need to look in the Developer section
__________________
I h8 txtspk.
Offline  
Old 03-26-2012, 10:10 AM   #3
citizenKane
New Member
 
Join Date: Mar 2012
Model: 8520
PIN: N/A
Carrier: lala
Posts: 3
Default Re: Go back to application after finishing phone call

do you have the url or link of the developer section? Thx in advanced
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Go back to application after finishing phone call
Thread Thread Starter Forum Replies Last Post
Unlock phone while on call? ender03 General BlackBerry Discussion 11 12-16-2007 11:24 AM
Unlimited Text Messaging With your Data Plan !!! Ralph714 General 8100 Series Discussion - Pearl 32 03-09-2007 09:10 PM


Vintage MOS 8502 8502R0 Commodore C64 very rare good condition x 1pc picture

Vintage MOS 8502 8502R0 Commodore C64 very rare good condition x 1pc

$22.00



Vintage Commodore 64/28 Computer Model C2N Cassette Datassette With Box picture

Vintage Commodore 64/28 Computer Model C2N Cassette Datassette With Box

$34.99



6500/1 A 6502 VARIENT CPU COMMODORE USE IN AMIGA KB & 1520 PLOTTER NMOS NCR NOS picture

6500/1 A 6502 VARIENT CPU COMMODORE USE IN AMIGA KB & 1520 PLOTTER NMOS NCR NOS

$5.89



Vintage MOS 8500 HMOS Commodore C64 IC x 1pc picture

Vintage MOS 8500 HMOS Commodore C64 IC x 1pc

$35.00



Jelenko Commodore LS VPF with Pump  picture

Jelenko Commodore LS VPF with Pump

$875.00



Windsor Commodore Duo 20

Windsor Commodore Duo 20" Carpet extractor w/Lester Charger 25900/Battery/99hour

$2519.95







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