Android :: Hangup Outgoing Call Programmatically - Is This Possible?

Mar 29, 2010

I am new to Android. I would like to create an application that will hang up an outgoing call after it has been ringing for several seconds.

Based on what I have read in the discussions so far, we can abort a call that has just been initiated by using setResultData(null) on the BroadcastReceiver. This just means we can effectively censor calls only. Not exactly what I am trying to achieve.

If the ability to abort a call after it has started ringing is not supported by the SDK, what other means is there for me to achieve this? Are there any internal functions that I can use?

Android :: Hangup outgoing call programmatically - is this possible?


Android :: How Can I Hangup / Terminate Call Programmatically?

Sep 17, 2009

Can any one tell me how can i hangup/terminate call programmatically?With the help of intent.

View 2 Replies View Related

Android :: Auto Answer Calls And Hangup Programmatically

Oct 1, 2009

Can anyone point me how to auto answer calls and hangup programmatically, and the related permission?

View 2 Replies View Related

Android :: Make Call From App And Go Directly Back To App After Call Hangup

Dec 15, 2009

Is it possible to make a call from an activity and make sure the activity doesn't keep running while the call is in session? And, once the user is done with the call (by pressing the hangup button or whatever), the call log screen wouldn't get shown and the user would be directed to a new activity within the application. I know there's ways to detect calls and call hangups through services, but, I'm not sure if it's possible to make an activity from an app pop up as soon as a call is over.

View 2 Replies View Related

Sony Ericsson Xperia X10 Mini/pro :: Outgoing Call Time And Outgoing Sms?

Nov 30, 2010

i've just bought a xperia x10 mini pro. after reading the entire user guide, i still can't find the "counter" for total outgoing call time and outgoing sms. Anyone knows where to find this in the phone? previously when i was just W910i, this function was easily located. Someone pls advise and provide some guidance.

View 3 Replies View Related

HTC Incredible :: Not Able To Hangup Call?

May 21, 2010

Can someone please explain how the call waiting works on the Droid? If I am on a call and I get another call, then I am able to answer it no problem. When I go to hang up on the calls, the system hangups on both calls every time. if I don't end the call, then the other called will stay on hold until both calls are ended. Anyone else have this experience?

View 9 Replies View Related

Android :: Notify Outgoing Sms Programmatically?

Sep 30, 2009

Is it possible to notify outgoing sms programmatically?

View 5 Replies View Related

HTC Desire :: Call Tone Keeps Beeping After Answer And Hangup In 2.2 / Solution For This?

Oct 15, 2010

After i installed 2.2 on my desire sometimes the call beep (the one beeping when you wait for the other dude to answer) keeps on beeping even after the other person answers and even after the call ends and we both hang up. The beep continues till i turn off the phone and restart it again. One of my friends have this problem as well so i assume there are others out there with the same problem.

Anyone got a solution to this problem?

View 3 Replies View Related

Android :: Use Intent Make Outgoing Call - How To Detect The Call State

Jan 19, 2009

I can use this code make outgoing call.

Intent dial = new Intent(Intent.ACTION_CALL); dial.setData(Uri.parse("tel:5556") );

context.startActivity(dial);

But how to detect call pick up the call or refuses to answer?

I tried PhoneStateListener but not working.

View 2 Replies View Related

HTC Droid Eris :: Recent Call Log Display As Outgoing Call

Feb 14, 2010

I have an Eris and my recent call log on my phone displays my outgoing calls as Unknown even if they are saved in my Google contacts. I have the outgoing calls set to go through GV option selected on the phone and I'm not sure what's going on. The contact is displayed for a second and then reverts to Unknown. When I add the unknown number to my existing contacts it works and displays properly, but when I call the same number back from my contact list, it shows up as unknown. My incoming calls and missed calls all show up with the proper contact info, so it seems to just be a problem with my outgoing calls. Does anyone know what's going on or how to fix this?

View 1 Replies View Related

Android :: How To Hang Up Outgoing Call?

Feb 2, 2009

We are new to Android and creating an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application. For now we tried using Intent.ACTION_CALL to use existing activity:

Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse ("tel:" + phoneNumber)); startActivity(callIntent);

But we can't figure out whether it's possible to stop launched by this default Call activity. Is it possible? If yes, how? If not, what should we use to write our own Call activity to make a very simple call? We would want this activity only to be used by our application, not for all outgoing calls.

View 3 Replies View Related

Android :: How To Receive New Outgoing Call

Mar 23, 2009

I want to listen to outgoing call. Below is our manifest.xml and Listen.java. But when a outgoing call is doing, I got the following waring, and the receiver got no response. Would you like to help me out. Thank you very much.

03-23 16:05:09.227: WARN/ActivityManager(79): Permission Denial: broadcasting Intent { action=android.intent.action.NEW_OUTGOING_CALL (has extras) } from com.android.phone (pid=193, uid=1001) requires null due to receiver com.android.lianyun/com.android.lianyun.Listen import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log;
Code...

View 2 Replies View Related

Android : How To Get Outgoing Call Duration During?

Oct 18, 2010

I would get outgoing call duration a call, I thought to get when the persone to the other side answer my call, but with PhoneStateListener we can get the state of a call, but PhoneStateListener changes state to CALL_STATE_OFFHOOK immediately when the outgoing call starts and not when the person to other side answers, so i can't get the effective time of call during a conversation.

View 1 Replies View Related

Android :: Detect A Received Outgoing Call

Oct 14, 2010

I havn´t been able to find out, how to detect the event (if there are any), when an outgoing call is answered - does anybody know how to do this?

View 3 Replies View Related

Android :: How Can I Detect When Outgoing Call Has Been Accepted?

Oct 20, 2009

I have seen, using search, that this question has been asked already in this forum, without answer. To ask again: How can I detect when outgoing call has been accepted ?I can detect when outgoing call has been started using BroadcastReceiver. I can detect when call has ended using PhoneStatusListener. But there is nothing more except this two notifications.Internal phone application detects this event, my HTC magic (running standard cupcake) vibrates shortly when other party accepts call.So is it possible to detect this event in 'cupcake' or 'donut'. If not where can I post feature request to android OS developers to include this notification in next API revision.

View 2 Replies View Related

Android :: Detect If An Outgoing Call Has Been Answered

Feb 12, 2010

Once ACTION_NEW_OUTGOING_CALL has been broadcasted, I need to capture the following event of the other party answer. Could you advice on how to achieve that please? I know it is possible as the android dialer app changes the green android icon to the person's photo excatly when they pick up. I've had a look at the source of the app on Android handling the outgoing calls.

View 1 Replies View Related

Android :: How Do I Get State Of Outgoing Call In Phone?

May 20, 2010

I noticed in the class TelephonyManager there are CALL_STATE_IDLE, CALL_STATE_OFFHOOK adn CALL_STATE_RINGING. They seem to be used for incoming calls.What I actually want to do is to be notified when an outgoing call is made, is received, or timed out. How to do that?

View 2 Replies View Related

Android :: How To Stop / Hang Up Outgoing Call?

Jun 22, 2009

I'm just doing an application that controls who to call and how many rings let the call do. For example, to not wake up someone in the morning we only do 3 tones. I'm using the standard BroadcastReceiver method to stop the call from going out. I explain here for the people who want to do it, also.

[ Manifiest ] 1.- You need enough permissions: <uses-permission
android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.CALL_PHONE" />
To make calls and process outgoing calls.

2.- You need a broadcast receiver that catches the broadcast intent:
<receiver android:name=".receiver.PhoneOutgoingCallReceiver" android:enabled="true" >
<intent-filter android:priority="0">
<action android:name="android.intent.action.NEW_OUTGOING_CALL" />
</intent-filter> </receiver>
[Code]

3.- You controls who can call in the:
@Override public void onReceive(Context context, Intent intent) { }

View 7 Replies View Related

Android :: Get Outgoing Call Details In Background

Oct 12, 2009

Actually I was working to get duration of outgoing call.But I don't find any way of doing this.Then I decided to get the details of outgoing call from call log.

But my code works only for Activity.I want this to work with Services because I want to get the details related to outgoing call in background using services.What should I do to get these details in background.I currently implement it for Activity.Here is my complete code...

View 9 Replies View Related

Android :: Record Incoming And Outgoing Call?

Aug 6, 2009

I want to record the outgoing and incoming call. Can some one tell me. Is it feasible or not ?

View 4 Replies View Related

Android :: Any Application So That Outgoing Call Go Straight To Voicemail?

May 15, 2010

I thought I had seen some application where you can call someone and have it go straight to their voicemail. I've been looking around and haven't been able to find it. Does anyone know if such an app exists.

View 4 Replies View Related

Android :: Need Outgoing Call Data Stream / Channel?

Aug 22, 2009

Is it possible to get a handle on the outgoing data (voice) stream during a call? I'd like to be able to intercept the outgoing data, alter it slightly, then write it back out.

View 15 Replies View Related

Android :: How Can I Detect When Outgoing Call Has Been Accepted (answered)?

Oct 4, 2009

I am not able to detect when outgoing call has been answered, I have registered BroadcastReceiver for PHONE_STATE broadcast, but onReceive() gets called only when number is dialed and when call has ended.If it is not possible with current API (1.5 or 1.6) please enlighten me ?

View 2 Replies View Related

Android :: Playing Recorded Message On Outgoing Call?

Nov 18, 2010

Is it possible to play a recorded message when making a phone call. I mean to call a contact and when the call is answered to play immediately a recorded message.

View 3 Replies View Related

Android :: Hang Up Outgoing Call Disallowed By Default API?

Mar 1, 2009

I am developing an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application.

For now I tried using Intent.ACTION_CALL to use existing activity:
Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumber));
startActivity(callIntent);

But stopping the call seems to be disallowed by default API. For example, enabling airplane mode during the call. Just an example, this hack didn't work for me.

View 9 Replies View Related

Change Outgoing Call Number

Oct 18, 2012

I want to know how to use the setResultData() in worker thread

1. Registered a broadcast receiver for this intent "android.intent.action.NEW_OUTGOING_CALL"
2. So using "intent.getStringExtra", i got the user dialed number.
3. After that i need to do some database operation and after that i have to change the user dialed number.
4. Using setResultData(), i will update the dialed number.

here i want to do the database operation in worker thread instead of doing it in OnReceive() of BroadcastReceiver.So from the worker thread how can i use the setResultData()?

View 3 Replies View Related

Android :: Initiate Outgoing Call Without Having Phone Invoke It's Default Dialing Screen?

Oct 7, 2010

Is it possible to initiate an outgoing call without having the phone invoke it's default dialing screen? The point is to be able to make a call without someone knowing I'm making a call.

View 1 Replies View Related

HTC Desire :: Need App For Outgoing Call Waiting Notification

Jul 26, 2010

Earlier I was using Nokia N82 phone (Symbian OS). I used to get a notification on my screen (CALL WAITING) shall the person I am calling is currently engage. However, after I switched to HTC Desire, this notification doesn't appear. Is there a special way to enable this? or are there any applications?

View 6 Replies View Related

How To Get Outgoing Call Duration In Real Time

Sep 18, 2011

Now I write one app and have some problem - I need to show real-time outgoing call duration. But I do not know when I should start timer. I must start when get answer from other side. I tried TelephonyManager.EXTRA_STATE_OFFHOOK -- but it's state is when I press call-button..

OFFHOOK is the state when call is placed.

So we should be notified when the call is received. How can we get that?

When I should start count outgoing time?

View 1 Replies View Related

General :: Huawei Ascend P1 - No Outgoing Voice During Call

Sep 23, 2012

I got a Ascend P1 U9200 in China and rooted it in order to install Google Play. It worked well a few days by using the chinese SIM card in China.

Back in Germany I have a problem with the outgoing sound during a phone call. For some numbers I dial, the other person doesn't hear my voice at all. For other destinations my sound works for about 10 seconds and afterwards the outgoing sound is missing as well.

My current version is U9200-1V100R001CHNC00B109, My provider is congstar (D1).

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved