Android :: Way To Hang Up Phone Call Via Api?
Feb 23, 2010
I've spend the last couple days looking for a way to hang up a phone cal via the API. I'm guessing for some "security" reason that Google does not allow this. Not being one to give up yet...is there any undocumented way to hang up a phone call? Of course the real solution would be for Google to add a HANG_UP_CALL permission and expose the hangup() method to the public API, but it doesn't appear that will happen.
View 2 Replies
Jul 19, 2010
This has happened to me several times in slightly different cases. Several times I've mistakenly placed calls to the wrong people (due to just messing around with the phone).
In a panic, I pressed the "back" button thinking that it will cancel the call. It didn't. I also tried the "home" button. Also no good.
I had to drag down the notifications bar to see the phone call in progress and finally access the red Hang Up button. That worked. The problem is that is is SLOW. And worse, one time the phone would not respond to the button press until after several tries (maybe the CPU was busy on something).
Anycase, that would appear to be a major problem with all these touchscreen-only smartphones - lack of a physical Hangup button.
Is there any workarounds to this? Perhaps some sequence or combo of the existing physical buttons to forcefully hangup an errant call?
View 1 Replies
View Related
Aug 25, 2010
When on a phone call outdoors and I want to hang up, I pull the phone away from my face and the display stays black. The proximity sensor is not sensing that I've moved it away from my face. I can't hang up the call. If I hold the phone above my head with the display facing toward the ground the display comes right back.
It works perfectly indoors. I've compared this to another phone and the other worked perfectly. I've read that the UV rays from the sun can interfere with the proximity sensor. Verizon does not recognize this as a problem but if you Google it you will see this problem goes way back.
View 4 Replies
View Related
Sep 12, 2010
Anyone have a problem with not being able to answer the phone or hang it up after a call? Verizon hasn't been able to fix it either.
View 10 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
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
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
May 3, 2010
"How do you hang up incoming calls (in Android of course)?"First, I know this question has been asked and answered several times, and the response is always "you can't". But if we look in the market we get a few applications (all private software, no access to the source code that do this action, such as CallFilter, Panda firewall and others.So does somebody know how these apps do the hang up action, (or terminate, or disconnect or whatever you call it)?And other question, if the first don't get a response.. does somebody know how send an incoming call to the voice mail?Of course, all questions are about how to do it programmatically. So with the voicemail question I know there's a flag in contacts that is used for that, but like I said, I'd like to know the programmatical way.
View 2 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
Apr 14, 2009
When I'm testing the functionality of the headset button in a call, it just muted the mic, didn't hang up the call. And if there is no call, when I press the button, there will be a song playing, so I think the keycode is correctly reported. There maybe some code I need to add?
View 3 Replies
View Related
Nov 11, 2009
Sometimes after I am done with a call the screen is black and I click on the screen to get it to light up so I can end the call with no results. I than push the little top button to turn on the phone by than the call has confused the voicemail I am leaving and I have to redo the message. I am leaving or push 1 or 2 go through all of that. Anyone else with the black screen and having to "unlock" the device issues? I want to never push that button on the top unless I lock it.
View 2 Replies
View Related
Jun 2, 2010
One of my clients wants a code method that returns a boolean. True if the Android phone has hardware red/green call/hang up keys and false if it does not.But not in a key press event as in the code snippet above. He needs to determine this up front if a phone has physical red/green keys or virtual ones.Is it possible and if yes can someone provide a code sample to achieve this?
View 1 Replies
View Related
Aug 3, 2010
Before I upgraded when I clicked the button on my ear buds with a Mic it would hang up the call I was on. Now when I click it it mutes the call. So I have to take my phone out and manually hang the call up.
View 1 Replies
View Related
Oct 18, 2010
Just bought myself the HTC desire HD 2 days ago and couldn't be happier except for one thing. Whenever I make or receive a call everything works but I can't hang up...the phone goes dead but the call is connected until the person calling/being called hangs up, and then I have to take out my battery to be able to use my phone for texting/apps etc, everything else works fine its just the screen refuses to light up again after I take it away from my ear.
If anyone knows what could be causing this or a fix it would be greatly appriciated.
View 1 Replies
View Related
Nov 8, 2010
Does the Dinc have a way of ending the call automatically when the other party hang up without me having to physically push the end button. I guess this is useful when talking while driving and you know the phone will end the call when you set it aside instead of having to look on the screen. Is there a way to display while calling if the call is connected or the other party still has not picked up the phone.
View 7 Replies
View Related
Sep 4, 2010
My mini is on a call and will not disconnect. I can also not turn the phone off, is there a way I can reset the phone?
View 4 Replies
View Related
Jul 13, 2010
His has been one of my biggest problems with blue tooth. I work in the hvac field and love my blue tooth head set. Here is my problem, When I hang up from a bluetooth call my screen automatically comes back on in my pocket. Then I end up with a pocket dial. I can not tell you how frustrating this is. I can not find a setting to solve this problem. If I answer via blue tooth why is my screen coming on after the call.
View 5 Replies
View Related
Oct 29, 2010
I have had two samsung fascinate for about 2 months now. Yesterday my wife complained that after calling someone she wanted to hangup without leaving a VM and the phone was just frozen. This is not the black screen. This is she could see all the buttons etc and the hangup button was just not doing anything.She said she powered off and on to fix it.Well, this morning the same issue happened to my phone as well !! I wanted to hangup after a call and the phone was just frozen. I could not hangup. I kept hitting the red hangup button and nothing happened. Not to mention the other person got a long and blank VM.
View 5 Replies
View Related
Oct 21, 2010
I flashed xtrTenzo and well its not going anywhere. Its just stuck at the pics of the skateboarding droids. So do i just do a battery pull or what?
View 6 Replies
View Related
Nov 22, 2010
I hit backup current ROM in ROM manager and phone has been sitting at LG screen for about 5 minutes now, is this normal? Or did something go wrong with backup?
View 38 Replies
View Related
Jul 24, 2010
So my Droid X hung just now. Is there a reset button somewhere or do I just do the old school approach and take the battery out?
View 1 Replies
View Related
Jun 18, 2010
I did a factory reset on my Eris and went through the setup process. Phone rebooted after being programmed(*228).Got in and started playing around. Downloaded updates for Google Maps and Facebook. I shut my phone off,and now it just hangs at the boot screen. I have tried booting up in recovery mode. All I get is a picture of the eris with a red triangle. Is there anything else I can try before I take it back to Verizon?
View 1 Replies
View Related
May 27, 2010
I have written the android application and I want the application to send the call information whenever there is an incoming call and it ends. This way I would be sending all calls to the server irrespective of size of the call log.The application just crashes when there is an incoming call i have been able to log the information about incoming SMS, but this call info logging is failing.
View 1 Replies
View Related
Jan 21, 2010
I have had my sprint HTC Hero for some months now and love all the neat apps I can load. BUT... the actual telephone app seems dysfunctional. I imagine the telephone function is built in and probably cannot be fixed by the average developer and maybe this is also a function of the carrier (sprint in this case).
PROBLEM:
When I have multiple calls my Hero interface provides no easy mechanism to hang up on one caller only. It has just one "End call" virtual button and pressing this drops the entire call interface.
So for example if I accept a call waiting then the prior caller is placed on hold while I talk to the interrupting caller. When I am done talking to the interrupting caller I have only the option to "End call". Pressing this will drop the entire call interface. What happens next depends ...
IF I have hung up on the interrupting caller before they hang up on me then I will still have someone on hold (but nothing shows this). Some seconds later (like 5) the system realizes I still have someone on hold and rings as if a new call. Clunky but at least it works.
IF the interrupting caller manages to hang up before my "End call" registers then the phone ends the only remaining active call which is of course the person on hold. No indication of this either except I wait 5 seconds and realize my phone is not ringing. The lag time on the HTC hero is so large that this happens just about half the time.
IF I don't hang up at all but instead just wait for the interrupting caller to hang up then the phone will put up a new screen that shows that the person who just hung up is still active, the person on hold is on hold, but in fact I will be connected to the person listed as "on hold". So the interface is wrong but at least I have not hung up on the holding caller. In this case it is very unclear if my call waiting slot is free or not. I have had people unable to call when I thought the phone was connected to just one person. Effectively the call waiting slot seems already occupied when in fact it is not. Don't know if this consumes double minutes or not.
To me this seems like an event driven system without a properly deterministic event handler. Or perhaps there is really no way for the phone's understanding of call waiting to by synchronized with the carrier's.
Almost done ranting...
Lastly, while making a call the screen seems to stay active for its full timeout period so that my cheek can sometimes press a virtual button and end the call. I would love it if I could press a button to de-activate the screen sooner but unfortunately that button also terminates the call. Wasn't there supposed to be some mechanism that detects that the phone is cheek bound and deactivates the screen? Could use a manual way do force this.
View 7 Replies
View Related
Nov 30, 2010
Does anybody know how to turn off reject call with message from phone call display?
View 1 Replies
View Related
Oct 14, 2010
I don't remember my DroidX always doing this, but recently after I hang-up from a call it shows the "Call Time XX:XX" in the center of the screen and I can't do anything until it goes away, which is generally 5-8 seconds. Hitting Home, Back, etc does nothing and tapping on the screen or the message also does nothing.Is this a setting I can disable? I can look at the recent calls to get the length of call if I need to see it, so I don't need the dramatic pause to give me this info.
View 2 Replies
View Related
Jan 22, 2010
It seems like my Samsung Behold2 the call drop ratios is extremely high, call drops out of no where and sometimes I have seen full bars on phone but still calls get dropped. Another issue that while on the call the other parties voice will stop coming, the phone will be running and shows the call timer on as well, cannot end the call if this happens, the dialers just seems like hanged. only thing to come out from this issue is either take the battery out or somehow manage it to go in airplane mode.
View 16 Replies
View Related
Nov 14, 2009
Oftentimes when I attempt to end a phone call the screen goes dark and I am not able to end a call. I have read other websites in which users have had similar issues. Will this issue be addressed and fixed soon in a firmware update?
View 3 Replies
View Related
Jun 20, 2010
A feature I miss on my Palm Pre was the ability to initiate a call on the phone and transfer call to bluetooth in my car or vice versa with the single click of a button.
I'm really having a difficult time with the Evo regarding this issue. Once I start the call on my phone, how do I transfer the call to my car without hanging up and calling through the car?
View 2 Replies
View Related
Feb 26, 2010
Anyone know how to see the time of call instead of just the date in my Hero's Call History?
View 2 Replies
View Related