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
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
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
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
Apr 28, 2010
I want to capture Outgoing call numner. i'm using the BroadCastReceiver. but every time it returns a blank String for the number. it works fine for the incoming number.
this is my code...
View 8 Replies
View Related
Apr 14, 2010
Need to know this so that i could send DTMF and that is going to be my second question!
View 1 Replies
View Related
Sep 30, 2009
First, just let me apologize if this has been answered before, but I feel like I'm been all over the net to find the solution to this.
What I'm trying to achieve: An "outgoing call" BroadcastReceiver which listens for "NEW_OUTGOING_CALL" intents. Since the application is only suppose handle certain predefined phone numbers the receiver need to check the outgoing phone number, and here lays the problem.
The problem: When running on emulator or placing a call through the People/Contacts application on HTC Hero everything works just fine and the broadcastreceiver receives the "NEW_OUTGOING_CALL" intent. However, when running through the dialer on HTC Hero (which is htcDialer and not the default android dialer) the "NEW_OUTGOING_CALL" intent never seems to be fired and therefor the receiver never gets the outgoing phone number. I've tried listening to PHONE_STATE changes, but then I haven't found any way of retrieving the phone number.
The question: Is there any way to get the outgoing phone number on HTC Hero (sense) when using htcDialer?
View 3 Replies
View Related
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
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
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
Aug 12, 2010
I would like to forward all calls to my number on to the new predefined number automatically. Is it possible to forward incoming call? Probably it is possible for Froyo at least. I found application called Easy Call Forwarding. But many people reckon it dosen't work actually. We can notice forwarded call by onCallForwardingIndicatorChanged() from PhoneStateListener but I have no idea how to set forwarding mode.
View 1 Replies
View Related
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
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
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
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
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
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
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
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
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?
View 2 Replies
View Related
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
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
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
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
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
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
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
Nov 24, 2010
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!
View 3 Replies
View Related
Jun 14, 2010
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
Feb 6, 2012
How to intercept incoming calls by adding a prefix like 19299 on incoming, and * on outgoing.
I have built and compiled an .apk file witch force closes for no apparent reason on launch. When compiled it compiles without any errors.
Is it even possible to monitor incoming calls on public API level? Or is that an API that is closed off? if the API is available, is it then possiblo to add said prefix both on incoming and outgoing calls?
View 1 Replies
View Related