agro6162 / talkmyphone

Automatically exported from code.google.com/p/talkmyphone
0 stars 0 forks source link

gps/ring cannot be turned off when connection is lost #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make the phone ring / localize the gps
2. loose the connection

What is the expected output? What do you see instead?

You cannot send stop and stop the ring/gps. TalkMyPhone should stop every 
actions if the connection is lost.

Original issue reported on code.google.com by chm.duquesne on 24 Sep 2010 at 8:39

GoogleCodeExporter commented 9 years ago
I have a similar issue, I used the where function. It found my location 
perfectly; however, the stop command never stopped the map updates.  I stopped 
the application and and when I turned it back on the updates kept coming.  A 
reboot of my phone seems to have stopped the updates for now. 

Original comment by nmol...@gmail.com on 28 Sep 2010 at 11:57

GoogleCodeExporter commented 9 years ago
I agree with nmoline's comment. The location updates (triggered by 'where') 
continued to come even after telling it to stop (via 'stop') and then 
stopping/starting the service. I killed the process, started it again, and 
everything worked. I should note that the connection was never lost - I simply 
disabled GPS on the phone. I continued to have a valid connection the entire 
time.

Original comment by GRTr...@gmail.com on 7 Oct 2010 at 7:25

GoogleCodeExporter commented 9 years ago
I've attached a patch which addresses the "connection lost" scenario - it does 
the equivalent of a "stop" when the connection is lost due to the network going 
down.  There may however be cases where the xmpp connection is lost although 
the network stays up, and it isn't clear to me that TMP will detect that case 
correctly.  However, with this patch in place, once TMP does handle that 
correctly, the ongoing items will then be stopped too (the patch stops all 
ongoing items whenever TMP is in a 'disconnected' state)

Original comment by skippy.hammond@gmail.com on 14 Oct 2010 at 1:20

Attachments:

GoogleCodeExporter commented 9 years ago
[Fixed in GTalkSMS]

Original comment by Florent....@gmail.com on 25 Dec 2010 at 6:47