shihab13rocks
shihab13rocks

Reputation: 33

Auto call without asking the user

I am developing a java mobile application. Its purpose is that, when installed, it reacts to SMS messages on a specific port (suppose 5000) and the reaction is to make a call to a predefined number already installed in the application.

When I try to do that, a confirmation is requested before the call is made.

Is there a way to avoid this confirmation prompt?

Upvotes: 0

Views: 380

Answers (2)

Riho
Riho

Reputation: 4593

It's possible in Symbian phones. I'm not so sure about Java apps.

        CTelephony::TTelNumber telNumber(_L("+9001123456")); 
    CTelephony::TCallParamsV1 callParams;    
    callParams.iIdRestrict = CTelephony::ESendMyId;  
    CTelephony::TCallParamsV1Pckg callParamsPckg(callParams);  
    iTelephony->DialNewCall(iStatus, callParamsPckg, telNumber, iCallId);  
    SetActive();

Upvotes: 1

Christian Kuetbach
Christian Kuetbach

Reputation: 16060

It is (hopefully) not possible, to start a call without confirmation. You could create a "money-making-maschine" by sending SMS to a phone and let them call a number with high costs.

Upvotes: 3

Related Questions