Hi everybody.
Anyone knows how i can know when a phone call is connected???
In the api of android only can found
CALL_STATE_IDLE
CALL_STATE_OFFHOOK
CALL_STATE_RINGING
Thanks you.
Nobody has an answer???
I'm not sure it's possible, at least not without hacks. The phone stuff is deliberately separated from the other parts of the device because of legal issues (at least in the US) with privacy of phone conversations.
Related
Hi there,
I've recently had someone ask me how to resolve the following issues on the Touch HD.
End key, when set to lock the handset, isn't.
Ringtone ending too quickly, so the ringtone stops ringing, but the caller still hears ringing and the call can be answered (this is also happening on my HTC Hermes).
The other thing is, where the handset is shutting off overnight, meaning the person who owns the phone misses the alarms which were set, due to it being off.
Is there anything I can say to this person to sort these problems?
Thank you,
I think more people are inclined to answer you if you put a topic of note on your post.
"Some" doesn't really cut it does it.
As for your issues...perhaps the ring tone is set to only play once in the settings which is why it's stopping.
As for the lock...did you have S2U2 on at some point?
Remember the topic thing for next time please!!! I hate those sort of topics
Firstly, the topic is a minor issue, since I had already typed it, and it hasn't fully shown.
I'll edit it to reflect what it should've been, I'm not the typical n00b user of forums, and I do try to be fairly to the point.
Secondly, which part of "I've recently had someone ask me" do you not comprehend?
This is NOT my phone, therefore I do not know what has been done, and what hasn't been done.
The original user is someone who contacted me recently, and I'm trying to find the best way to resolve these issues.
As for the ringtone, I know on my phone its set to be continuous. Only by pure luck somehow I managed to answer my phone after its first beep this morning, half asleep, but it had beeped once from my ringtone and stopped ringing on my end.
If you can explain S2U2, that would be handy.
Thank you,
Upon reflection, do you agree it might be prudent in future to ascertain what steps have already been taken to rectify said "problem" before posting?
As for S2U2 - it's an application (there are others like it) that locks the screen of the phone - I have seen applications like this disable the default locking mechanism upon uninstallation. That was the reason for me asking - perhaps you could get your friend to check that?
Greeee said:
Secondly, which part of "I've recently had someone ask me" do you not comprehend?
This is NOT my phone, therefore I do not know what has been done, and what hasn't been done.
Click to expand...
Click to collapse
I'm quite sure he understood what "I've recently had someone ask me" means - but you can't really expect us to help you in any way if you can't answer any follow-up questions! It's pure guessing this way!
Greeee said:
If you can explain S2U2, that would be handy. Thank you,
Click to expand...
Click to collapse
S2U2 is a locking app available here: http://s2u2.ac-s2.com/
I've used it myself for a while and never had any issues. But I guess Wiggz is hinting at problems that might arise after uninstalling S2U2 (I hard-reset my device instead of uninstalling - so I have no idea) since S2U2 sorta does the same job as the standard locking using the end-key.
A hard-reset would probably fix all three issues - but I guess that isn't really an option if your friend asked you for help... :/
I'll have a look into the S2U2, and get this person to try it.
Since the handset has only recently been delivered from replacement, I can't see how a Hard Reset will work, but always worth a try.
What would you recommend with the custom ringtone issue? It happens on my hermes also, so not sure what would be causing this.
Greeee said:
I'll have a look into the S2U2, and get this person to try it.
Since the handset has only recently been delivered from replacement, I can't see how a Hard Reset will work, but always worth a try.
What would you recommend with the custom ringtone issue? It happens on my hermes also, so not sure what would be causing this.
Click to expand...
Click to collapse
Are you sure the ringtone is of sufficient length to match the ring/pickup pattern - i.e. 30 second ringtone for 30 seconds before voicemail?
I had this problem with my alarm when I first used it.
Hey guys,
I'm having some wierd behaviour with my phone and was hoping you all could weigh in and let me know if I'm the only one.
Since upgrading to any 2.1 rom, the phone app will periodically stop sending sound and the microphone will shut down too. I can make and receive calls, but people cannot hear nor can I hear them.
A reboot fixes the problem. Not the end of the world. I guess what I'm really after if this is my phone that needs service, or something inherently wrong with the updates.
Thanks guys
Quick search does the body good.
http://forum.xda-developers.com/showthread.php?p=6073286
Damn, search must be down again....
Hi @ all,
i know my thread is in a wrong place but its time to give more attention to this issue which is concerning a lot of hd2-Android users.
As you all know the htc hd2 is a smartPHONE.
It's most important function is to let us make our phone calls without any trouble!
But there's a problem:
A lot of users complain about the screen staying off after having made a phone call. It doesn't turn on unless you hold the phone in a bright light. No chance for anybody who's in a darker environment at that time. Hardware keys also don't let the screen turn on again. So often the only way to solve this problem is taking out battery and reboot.
This is REALLY annoying and ashaming for all users, i mean we have one of the greatest phones for custom roms, but we can't make a proper phone call -.-
So to sum up: There are several threads already opened, with no solution and no real end.
My wish to all the great Chefs and developers out there: Thanks for your hard efforts so far.
But PLEASE try to fix this issue. Perhaps deactivating the proximity/light sensor, or just making the phone let its screen turned on during a call might be a solution?
So many roms out there with hundreds of versions but no one works for me and many others without this issue.
PERSONALLY, i don't care if my rom has ultra-spectacular-amazing quadrant score or the latest sense 3.0 shich has still bugs.
Just a stable rom for using our hd2 as a real phone, that's what so many want, so hard to understand?
Thanks, for reading.
BTW: the hint to make the proximity/light sensor clean doesn't work, and some users don't understand the scren-off issue, i know.
screen after call
I have the opposite problem - my screen remains unlocked after phone call which is a big problem when the phone is in my pocket and i'm answering with a BT device.
I usually find the phone is some strange settings screen or some app running.
pcmanuser said:
Hi @ all,
i know my thread is in a wrong place but...
Click to expand...
Click to collapse
There is no "but", If its in wrong place its in wrong place.
If you have this issue its likely rom related as this isn't a wide spread general issue as I have personally never experienced it.
if you want to discuss this issue reply in the appropriate roms topic, You are not a dev and not posting dev work/reference.
uhuuhu...
NO, it's NOT rom related. I think testing about 10 of the most popular roms here is enough...
Just search for it. I said it before some people don't have this problem but there are also many others who have it.
BTW: askin in the roms section was intending to get attention as wehenever yopu aks for it in the thread of the rom no one cares.
Just sad that the most "Devs" think building a rom is just abaout making it looking cool full of unnecessary special addons and customisations...
- make the performance better here please -
Hi there- I have a VKY based P10 Running B124. As of the last couple of months I am noticing my placed calls are taking forever to connect when in my house, and almost all calls go straight to voicemail without any ring or even notification of a missed call. I am a T-Mobile user in the northeast US. I was hoping someone could give me some suggestions on figuring out the source of this issue.
1. OS based issue? Would updating be a factor on dialing calls?
2. Bad SIM card? Phone behaves more normally outside, so this seems less likely?
3. Phone physically damaged or degraded? Nothing remarkable has happened, and in other respects the phone has actually been terrific.
Phone repair people in the US won't talk to me. T-Mobile tells me I need to buy one of their phones. I am assuming looking around android and Huawei sub reddits will tell me to update.
Any suggestions? I am pretty miserable over here, and people are getting mad about not being able to reach me.
Issue was resolved with new FW. Turned out to be compatibility issues with T-Mobile
Hi all!!!!!
So I have always wanted to put my own Android system/Tablet in my car. I know that a lot of people have done it before but the one thing that's always bothered me is phone calls, how do you make/receive calls while driving? I have been researching this for a long time and from what I can tell the Android system won't allow you to use a second Android device as a handsfree. I still have no idea how those cheap Android car radios do it.
My friend and I figured out a roundabout way of doing it tho. Your phone will be connected to any kind of hands-free device, something like this for example https://www.amazon.ca/Bluetooth-Spe...d-search-10&pf_rd_t=BROWSE&pf_rd_i=3328253011 and it will also be connected (with Bluetooth) to your tablet.
The app will have all your contacts from your phone on the tablet. When a call comes in it will show the number/contact name on the tablet and you will be able to answer the call with a simple swipe. If you want to make a call you can dial it on the tablet or just hit a contact name.
Right now the app is very VERY simple. All it can do now is know that it is connected to another device and show you the phone number of the person calling you on the tablet. This should work on any Android 6+ and device.
I'm hoping some of you can test it out and let us know if it does/doesn't work for you and what you are using it on.
I have an update (assuming anyone is following LOL)
now you can accept or reject a call from another phone/tablet/Ordoid using this app. The "PICK" and "DROP" buttons should appear on the second phone or tablet as soon as the first phone receives a call. The pick button will pick the call and drop will reject it.
so a small update. It seems as though the last update has an issue (we are working on.) The "pick up" "drop" functions only work for Android 8 and under. Personally, I don't have a device that is under Android 9 but I'm hoping there are a few of you that can let me know if it's working or not.
Update- We have been having difficulty programmatically accepting or rejecting a call in Android 9+ as Android only allows those apps that are the default calling apps to manage calls. We will probably need to make our own default calling app within our app to enable Picking and Dropping incoming call functionality.
https://developer.android.com/reference/android/telecom/TelecomManager.html#endCall
The end-call or accept-call feature is deprecated for Android 29(Android 10 and above). We are working on it but I figured a few people might want to know.
Ladies and gentlemen, boys and girls, children of all ages........I present to you an update so fresh that not even I have had a chance to install it yet. LOL
My friend literally just sent it to me. I wanted to share it with all you guys first!
Take note, he says that after you play around with it you may want to uninstall it (from your phone) because it needs to be your default dialer. Obviously, we are working on that and doing a crap ton of reading but hopefully for now it works on anything higher than Android 9.
As usual, let me know what you guys think!