[REQUEST] [APP] speaker switcher? - Nexus One Themes and Apps

Hey guys i currently upgraded from the nokia n900 to the nexus one. I had this great app on the n900 where it used the proximity sensor to switch the phone call to speaker when its away from your face and then switch back to the regular phone "ear" speaker when its against your face. I tried looking for something like it i downloaded "smart call" and it kinda works but it uses the accelermeter to determine the phones orientation. any help is appreciated THANKS!

This is a surprisingly good idea...

I really want this function also.
I had this in my Touch Pro2 but that used both proximity sensor and accelerometer so when i put the phone on a table with the screen down it started speakerphone. As soon as I picked it up it changed back.
Really good feature if you´re put in hold, waiting for someone to answer.

+1
Brilliant idea.

Ya its great! so basically when the screen turns on when you pull it away from your face so does the speaker lol i think its simple enough for the developers to create right?

nothing?

deng 200 views and no love.

You might want to try asking this in the Tasker thread. I'm not familiar with the program, but it might be able to do what you want.

+1 This is a great idea. I just spent 45 minutes on the phone with Time Warner and was on hold 5-6 times, this would have been handy.

I know for a fact this would suck on my n1. The only noticeable problem i have on my n1 is my prox. sensor sucks, alot of the time it thinks that my head is away from my phone and i end up muting myself and not realizing it and then getting hung up on. Very annoying

_-..zKiLLA..-_ said:
I know for a fact this would suck on my n1. The only noticeable problem i have on my n1 is my prox. sensor sucks, alot of the time it thinks that my head is away from my phone and i end up muting myself and not realizing it and then getting hung up on. Very annoying
Click to expand...
Click to collapse
Mine does the same thing, but like djstoffe had on his Touch Pro2 we should implement the accelerometer so we don't get any 'false alarms'.

After a 12 hours working day I needed to relax a bit...
I just decided to write the app as I like the idea but I'm not sure on the concept how to use it... have to sleep about it.
Anyway you can play with the attached apk and if you would post me a logcat, that would be nice and i can see on which devices/rom's it doesn't behave like on my Nexus with CM6...
Code:
adb logcat|grep SpeakerProximity
Just fire up the app and there is a preference view where you can set it on or off with a combobox.
It's working on my phone but as I'm sleepy I can't test it any further but if you like the app and think it could be usefull, just post your comments and I see that I turn it into a optimized app (this is just a quick afterwork writedown)
Before I forget, I will post the sourcecode after I cleaned up my mess and maybe also write a short tutorial on how I did write this app ;-)
Added a new Version in post #27 => http://forum.xda-developers.com/showpost.php?p=7972710&postcount=27

WORKS GREAT THANKS!!!
Sent from my Nexus One using XDA App

Thanks so much for stepping up and making this, rac2030. I just tested it on my phone and it works great!

Works like a charm!! Thumbs up!!!

Hmmm... scary that it's working without probs... did test it today a bit but expected bugs: because I was tired and just wrote out of my head.
Could you guys feed me some lolcat to see if the values are always right or as I asumed?

Ok came across a problem. Is there a way that the app keeps running but disables when the Bluetooth is connected to a headset? The other day I was using my jawbone and it kept switching from speaker to the jawbone.
Sent from my Nexus One using XDA App

k0shi said:
Ok came across a problem. Is there a way that the app keeps running but disables when the Bluetooth is connected to a headset? The other day I was using my jawbone and it kept switching from speaker to the jawbone.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I will take a look at it, sounds like a good idea...
Note to myself:
- Disabling the speaker switch if headset is connected (bluetootht and wired)
- proximity monitoring should be handled in a proper service that starts with the accept broadcast of the call and ends itself after the end call broadcast
- grabbing it upsodedown (based on G senseor) switch microphone on and off (as a second option in app)

I'm running into a couple problems with the app on my Nexus CM6.
It is functioning properly except for the screen and speaker button. I called myself from Gmail and answered like normal with the phone up to my ear, working so far, then I took the phone away from my head and the screen came on and switched to speaker perfectly, but after that if you put the phone back up to your face the screen doesn't turn off and the speaker button remains green (as if it were still on speaker phone).
Like I said, it switches back and forth from speaker to no speaker flawlessly, so that part is working great. Any one else experiencing this?
Also, it would be amazing if we could utilize the tilt sensor so that if you wanted to set the phone on the table, screen down, it won't switch back to in ear.

dailydR1ver said:
I'm running into a couple problems with the app on my Nexus CM6.
It is functioning properly except for the screen and speaker button. I called myself from Gmail and answered like normal with the phone up to my ear, working so far, then I took the phone away from my head and the screen came on and switched to speaker perfectly, but after that if you put the phone back up to your face the screen doesn't turn off and the speaker button remains green (as if it were still on speaker phone).
Like I said, it switches back and forth from speaker to no speaker flawlessly, so that part is working great. Any one else experiencing this?
Also, it would be amazing if we could utilize the tilt sensor so that if you wanted to set the phone on the table, screen down, it won't switch back to in ear.
Click to expand...
Click to collapse
Have to test this, thx for the info.
Note to myself:
- add tilt Sensor and dont switch back if in speaker and get flipped (make this optional in settings screen)

Related

Flip for Speaker?

So have tried this feature on both mine and my girlfriend inspire 4g and it doesn't work. But I have read of it working with the inspire. Whats up? We both bought our phones on the launch day, so maybe they fixed the feature down the line.
BTW I'm running coredroid 5.1 and my girlfriend is on the stock Rom. Its not a big deal breaker for me but I wonder why it doesn't work.
I have the same issue!! Flip-for-speaker hasn't worked on stock, nor does it work on any other ROMs i've tried. WTF?!? What's wrong with this phone??
Just tried the feature on mine and it worked!
Maybe there's an update for older phones that fixes it. Make sure to have the box checked in Sound settings, also.
Works here on TPC 2.0
i'm still completely stock, and i had it work one time, and it hasn't since. Everytime my phone rings i'm flipping it around and moving it and everything but it hasn't worked since.
I believe you need to answer it first then flip it over, you cant just flip it over when its ringing.
Oohhhhhh... you have to answer it first. Now I understand. Doh!
It also uses the proximity sensor and not the G-Sensor.. So the phone either needs to be upside down on a table or use your finger to cover the sensor... You cant just turn it over.
earhog said:
It also uses the proximity sensor and not the G-Sensor.. So the phone either needs to be upside down on a table or use your finger to cover the sensor... You cant just turn it over.
Click to expand...
Click to collapse
This may be why I could never get the feature to work..
Where exactly is the sensor located? In the mesh up top?
Guys, there's a better app at the Market that will launch the speakerphone in 3 different methods, "flip", "shake" or "move away from face". It's called "UpSoundDown" and I've tried it on my HD2. I use the more convenient "move away from face" to launch the speakerphone.
Oh I see now, you have to put it on a table for it to work. Wouldn't have thought of that. I just tested it on my phone and IT WORKS. Thanks a lot for the speakerphone tips everybody.
paganfx4 said:
Oh I see now, you have to put it on a table for it to work. Wouldn't have thought of that. I just tested it on my phone and IT WORKS. Thanks a lot for the speakerphone tips everybody.
Click to expand...
Click to collapse
Yup. That's a big 'DUH!' for me too. It's the table-top thing!
Works like a charm now.

Am I the only one having serious proximity sensor problems (hang ups)

this has gotten to be a real serious problem for me - hanging up with my face while on a call. i am surprised this isn't talked about more here. any help would be appreciated! is it possible for the dev's to not only remove the end call button but the mute as well?
so far you are the only one that has ever reported anything like that,ya know it could be a hardware defekt
sent via my bamfed out tbolt
Nope I'm in the same boat as im sure are many others. I have only ever had it actually impact me I think twice on phone calls out of almost a hundred or so that I have had since I purchased the phone. All the others times though it was extremely annoying to keep hearing the click sounds of the screen turning on and off on and off on and off etc.
I keep hoping for a software update that addresses the sensitivity of the sensor, but still no
I also wonder how much the battery is affected by the screen turning on and off repeatedly while in a phone conversation...
I get the same. More on my right ear than my left, but it will often take a digit that I just typed for an automated system and try to dial it, resulting in an alarm tone in my ear during the conversation.
sorry but i have 3 different bolts,the 1st one was rooted stock had that problem but it also went into the brick loop so it got replaced,rooted that one but never had the prob again,this one has the bamf 2 prev 3 on it and no probs that is why i suggested harware cause my first one had major hardware issues
sent via my bamfed out tbolt
i get it too. but i dont call so much. so i dont really care lol
I too had this problem, and did some quick searching on Google. Stumbled upon someone who said to spray it with canned air to clean it out. To my surprise, it worked. There is just enough room between the screen and the body of the phone for dust/crap to get in and it hinders both the light and proximity sensors.
You might be holding the phone in a weird position?
THUNDERBOLT
Damn, you lean something new every day, this thing makes phone calls too!
I've had the issue too recently. But it only started when I returned the last phone to stock. Before that, I had a small issue with it, but it didn't happen often.
pnd4pnd said:
this has gotten to be a real serious problem for me - hanging up with my face while on a call. i am surprised this isn't talked about more here. any help would be appreciated! is it possible for the dev's to not only remove the end call button but the mute as well?
Click to expand...
Click to collapse
I have the screen turn on during calls, but I've never had a face hang up. Honestly I think the screen turns on for me, but can't be interacted with.
Scratch that just did a test. I guess I'm lucky. Then again I don't hold the phone flat to my face. So I guess I would never hit it...
i have had hangups, the mute button pressed, and a 3 way call started. i just tried blowing the screen out with some compressed air as someone suggested. it seems better - will give an update after some testing.
No issues with hang ups for me. Had that problem all the time coming from the X.
Sent from B.A.M.F. 1.7 using Tapatalk
I have the same problem and have had it with every Rom I've run and stock. I'm surprised we don't have a way to adjust the proximity sensor yet, that's something I really miss about my Droid X.
After answering a call and putting the tb to my ear, my screen stays on.
Sometimes my ear dials numbers, sometimes the screen stays illuminated but doesn't respond to any touch! I have to toggle the screen on/off with the power button to get the touch response working again.
I have never had an issue. Been on mostly whatever the latest bamf release since rooting.
It happens to me whenever I forget the bluetooth especially after working out or anytime facial area is warmer then normal. I have a screen protector and clean the screen frequently.
I am having the same issue, so I called Verizon yesterday and they are sending me a new phone. I hope it works, because it makes talking on the bolt almost impossible.
Sent from my ADR6400L using XDA App
this is the first I am hearing of this. No problems for me.
Have the same problem...its really annoying man....will not get a refurbished unit until they fix the reboots

[Q] Infuse call issue

Hi all,
I bought an infuse last week for a family member and loaded cm7 on it without any issues.
Starting today, when the infuse is placed on a phone call no one can hear me but I can hear them.
I've checked the sim card for scratches and it looks perfectly fine.
After troubleshooting it a few more times, what I noticed is as soon as the screen goes black during a phone call the mic is muted, so I have to consistently light the screen back up for the person on the other end to hear me. This also happens when I use the sensor and place the phone next to my face, it will also mute me. I've made sure that I'm not accidentally hitting the mute button, but it's strange that the mic cuts out as soon as the screen goes black.
Does anyone have any fixes or inputs on this matter?
I have an infuse for myself as well, with the exact settings, modem, and rom and mine is working just fine.
The phone hasn't been dropped or anything.
I've browsed around and people have been suggesting to "uncheck background noise" setting, but I can't seem to find it. I tried pressing the menu button while on a call and there is nothing. Am I doing this wrong or is the setting nonexistent in cm7?
Thanks
chaosdmonik said:
Hi all,
I bought an infuse last week for a family member and loaded cm7 on it without any issues.
Starting today, when the infuse is placed on a phone call no one can hear me but I can hear them.
I've checked the sim card for scratches and it looks perfectly fine.
After troubleshooting it a few more times, what I noticed is as soon as the screen goes black during a phone call the mic is muted, so I have to consistently light the screen back up for the person on the other end to hear me. This also happens when I use the sensor and place the phone next to my face, it will also mute me. I've made sure that I'm not accidentally hitting the mute button, but it's strange that the mic cuts out as soon as the screen goes black.
Does anyone have any fixes or inputs on this matter?
I have an infuse for myself as well, with the exact settings, modem, and rom and mine is working just fine.
The phone hasn't been dropped or anything.
I've browsed around and people have been suggesting to "uncheck background noise" setting, but I can't seem to find it. I tried pressing the menu button while on a call and there is nothing. Am I doing this wrong or is the setting nonexistent in cm7?
Thanks
Click to expand...
Click to collapse
Might i suggest to try another ROM? =/ I dont really know much about cm7, still its not expected to work perfect since theres not a real build for our devices only unnofficial compilations.
Or try all the compilations available for instance i can post this 2 threads that you can find on android development section:
LinuxBozo build:
http://forum.xda-developers.com/showthread.php?t=1195525
uberamd build:
http://forum.xda-developers.com/showthread.php?t=1311960
If both have the same problem i guess using a smsung based rom would be the next step, theres a rom and rom port galore at our forum so you wont be short on options
Nope, the noise cancellation setting is not available in CM7. You would have to go back to a 'stock' based ROM to get that setting.
Thanks for the info guys. Unfortunately, it didn't work. I went ahead and exchanged for another one since I am within my 30 days.

[Q] Bugs while on a call

I've had 3 Nexus 5's so far due to one RMA and lastly because of a mistake on Google's part. But with all 3 Nexus 5's I have had two bugs that have been driving me nuts. I was curious to see how many people have had the same problems and if anyone knew of a fix. Bugs:
1) Keypad buttons being pressed while on a call. This happens almost every call. It seems that the screen is still active even if the proximity sensor turns off the screen. I haven't been able to reproduce it on purpose, but every single call I take I hear buttons being pressed. Sometimes it's like my notification bar get's pulled down, then the clock is clicked and I feel all these vibrations and ringing sounds and I look down at my phone and I'm in the date/time settings. This happens even if I don't have the dialer keys open. Weird.
2) Say I'm laying in bed and I answer a call. It seems as if there is some sort of setting for the accelerometer that if my head is tilted too much it's as if the microphone stops working... almost like the phone tries to switch to the second microphone (the one not normally used for phone calls). I can't tell you how many times I've been in bed and get a call from my wife (who works night shifts) calling to say goodnight and if I ever put my head back on my pillow she can't hear a word I say. As soon as I lean forward again she can hear me.
These are two problems that I have had with 3 different Nexus 5 phones. I've experienced the same problem with both Franco Kernel and the stock kernel. I don't know what else to do but it's driving me crazy. Anyone else seen these problems or know of a fix?
Thanks in advance.
Try turning your screen off during a phone call and see if there are still key presses being made. Depending how you hold the phone, the proximity sensor might switch the screen on during your call and could register key presses from your ear. The sensor is on the right side of the phone and will "miss" your head if it's behind it.
Unless you're leaving the digitizer enabled (tap2wake etc.) it shouldn't happen.
The mic issue while lying down seems to be common. Your head/pillow blocks the sound and noise cancelation wigs out. You could alter the way you hold the phone while lying down so the secondary mic at the top sticks out more. Personally, I just sit up and haven't had an issue with the noise cancelation since.
Sent from my Nexus 5 using Tapatalk

Is my Mate 7 listening to me?!

Ive just noticed something strange with my phone. I had it placed flat on my desk and was looking at something with my face close to the screen and I can hear a very faint buzzing, like whwn a radio is on but the volume is turned down to zero. It seems to come on and off randomly....
The sound only happens when the phone is on a flat surface and you have to really listen out for it in a silent room.
Any idea what this is? I do have bluetooth and wifi turned on...
Happened to me last night as well.
Any help would be appreciated.
Cheers.
Glad im not the only one! It almost sound like the mic is being turned on and is recording! Spooky!!
hacked ?
i couldn't send sms few days back .. had to do restore
it is made by the chinese...
ci00aaj said:
Ive just noticed something strange with my phone. I had it placed flat on my desk and was looking at something with my face close to the screen and I can hear a very faint buzzing, like whwn a radio is on but the volume is turned down to zero. It seems to come on and off randomly....
The sound only happens when the phone is on a flat surface and you have to really listen out for it in a silent room.
Any idea what this is? I do have bluetooth and wifi turned on...
Click to expand...
Click to collapse
When you'll hear it next time turn off DTS, touch sounds and lock sounds in sound settings and wait a few seconds.
Buzzing appears a few seconds after some sound came out of the speakers.
Anyone knows who should we contact and where to suggest a fix in the next update?
lude219 said:
it is made by the chinese...
Click to expand...
Click to collapse
they MIGHT hacking ? or checking our phones spying that we have no idea ..
The Google now function always listens? One processor core Is always dedicated to Google now. You can disable this function. If it is not Google now I am very interested to know too. I am very against Google now do function, I do not like when the phone always listen to what you say. And the voice recognition is so good know days that they can turn it to searchable text in the other end...
Some one did mention it is Chinese. I would be more worried if it was American.
ci00aaj said:
Ive just noticed something strange with my phone. I had it placed flat on my desk and was looking at something with my face close to the screen and I can hear a very faint buzzing, like whwn a radio is on but the volume is turned down to zero. It seems to come on and off randomly....
The sound only happens when the phone is on a flat surface and you have to really listen out for it in a silent room.
Any idea what this is? I do have bluetooth and wifi turned on...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2383248
Do you know what it is?
My wife has this to.. Weird
Sent from my SM-N910F using XDA Free mobile app
I dont know for sure but I think its the NFC chip in the phone seeking out a connection...it only seems to happen when the phone is on a surface. I could be entirely wrong of course. The thing is NFC looks like its turned off in my settings but I dont think it actually is...

Categories

Resources