BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   How to invoke outgoing call screen? (http://www.blackberryforums.com/developer-forum/145014-how-invoke-outgoing-call-screen.html)

ushernut 08-13-2008 10:42 AM

How to invoke outgoing call screen?
 
I am going to invoke a phone call by using Invoke.invokeapplication(), but this one seems cannot invoke the default call screen, after I run it, it doesn't show anything at all.
Anyone has idea about this?

Dougsg38p 08-13-2008 01:06 PM

You need to post more information. How about a code snippet?

ushernut 08-13-2008 03:04 PM

Code:

m_callMenuItem = new MenuItem("call" , 0,0)
{
        public void run()
        {
              Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, new    PhoneArguments (PhoneArguments.ARG_CALL, "555-5555"));
                                       
        }

};

I mean, after I run this code, the screen doesn't change at all, seems like nothing happened. I am expecting it will be like a normal phone call, and call screen will pop out....

How could I make that? or it is not possible to make a call from our own application just like making a call as a default way..

Dougsg38p 08-13-2008 04:16 PM

Have you checked for exceptions? Have you checked Application Permissions (phone)?

What version of JDE, and which simulator are you using?

Have you placed a breakpoint to make sure the Invoke statement is being executed?

ushernut 08-13-2008 05:32 PM

Ah..solved...thanks Dougsg38p.

the problem is I have not checked the application permissions.

dolan 10-21-2008 02:38 AM

Hi........ All,

I also tried the same . but after entering the number when i press the call option, its showing that " cannot contact".

what is the problem ? what to modify? can anybody give suggestions?
Thanks ahead........

avolcoff 12-14-2008 02:41 AM

I'm trying to invoke this line inside a class that implements PhoneListener :
Code:

Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, new PhoneArguments(PhoneArguments.ARG_CALL, "555-5555"));
it says "Calling" but nothing happens

any ideas what am I doing wrong?


All times are GMT -5. The time now is 11:50 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.