BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 12-09-2004, 11:54 AM   #1
HelpdeskChick
New Member
 
Join Date: Jan 2005
Posts: 1
Default

Please Login to Remove!

Offline  
Old 02-02-2005, 10:41 AM   #2
smheoc
Knows Where the Search Button Is
 
Join Date: Jan 2005
Posts: 20
Default Programatically End a Phone Call

Does any one know of a way to close an open phone call through code? I know that I can register a PhoneListener and handle the different situations, but is there a way to actually end the call.

For instance, I want to develop an app which tries to call three numbers in a row until one succeeds. So it tries the first one for X seconds/rings, if that fails, tries the next one, etc.

I suppose alternatively, is there another way to place a phone call other than through the Invoke API?
Offline  
Old 03-28-2005, 05:01 PM   #3
jdalegonzalez
New Member
 
Join Date: Mar 2005
Model: 8820
OS: 4.1
Carrier: AT&T
Posts: 3
Default

It's kind of a hack, but You might try....

EventInjector.invokeEvent(new EventInjector.KeyEvent(EventInjector.KeyEvent.KEY_ DOWN, Characters.KEY_ESCAPE, 0, repeat));
EventInjector.invokeEvent(new EventInjector.KeyEvent(EventInjector.KeyEvent.KEY_ UP, Characters.KEY_ESCAPE, 0, repeat));
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


50-TON HYDRAULIC RAM JACK porta power type cylinder lifting jacks rams picture

50-TON HYDRAULIC RAM JACK porta power type cylinder lifting jacks rams

$118.74



50-TON HYDRAULIC RAM JACK porta power type cylinder lifting jacks rams picture

50-TON HYDRAULIC RAM JACK porta power type cylinder lifting jacks rams

$119.20



100 Ton Hydraulic Cylinder Jack 200cc Stroke Ram Low Profile Flat Lift Cylinder picture

100 Ton Hydraulic Cylinder Jack 200cc Stroke Ram Low Profile Flat Lift Cylinder

$124.27



50 Ton Hydraulic Ram Jack Porta Power Type Cylinder Lifting Jacks Rams New picture

50 Ton Hydraulic Ram Jack Porta Power Type Cylinder Lifting Jacks Rams New

$119.20



M1187 Milling Machine Parts RAM Adapter Bridge Port Type J Head Milling Machine picture

M1187 Milling Machine Parts RAM Adapter Bridge Port Type J Head Milling Machine

$100.13



100 Ton Hydraulic Cylinder Jack 200cc Stroke Ram Low Profile Flat Lift Cylinder picture

100 Ton Hydraulic Cylinder Jack 200cc Stroke Ram Low Profile Flat Lift Cylinder

$130.48







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