TheLastProject / RaiseToAnswer

Simply hold your phone to your ear to answer an incoming call
https://play.google.com/store/apps/details?id=me.hackerchick.raisetoanswer
MIT License
74 stars 13 forks source link

Alcatel Avalon V 5059s - was working and has stopped #35

Closed LetMeOutOfHere closed 3 years ago

LetMeOutOfHere commented 3 years ago

Hello - I put your wonderful app on my elderly father's phone and it answered his phone the first day and now today, the second day it is not working at all. I have restarted the phone, uninstalled and reinstalled the app, to no avail.

The phone is running Android 8 and is an Alcatel Avalon V 5059s.

The log is attached. Raise to Answer Log.txt

TheLastProject commented 3 years ago

Looking at your log file, the proximity sensor did not update a single time. Just to be certain, you did hold the phone against your ear during the testing?

LetMeOutOfHere commented 3 years ago

Thank you for the fast response! Yes, it was raised up to my ear during the testing. I just tried it again to make sure the log file looked the same when I was deliberate about doing that and it did.

I have cleaned the phone around the top of the screen and after a couple of times of doing that the app is now answering the phone (for now).

After having success I ran another log. I don't see anything different in this log file (no proximity updates). Are they there and I am missing them?

On Mon, Mar 8, 2021 at 3:31 AM Sylvia van Os notifications@github.com wrote:

Looking at your log file, the proximity sensor did not update a single time. Just to be certain, you did hold the phone against your ear during the testing?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheLastProject/RaiseToAnswer/issues/35#issuecomment-792693262, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADP332POCSL4JNZXCB3YHXDTCSYSBANCNFSM4YYPS27A .

TEST STARTED PROXIMITY SENSOR RANGE DETECTED AS 5.000305 SETTING PROXIMITY SENSOR THRESHOLD TO 2.5001526 PROXIMITY 5.000305 INCLINATION -5 INCLINATION -3 INCLINATION -2 INCLINATION 7 INCLINATION 8 INCLINATION 3 INCLINATION 3 INCLINATION 5 INCLINATION 8 INCLINATION 4 INCLINATION -5 INCLINATION -13 INCLINATION -15 INCLINATION -5 INCLINATION 7 INCLINATION 4 INCLINATION -4 INCLINATION -11 INCLINATION -8 INCLINATION -1 TIMER RUN START RESET BEEP 1 INCLINATION 0 INCLINATION -6 INCLINATION -7 INCLINATION -15 INCLINATION -23 INCLINATION -59 INCLINATION -42 INCLINATION -63 INCLINATION -39 INCLINATION -53 INCLINATION -57 INCLINATION -46 INCLINATION -40 INCLINATION -41 INCLINATION -38 TIMER RUN START INCLINATION -26 INCLINATION -20 INCLINATION -19 INCLINATION -18 INCLINATION -11 RESET BEEP 2 INCLINATION -2 INCLINATION 5 INCLINATION 8 INCLINATION 8 INCLINATION 8 INCLINATION 10 INCLINATION 19 INCLINATION 18 INCLINATION 24 INCLINATION 23 INCLINATION 26 INCLINATION 28 INCLINATION 28 INCLINATION 29 INCLINATION 29 TIMER RUN START ANSWER BEEP 0 INCLINATION 28 INCLINATION 28 INCLINATION 27 INCLINATION 28 INCLINATION 28 INCLINATION 28 INCLINATION 28 INCLINATION 28 INCLINATION 26 INCLINATION 26 INCLINATION 27 INCLINATION 27 INCLINATION 29 INCLINATION 30 INCLINATION 30 PROXIMITY 0.0 INCLINATION 30 INCLINATION 30 INCLINATION 30 INCLINATION 29 INCLINATION 30 TIMER RUN START INCLINATION 29 INCLINATION 28 INCLINATION 27 INCLINATION 28 INCLINATION 27 ANSWER BEEP 1 INCLINATION 28 INCLINATION 29 INCLINATION 29 INCLINATION 28 INCLINATION 28 INCLINATION 29 INCLINATION 29 INCLINATION 29 INCLINATION 29 INCLINATION 31 INCLINATION 31 INCLINATION 29 INCLINATION 29 INCLINATION 29 INCLINATION 29 TIMER RUN START INCLINATION 28 INCLINATION 28 INCLINATION 28 INCLINATION 28 INCLINATION 30 ANSWER BEEP 2 INCLINATION 30 INCLINATION 30 INCLINATION 29 INCLINATION 29 INCLINATION 29 INCLINATION 29 INCLINATION 29 INCLINATION 30 INCLINATION 29 INCLINATION 29 INCLINATION 29 INCLINATION 30 INCLINATION 30 INCLINATION 30 INCLINATION 30 TIMER RUN START INCLINATION 29 INCLINATION 29 INCLINATION 30 INCLINATION 29 INCLINATION 29 PICKUP DETECTED ANSWER BEEP 3

TheLastProject commented 3 years ago

I see 2 entries for the proximity sensor:

PROXIMITY 5.000305

and later

PROXIMITY 0.0

So there is an update right here, but it is quite easy easy to miss in between all the INCLINATION changes.

Some proximity sensors only really ever report 2 values: far away or nearby. It seems yours is one of those, so this behaviour makes sense: it updated once when you held it to your ear.

So it seems like it most likely was a dirt issue. I'll close the issue now, but feel free to reopen if it happens again!