BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-27-2004, 12:24 PM   #1
rcongiu
New Member
 
Join Date: Oct 2004
Location: Los Angeles
Posts: 4
Default 7100 and phone / invoke API

Please Login to Remove!

Hi!
I am trying to place a phone call from within an application on a 7100t (t-mobile).
I used to do that in older blackberries calling the browser with an address of tel:(number). This doesn't work on 7100t anymore because now we're supposed to use the phone invokation API.
unfortunately the API doesn't work on the actual device (it works on the simulator). Even running the example application that RIM supplies results in a "Could not start internal application" exception.


So bassically this doesn't work on the actual device (7100t) albeit it works fine on the simulator.
Any ideas/suggestions ?

Code:
import net.rim.device.api.system.*;
import net.rim.device.api.ui.*;
import net.rim.blackberry.api.invoke.*;


public class PhoneInvokerApp extends UiApplication
xxx123;
    public static void mainxxx40; Stringxxx91;xxx93; args xxx41;
    xxx123;
        Application app = new PhoneInvokerAppxxx40;xxx41;;
        app.invokeLaterxxx40; new WorkerThreadxxx40;xxx41; xxx41;;
        app.enterEventDispatcherxxx40;xxx41;;
    xxx125;
    
    public PhoneInvokerAppxxx40;xxx41;
    xxx123;
        // Do nothing
    xxx125;
    
    public static class WorkerThread extends Thread
    xxx123;
        public void runxxx40;xxx41;
        xxx123;
            // Create the PhoneArguments.
            PhoneArguments arguments = new PhoneArgumentsxxx40; PhoneArguments.ARG_CALL, "5198887465" xxx41;;
            //PhoneArguments arguments = new PhoneArgumentsxxx40;xxx41;;
            Invoke.invokeApplicationxxx40; Invoke.APP_TYPE_PHONE, arguments xxx41;;
            System.exitxxx40; 0 xxx41;;
        xxx125;
    xxx125;            
xxx125;
Offline  
Old 11-01-2004, 03:41 PM   #2
Mark Rejhon
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Default

__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 11-01-2004, 06:21 PM   #3
rcongiu
New Member
 
Join Date: Oct 2004
Location: Los Angeles
Posts: 4
Default

Offline  
Old 07-20-2005, 12:24 PM   #4
berryinnovative
New Member
 
Join Date: Jul 2005
Model: 7100t
Posts: 6
Default Re 7100 and phone/invoke API

Both the Phone and Invoke APIs are restricted APIs that are only available to signed applications. Do you have a code signing pair for your app?
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


NEW Mitsubishi A1SNMCA-8KE Memory Cassette picture

NEW Mitsubishi A1SNMCA-8KE Memory Cassette

$151.62



Argolladora We R Memory Keepers Heidi Swapp Cinch Binding Machine 71050-9 by AC picture

Argolladora We R Memory Keepers Heidi Swapp Cinch Binding Machine 71050-9 by AC

$79.99



WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card picture

WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card

$129.00



WiFi Audio Voice Recorder Audio Alerts Check Audio Real-Time 32GB USA Shipper picture

WiFi Audio Voice Recorder Audio Alerts Check Audio Real-Time 32GB USA Shipper

$129.00



Oktis - 2 Portable Fuel Analyzer Tester Meter Octane Number Gasoline Petrol picture

Oktis - 2 Portable Fuel Analyzer Tester Meter Octane Number Gasoline Petrol

$179.99



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$281.95







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