Android :: Detect A Received Outgoing Call
Oct 14, 2010I 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 RepliesI 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 RepliesI 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.
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 RelatedOnce 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 RelatedI 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 Relatedi'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 RelatedI'd like to detect sms incoming and outgoing automatically from my application at background whenever this app is opening or not. how to code?
View 2 Replies View RelatedReceived calls has an arrow leaving the phone!Outgoing call has a arrow coming into the phone.I can never remember which is which.
View 5 Replies View RelatedI 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 RelatedWe 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.
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...
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 RelatedI'm receiving incoming e-mails on droid, and the outgoing e-mails are in the sent box, as though they have been sent. I've checked 3 different e-mail accounts that I sent e-mails to from the droid and none have been received. It has been a couple of hours since sent, any suggestions?
View 7 Replies View RelatedI 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 RelatedI'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) { }
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...
I want to record the outgoing and incoming call. Can some one tell me. Is it feasible or not ?
View 4 Replies View RelatedI 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?
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 RelatedIs 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 RelatedIs 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 RelatedI 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.
i need a way to understand that the incoming call is a forwarded call so i can deny it using tasker or another application.If possible i want to auto decline the call using tasker + secure settings or any other plugin
View 3 Replies View RelatedI 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()?
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 RelatedEarlier 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 RelatedNow 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?
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).
Been loving my new DHD however have this intermittent problem when making a phonecall all i get is a single beep and 'call ending' message. Today while outdoors it just refused to connect but working ok now.
It rings once at the receiver then cuts off so I was told.
I have plenty of signal and the person I'm calling can call me back after getting the one ring and wondering whats going on after the I've tried several times!
I can't make calls using google voice. What happens is I will dial a number and press send, then something will pop up asking me if I want to make the call with GV or without GV. I choose WITH GV and it will start out okay, but after 5 seconds it goes back to the normal call screen and calls regularly with out GV. Is there anyone who can help me out with this? I have a droid eris.
View 8 Replies View Related