How To Detect Incoming Call
May 25, 2011
I'm working on an application that does something during a call. So I understand I need to use a service. But how does my application detect that a call is incoming or the call is answered or whatever before I launch the service?
View 3 Replies
Nov 26, 2012
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 Related
Aug 20, 2010
Is possible in android, detect the latitude and longitude from Incoming Call?
View 12 Replies
View Related
Apr 29, 2010
I'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 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
Jul 14, 2010
I have gone through many threads in this group about avoiding the use of everlasting Services, Timer/TimerTask sleep issues and detecting phone calls, but not finding the answers I am looking for this app, I will really appreciate any help you can provide me. I am working on an App to detect incoming calls and when the call time is equal to 5 minutes indicate the user by vibrating the phone. In my strategy I am creating a Receiver that listens for RECEIVE_BOOT_COMPLETED action and launch an everlasting Service which sets up a PhoneState Listener.
1) Is there any other strategy to be always listening for incoming calls and thus avoide to using an on boot created Service? (besides the Service eventually gets killed and I am not able to detect incoming calls) A first approach I took here was setting up a Timer and TimerTask when CALL_STATE_RINGING state was detected and after 5 min (if the call continues) vibrate the phone for 2 seconds. However sometimes the timer phone vibrates after an hour a call was placed (the vibration happens in the run() TimerTask method. I know Android can go to sleep and that could be the reason my timer is not run on time but 2) How can Android be slept if I am in a call? Is the call just handled by the modem or how come? Next, to overcome this issue I tried preventing the Service from going to sleep by putting it in foreground state calling startForeground (NOTIFICATION_ID , notification), still the same behaviour the timer is run long after the call was placed 3) does startForeground prevent Android going to sleep or it is just aimed to keep the Service's process in memory? 4) A wake lock would do this job ? (I have not tried this) Encouraged by many post I tried using an Alarm and it works (thought I do not want to use it because I think it should be possible to accomplish with something lighter) but when the phone vibrates it just keeps vibrating till I remove the phone from my cheek (the screen is turned on again) 5) Why? Is it that Android started vibrating the phone and then went to sleep? so the vibration is turned off when Android awakes, when the screen is turned on again? 6? Ideas of how to stop the timer?
View 3 Replies
View Related
Aug 2, 2010
When I'm on a call and a 2nd call comes in, my phone doesn't ring or anything. Is there anyway to change this so that I know when I have a call waiting without having to look at the screen (which is usually pressed up against my ear)?
View 1 Replies
View Related
Sep 29, 2009
Is it possible to add an incoming call with current call to make it as a conference call programmatically?
View 2 Replies
View Related
Jan 25, 2010
how to disconnect the call(i.e incoming call) programmatically ?
View 3 Replies
View Related
Sep 4, 2010
I have damage control rom on my evo i just notice today when i am running an app or using the internet my incoming call go to voice mail if you were to call me when i am on a app the incoming call don't come through my phone any idea what might be the problem?
View 1 Replies
View Related
Jun 30, 2010
I am writing an app that is meant to be run during a call. After the user makes a call, and starts my app, I want my app to be able to know if the call is dropped from bad connection.
View 3 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
Apr 2, 2009
I would like to detect if microphone in the device or in a headset is mute during a call. Currently I've taken the following approach (unfortunately - it does not work): 1) register PhoneStateListener to detect when a call is started/ finished 2) when call is started then I start a thread that periodically calls audioManager.isMicrophoneMute() method to discover a microphone status. (audioManager is obtained by calling getSystemService (AUDIO_SERVICE) ) 3) when call is finished I stop a thread started in bullet 2
Unfortunately audioManager.isMicrophoneMute() always returns 'true', does not matter if I select or deselect the 'Mute' option in the menu during a call. Does anybody know if it is possible to detect the state of a microphone during a call?
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
Oct 22, 2009
i have a service (that extends Service). public class MyService extends Service ..
View 2 Replies
View Related
Oct 14, 2010
I would set my HTC Wildfire to ring only once (or twice) for incoming calls. Even old Nokia phone have advance settings to do this but not Android phone. Is there a free app allowing to do this kind of advanced settings?
View 1 Replies
View Related
Sep 20, 2010
I'm using a Droid Incredible with the stock OTA froyo pushed by verizon. I did a search and some say that if you're on a phone call, and another call comes in, you are not able to merge that second call so all 3 parties can be on the line, and that it is a limitation of CDMA. Others say that it is carrier specific, and that it has been confirmed not to work with the Evo on sprint, but nothing specific to verizon. Anyone have any info on this? I have been searching, but haven't found a clear answer.
On a side note, since I update to froyo, I've had an issue with call waiting. It seems that when I'm on a phone call, and I receive another call from a person that is on my contacts list and stored in the phone, it will not pull up the persons caller ID info (name, picture etc), it will only display the phone number. It always worked fine before, but this started happening since the update.
View 2 Replies
View Related
Sep 6, 2009
I know there are some posts from the group have talked about this ( like https://groups.google.com/group/android-developers/browse_thread/there... and https://groups.google.com/group/android-beginners/browse_thread/threa...), but I can not find exactly the official answer of this issue. in android market, there are some apps which can set up a black list and block the incoming call, see http://www.cyrket.com/search?q=block+call for details. is there something like backdoor or unkown api for blocking incoming call.
View 5 Replies
View Related
Oct 16, 2010
I'd like to implement a feature that monitors incoming calls and SMS and blocks them if necessary. But I don't know how to capture such events, could someone tell me how to do that?
View 2 Replies
View Related
Jul 22, 2010
I am trying to make my application in front just after incoming call.i mean when user cut the phone my application should come in front can it be possible ?
View 3 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
May 5, 2010
My phone will sometimes not ring at all when I receive an incoming call. It will be waiting for me to pickup, but nothing will be coming out of the speakers. Also, sometimes when someone calls it rings and rings on their end and go to my voice mail, but my phone will not even register that they called. Oh, and it randomly revolted once or twice just sitting there. I am probably going to exchange my phone, but I wanted to see if that is the best course of action.
View 2 Replies
View Related
Aug 17, 2010
So the other day i got a call and i pulled the phone out of my pocket and tried to slide to answer and nothing happned. I tried to slide it to drop the call and nothing happened. I then mashed a bunch of buttons in frustration and think i rebooted my phone. It did it again to me today, though after about 10 seconds it finally allowed me to answer the phone. I have weatherbug going without GPS as that killed the battery, also have pocket empires going today.
View 4 Replies
View Related
Jan 28, 2009
I have written a small player application. I want to handle incoming calls in my application. Actually while player plays some media file, if an incoming call comes, then my player should mute the volume and when the incoming call is done, the player should unmute the volume.
View 2 Replies
View Related
Feb 4, 2010
How can I show a window containing few lines of text during the phone ringing period? My app in running in background at this time.Toasts won't work because they last at most 4 seconds.
View 2 Replies
View Related
Sep 18, 2010
I am not hearing my hero ring for incoming calls even though the ring volume is all the way up.
View 1 Replies
View Related
Oct 13, 2009
I don't know how to ignore an incoming call! I press menu, press and hold menu and I never get the option to ignore. What gives?
View 6 Replies
View Related
Jan 14, 2010
I am trying to hang up an incoming call with injecting KeyEvent, however, got error below:
WARN/WindowManager(61): Permission denied: injecting key event from pid 296 uid 10024 to window Window{43d37708 paused=false} owned by uid 1001 java.lang.SecurityException: Injecting to another application requires INJECT_EVENT permission
Though I've added android.permission.INJECT_EVENTS to the project, still the same.
How could I deal with this situation, I just want to stop the call.
View 2 Replies
View Related
Mar 17, 2010
I know this is not the good forum to post my question, but I need help and I spend 3 days to try to find solution ,but no way:(. I'm trying to develop application that can answer incoming call automatically.
In my code I use the intent "Action_Anwser" but it's seem not work.
The snippet of my code
CODE:...........
View 7 Replies
View Related