tuhuayuan / gtalksms

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

GTalkSMS does not allow user to quit when connecting #296

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. move the phone out of WIFI onto 3G or 2G
2. try to quit GTalkSMS while the program is trying to connect

Additional informations:

When GTalkSMS is trying to connect it is, from what I can see, impossible to 
quit.

Phone model: All

Original issue reported on code.google.com by samo.ubu...@gmail.com on 23 Sep 2012 at 9:10

GoogleCodeExporter commented 9 years ago
Yep, this is currently "by-design". But it shouldn't cause any problems other 
then a slightly longer connection time. And note that you can cancel the 
connection attempt when GTalkSMS goes into the WaintingForNetwork or 
WaitingToReconnect (blue) state.

Original comment by fschm...@gmail.com on 26 Jan 2013 at 6:04

GoogleCodeExporter commented 9 years ago
Sometimes when it can't successfully connect (e.g., for me, if compression is 
on) it will hang and I can't cancel the connection.

IMHO, it should either timeout, or (preferably) the user should always be able 
to cancel a connection attempt.

Original comment by m...@the-compiler.org on 6 Dec 2013 at 7:27

GoogleCodeExporter commented 9 years ago
Personaly i'm using a bash script to kill the connection and after close the 
software with the widget. 

Bash script is : 

#!/system/bin/sh
var=$(ps | grep gtalk | awk '{print $2}')
kill $var
exit 0

Original comment by Sperenz55 on 8 Jan 2015 at 3:05