BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-20-2004, 02:54 PM   #1
adamz123
New Member
 
Join Date: Sep 2004
Posts: 1
Default Making phone calls through Java API

Please Login to Remove!

I've been scouring for an answer to this lately and can only find half-answers. Is it possible to place a phone call through a program using the available APIs? On other boards, I've seen people say it can be done and then I've seen others say that it can be done when RIM releases their Phone API. I'm not sure who to believe, but I don't see any support for it from what I've looked at in the API docs. Does anyone know if it's possible? If not, does anyone know when the PhoneAPI is going to be released? Thanks much.
Offline  
Old 09-20-2004, 03:24 PM   #2
kirson
Talking BlackBerry Encyclopedia
 
kirson's Avatar
 
Join Date: Aug 2004
Location: Chicago
Model: 9000
Carrier: ATT
Posts: 421
Default

I have seen the same posts you have...bottom line seems to be that 4.0 will offer access to the phone API. There is a rumor floating around that you can get to it even now, but those who know are refusing to share -- someone even claimed they are trying to make some money selling the information. Personally, I don't think it can be done yet. Let's see if 4.0 offers a solution.
Offline  
Old 09-21-2004, 11:30 AM   #3
legnit
New Member
 
Join Date: Sep 2004
Location: San Diego
Posts: 2
Default

I am fooling around with that problem myself.


What I was able to find is that you should be able to make an http connection and pass in "tel:555-1212" instead of a URL. I've tried with no success, but I don't think I am setting up the request properly.

If you look at the HTML that the browser sees when it displays "linked" phone numbers, you see the <a> tags with an "href"="tel:...."

I think what you have to do is fire off the browser with the right args and it will redirect for the phone. Like I said, I've fooled with it a bit but get an arrayOutOfBounds exception when firing off the browser.

Anyone care to add ideas, or see if they can get it to work?
Offline  
Old 09-21-2004, 05:08 PM   #4
hidefguy
Knows Where the Search Button Is
 
Join Date: Sep 2004
Posts: 22
Default

I'm new to developing BB apps, but I will wager that this is/will be a "controlled API", i.e. will require a code signature - can you imagine the mayhem if some of those long distance slammer outfits could trick folks into installing a seemingly useful business app or utility and the bloody thing phoned barbados every few minutes...?
Offline  
Old 09-21-2004, 08:14 PM   #5
eradis
Talking BlackBerry Encyclopedia
 
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
Default

I'm almost 100% sure you can't use a "phone API" to make calls. I reviewed the 4.0 javadocs and there was no phone api. I think the people saying there is a way are pulling your leg. The only way I can see it is if you are an ISV alliance member, would you have access to that API.

If you look at a device dir via javaloader you will see net_rim_bb_phone_api.cod? Interesting...
Offline  
Old 09-21-2004, 11:01 PM   #6
legnit
New Member
 
Join Date: Sep 2004
Location: San Diego
Posts: 2
Default

The clue to doing a dial from within other apps via an href is here on the BB forum at RIM.
Offline  
Old 09-21-2004, 11:07 PM   #7
eradis
Talking BlackBerry Encyclopedia
 
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
Default

Actually I stand corrected. There are APIs for the phone: Class PhoneArguments.

And of course they need to be signed by RIM to use.

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


Schneider Electric Energy Server EBX510 Server For Energy Management- picture

Schneider Electric Energy Server EBX510 Server For Energy Management-

$4350.00



FANUC Server Driver A06B-6077-H111 picture

FANUC Server Driver A06B-6077-H111

$2158.86



FANUC Server Driver A06B-6117-H211 picture

FANUC Server Driver A06B-6117-H211

$3993.99



Cisco MCS 7800 Server picture

Cisco MCS 7800 Server

$150.00



Server SE-SS 07020 Server Express Single Drop-In - NEW - COMPLETE - Genuine OEM picture

Server SE-SS 07020 Server Express Single Drop-In - NEW - COMPLETE - Genuine OEM

$180.00



USA Windows VPS Server / RDP Server / VPS Hosting 12GB RAM 400GB HDD 12 Month picture

USA Windows VPS Server / RDP Server / VPS Hosting 12GB RAM 400GB HDD 12 Month

$335.00







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