(REQ) Vibration on/off settings - Android Software Development

Hey,
has somebody an idea how to make this:
I want to have the vibration of my android phone on, if it is in jacket or a bag, but I don't want to have vibration if it lies on a table or so.
Is it possible to have an app with settings, that can change it by position of the phone? I think at the G-sensors for it.
If anybody can help me or tell me that there is an app for this.

Related

Face Down Mute and Light Sensor

I am having problems with the face down mute and light sensor thing. I would love to be able to get these working.
I have tried Schaps Advanced Config, Diamond Tweak and Registry Edits.
I would like the device to go into mute (do not ring calls) when it is put face down
Also, I would like to disable the automatic screen going off on call and let the light sensor detect when it is close to my ear and turn the screen off...
Appreciate your help
I think there is no light or proximity sensor on the HD.
I do nothing and my HD goes silent if I turn it face down.
How.. How How How? ...
taimoorhusain said:
How.. How How How? ...
Click to expand...
Click to collapse
I dont know, sorry. It´s simply working. As my HD arrives I do a Hardreset install my software and this works.
Atze001 said:
I dont know, sorry. It´s simply working. As my HD arrives I do a Hardreset install my software and this works.
Click to expand...
Click to collapse
Couldnt one then infer that it is obviously a feature of some software you have installed?
Isn't there any setting on:
setting - system - motion sensor or some kind?
Could we have a list of install software on your HD?
Don't sweat it guys!
It just works out of the box!
And fyi the HD has a Light Sensor, G Sensor and Stylus Sensor.
Yes - the light sensor is in the earpiece area (if you have ambient light sensor option checked [default], have it open in a bright room on a mainly white windows screen then cover the earpice area you see the screen dim)
I don't know about it working straight out of the box but you can certainly do it with Gyrator 2.
Black Antitoon said:
I think there is no light or proximity sensor on the HD.
Click to expand...
Click to collapse
There certainly is...
Actually, I wanted to start this thread myself..
Face-down-mute does NOT work on my HD. Neither with Gyrator ON, nor whent it is OFF.
I have checked the registry (HKLM/Software/HTC/Phone/MuteFaceDown or smth like this..), the key setting is "1" so technically it should work....... But it Doesn't!!
Face down mute works if you have it face up and somebody calls you. Just turn it face down and ring is muted.
This is only thing I found on this topic.
Turning the phone down mutes incoming calls for me too. no problems there..
Ciciban said:
Face down mute works if you have it face up and somebody calls you. Just turn it face down and ring is muted.
This is only thing I found on this topic.
Click to expand...
Click to collapse
This is very useful and it absolutely works. Cool! I thought when we place the phone face down, it would jsut be muted period. I was also assuming that there was a way to do this with Gyrator, but didnt know which event to select on orientation face down. I can turn off the screen, but there is no option in gyrator to mute the phone.
Thanks for the help though.
taimoorhusain said:
This is very useful and it absolutely works. Cool! I thought when we place the phone face down, it would jsut be muted period. I was also assuming that there was a way to do this with Gyrator, but didnt know which event to select on orientation face down. I can turn off the screen, but there is no option in gyrator to mute the phone.
Thanks for the help though.
Click to expand...
Click to collapse
This is what I also assumed, when I am in the meeting and get a call I put it face down and it mutes, but then when someone else calls I need to face it up then down again which ideally doesn't work for me.
Isn't there a key like FaceDownMuteAll = 1?
Unfortunately i have the same problem. Flipping the phone is not muting the ring. Maybe its something to do with what we install. Also another strange issue no matter what i do i have the active sync always running in the background.
I have changeScreen installed and if I disable it it works. I think gsenor apps are the cause
Ciciban said:
Face down mute works if you have it face up and somebody calls you. Just turn it face down and ring is muted.
This is only thing I found on this topic.
Click to expand...
Click to collapse
It works straight out of the box, I installed all sort of Gsense apps and it removed and face down mute still works fine.
Even in the case it is faced down and someone ring, I just have to face up, see whos is calling and face down again, it muted.

[Q] Vibrate when in pocket?

Hey there, I was wondering if there's any app/tweak for TP2 to make it vibrate AND ring inside my pocket? While on the table I would still want it only to ring WITHOUT vibration I searched TP2 forum and found nothing. However, people brought this up in HD2 forums but no luck so far.
Thanx in advance!
Try something like Gyrator. You can set it up depending on variouse aspects of what your phone is/isn't doing.
http://gyrator.brins0.net
Thank you for your reply -Jonny-! Unfortunately, Gyrator doesnt have this kind of function more sadly, it doesnt even let me mess with the proximity or light sensors.. So arent there any more suggestions? anyone?

Disable automatic screen shutoff during phone calls

I have a crack in my screen which seems to make the phone's sensor think it's constantly pressed against my ear, thus not allowing me to use the keypad during calls, switch apps during calls, and on incoming calls, not even hang up.
I was wondering if anyone knew of any way to disable the automatic screen shutoff so I can get around this. I am using CyanogenMod 10.2 on a rooted Sprint galaxy s4, but have had the same problem with the derrick Samsung os.
Thank you, and if I'm posting this in the wrong place, apologies and please let me know where it belongs!
Sent from my SPH-L720 using xda app-developers app
The screen off during calls is controlled by 1 of the top sensors, not by screen touch...Maybe there is damage to or on the surface area above the sensor...
shmulie said:
I have a crack in my screen which seems to make the phone's sensor think it's constantly pressed against my ear, thus not allowing me to use the keypad during calls, switch apps during calls, and on incoming calls, not even hang up.
I was wondering if anyone knew of any way to disable the automatic screen shutoff so I can get around this. I am using CyanogenMod 10.2 on a rooted Sprint galaxy s4, but have had the same problem with the derrick Samsung os.
Thank you, and if I'm posting this in the wrong place, apologies and please let me know where it belongs!
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
I know you're on CM but here's how it's done in stock, you can toggle the "Turn off screen during calls" when you bring up the dial pad and hit menu then call settings.
Unselecting that item keeps the screen on as it won't use the proximity settings (like when you put it to your ear) to turn off the screen...which is essentially what you've already described that you think is occurring with the crack in your screen...
hope that helps.
sainthooligan said:
I know you're on CM but here's how it's done in stock, you can toggle the "Turn off screen during calls" when you bring up the dial pad and hit menu then call settings.
Unselecting that item keeps the screen on as it won't use the proximity settings (like when you put it to your ear) to turn off the screen...which is essentially what you've already described that you think is occurring with the crack in your screen...
hope that helps.
Click to expand...
Click to collapse
Never noticed that, thanks! I wasn't able to find something similar in my OS. I love CM, but I might have to switch back to stock for this.
Btw I also noticed it's accessible through settings > my device > call in stock.
Anyhow, instead of moving from CM, have you tried something like this app to turn off the sensor in calls https://play.google.com/store/apps/details?id=com.itsme4ucz.screenoff
or tried to use the Tasker app to toggle it off? might be worth a shot.
EDIT:
There was a mod for this, so you're likely to find something around that will coincide with what your running on yours - see this: http://www.modaco.com/topic/362514-mod-disable-proximity-sensor-cm101-based-roms-only/
also have you seen this thread on issues with this in CM http://forum.xda-developers.com/showthread.php?t=2409698 ?
AND the other option is to try blowing air in might help, just in case it isn't related to your screen crack....see also: http://forums.androidcentral.com/sa...edition/311795-s4-proximity-sensor-issue.html
(Proximaty sensor repairs/reset ) app in Google play fix the problem

[Q] Screen turning black on calls

Randomly when I'm in a call regardless if that's skype or a regular phone call when I go to do something else on my phone it turns to a black screen and almost immediately changes back. Rinse and repeat. Can someone help me fix this issue? Thanks.
Commies said:
Randomly when I'm in a call regardless if that's skype or a regular phone call when I go to do something else on my phone it turns to a black screen and almost immediately changes back. Rinse and repeat. Can someone help me fix this issue? Thanks.
Click to expand...
Click to collapse
did you check in the menu Settings > Call > Turn off screen during calls?
..
How would I do that? And to the first post, it is off.
..
No need to be an asshole about it. I did look in the settings menu, obviously I couldn't find it. I've searched through the forums as well on google. Maybe I'm not seeing it but the only thing I've found is something through ABD and I'm not currently rooted.
Did you install any app that may interfere with the sensor? E.g. Smart Cover app...?
I did not.
Still having this issue. Screen flickers. Mostly on skype.

Moto Display hacks

Anyone know of any hacks to modify Moto Display settings? I really like the Approach feature, but hate the feature where the screen turns on at even the lightest touch. When I'm walking with my phone in my hand or when it's in the car it's constantly going on and off. Is there some hidden setting to change the sensitivity of that?

Categories

Resources