Kanaksinh / gtalksms

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

Loses connection on Display-Off #180

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start GTalkSMS
2. Connect
3. Turn Off Display

What is the expected output?
gtalksms stays online

What do you see instead?
gtalksms goes offline

Additional informations:
GTalkSMS version = 2.2.3
Android OS version = 2.3.3
Phone model = Samsung Galaxy SII

GTalkSMS Preferences
notifiedAddress: xxx@jabber.org
notifySmsInChatRooms: false
useDifferentAccount: true
useGoogleMapUrl: true
locale: default
XMPPSecurityOptional: 3
connectionSettingsObsolete: false
formatResponses: true
manuallySpecifyServerSettings: true
notifySmsSentDelivered: true
batteryNotificationInterval: 10
XMPPSecurityRequired: 2
useOpenStreetMapUrl: true
serviceName: jabber.org
startAtBoot: true
showStatusIcon: true
xmppSecurityModeInt: 3
XMPPSecurityDisabled: 1
notifyBatteryInStatus: true
notifyInMuc: false
useCompression: false
login: XXX2@jabber.org
displayIconIndex: 1
smsReplySeparate: false
startOnPowerConnected: true
startOnWifiConnected: true
notifySmsDelivered: true
batteryNotificationIntervalInt: 10
debugLog: true
smsNumber: 5
connectOnMainscreenShow: true
notifySmsSent: true
callLogsNumber: 10
roomPassword: gtalksms
serverHost: jabber.org
notifySmsInSameConversation: true
showSentSms: false
serverPort: 5222
mucServer: conference.jwchat.org
notifyApplicationConnection: true
notifyBattery: true
notifyIncomingCalls: true

GTalkSMS Version: 2.2.3
Android API: 10
Kernel info: 2.6.35.7-I9100XWKE2-CL187606
root@DELL101 )
#2 SMP PREEMPT Fri May 6 08:03:09 KST 2011

--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
05-26 14:10:06.820 D/gtalksms(26860): NetworkConnectivityReceiver: Broadcasting 
intent com.googlecode.gtalksms.action.NETWORK_CHANGED with available=false, 
failover=false, networkName=mobile_supl
05-26 14:10:06.820 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.NETWORK_CHANGED
05-26 14:10:06.820 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' while in state 2
05-26 14:10:06.820 I/gtalksms(26860): network_changed with available=false and 
with state=2
05-26 14:10:06.820 I/gtalksms(26860): broadcasting state transition from 2 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:06.835 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:06.855 I/gtalksms(26860): disconnectING xmpp connection
05-26 14:10:06.865 I/gtalksms(26860): ConnectionListener: connectionClosed() 
called
05-26 14:10:07.185 I/gtalksms(26860): disconnectED xmpp connection. Took: 0.0 s
05-26 14:10:07.305 I/gtalksms(26860): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.320 I/gtalksms(26860): broadcasting state transition from 0 to 5 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.340 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' - state now 5
05-26 14:10:07.340 I/gtalksms(26860): teardownListenersForConnection()
05-26 14:10:07.380 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.385 I/gtalksms(26860): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
05-26 14:10:07.410 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:10:07.410 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5
05-26 14:10:07.410 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:10:07.410 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5
05-26 14:10:07.415 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.415 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:10:07.415 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5

Original issue reported on code.google.com by a.alwa...@gmail.com on 26 May 2011 at 12:16

GoogleCodeExporter commented 8 years ago

Original comment by Florent....@gmail.com on 26 May 2011 at 2:37

GoogleCodeExporter commented 8 years ago
Android has an setting that disables the WLAN if the display is off. 
It seems that this is happening in your case + android does not establish a GSM 
data connection, which is the default behavior. 
Do you have the GSM Data connection disabled? Also isn't 2.3 already out for 
the SGS 2? Are there no more log lines?

Original comment by fschm...@gmail.com on 26 May 2011 at 4:08

GoogleCodeExporter commented 8 years ago
Ahh sorry confused the GTalkSMS version with the android version :)

Original comment by fschm...@gmail.com on 26 May 2011 at 4:16

GoogleCodeExporter commented 8 years ago

sorry for my bad english:

1. When I leave WLAN offline and the GSM data connection online I don't have 
the problem when turning off the Display.

2. Now I have the problem that it worked that way: I turned off the Display, 
gtalksms went offline, and then after some seconds it returns online.

I don't have the problem with my desire so I suppose that it's an SII issue.

3. ICQ didn't go offline for example, when i turn off the Display.

Update:
After testing a bit and deactivating WLAN and GSM several Times the issue 
didn't repeat.

Here is the rest of my log:

05-26 13:59:16.690 D/gtalksms(26860): NetworkConnectivityReceiver: Broadcasting 
intent com.googlecode.gtalksms.action.NETWORK_CHANGED with available=true, 
failover=false, networkName=mobile_supl
05-26 13:59:16.690 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.NETWORK_CHANGED
05-26 13:59:16.695 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' while in state 5
05-26 13:59:16.695 I/gtalksms(26860): network_changed with available=true and 
with state=5
05-26 13:59:16.695 I/gtalksms(26860): broadcasting state transition from 5 to 1 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 13:59:16.710 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 13:59:19.535 I/gtalksms(26860): connection established
05-26 13:59:19.535 I/gtalksms(26860): conn parameters: con=true auth=true 
enc=true comp=false
05-26 13:59:19.715 I/gtalksms(26860): broadcasting state transition from 1 to 2 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 13:59:19.715 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' - state now 2
05-26 13:59:19.715 I/gtalksms(26860): setupListenersForConnection()
05-26 13:59:19.720 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.SEND
05-26 13:59:19.745 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 13:59:19.785 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
05-26 13:59:19.785 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
05-26 13:59:19.785 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.SEND' while in state 2
05-26 13:59:19.785 I/gtalksms(26860): Sending message "Willkommen bei GTalkSMS 
v2.2.3 @ Ya..."
05-26 13:59:19.790 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.SEND' - state now 2
05-26 13:59:19.790 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
05-26 13:59:19.790 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
05-26 13:59:56.160 I/gtalksms(26860): XMPP packet received - sending Intent: 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
05-26 13:59:56.170 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
05-26 13:59:56.170 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' while in state 2
05-26 13:59:56.170 I/gtalksms(26860): onCommandReceived(): "sms:Bea:Jo bin zu 
Hause und wenn ni..."
05-26 13:59:56.330 I/gtalksms(26860): Sending message XXX
05-26 13:59:56.930 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' - state now 2
05-26 13:59:58.995 I/gtalksms(26860): Sending message XXX
05-26 13:59:59.640 I/gtalksms(26860): XMPP packet received - sending Intent: 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
05-26 13:59:59.650 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
05-26 13:59:59.650 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' while in state 2
05-26 13:59:59.650 I/gtalksms(26860): onCommandReceived(): "help:sms"
05-26 13:59:59.670 I/gtalksms(26860): Sending message "- "reply:#message#": 
Sendet eine SM..." to XXX@jabber.org/55c9ed13a997cb4a
05-26 13:59:59.725 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' - state now 2
05-26 14:00:05.500 I/gtalksms(26860): XMPP packet received - sending Intent: 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
05-26 14:00:05.505 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
05-26 14:00:05.505 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' while in state 2
05-26 14:00:05.505 I/gtalksms(26860): onCommandReceived(): "sms:Bea"
05-26 14:00:05.585 I/gtalksms(26860): Sending message "Beatrice Zosel - 
Insgesammt 5 SMS g..." to XXX@jabber.org/55c9ed13a997cb4a
05-26 14:00:05.595 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' - state now 2
05-26 14:00:06.615 I/gtalksms(26860): Sending message "Nachrichten gehen an 
xxx" to XXX@jabber.org/55c9ed13a997cb4a
05-26 14:00:08.055 D/gtalksms(26860): NetworkConnectivityReceiver: Broadcasting 
intent com.googlecode.gtalksms.action.NETWORK_CHANGED with available=false, 
failover=false, networkName=mobile_supl
05-26 14:00:08.055 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.NETWORK_CHANGED
05-26 14:00:08.055 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' while in state 2
05-26 14:00:08.055 I/gtalksms(26860): network_changed with available=false and 
with state=2
05-26 14:00:08.055 I/gtalksms(26860): broadcasting state transition from 2 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:00:08.070 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:00:08.085 I/gtalksms(26860): disconnectING xmpp connection
05-26 14:00:08.100 I/gtalksms(26860): ConnectionListener: connectionClosed() 
called
05-26 14:00:08.605 I/gtalksms(26860): disconnectED xmpp connection. Took: 0.0 s
05-26 14:00:08.660 I/gtalksms(26860): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:00:08.670 I/gtalksms(26860): broadcasting state transition from 0 to 5 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:00:08.680 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' - state now 5
05-26 14:00:08.680 I/gtalksms(26860): teardownListenersForConnection()
05-26 14:00:08.705 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:00:08.710 I/gtalksms(26860): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
05-26 14:00:08.730 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:00:08.730 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5
05-26 14:00:08.730 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:00:08.730 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5
05-26 14:00:08.735 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:00:08.745 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:00:08.745 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5
05-26 14:07:53.355 D/gtalksms(26860): NetworkConnectivityReceiver: Broadcasting 
intent com.googlecode.gtalksms.action.NETWORK_CHANGED with available=true, 
failover=false, networkName=mobile_supl
05-26 14:07:53.360 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.NETWORK_CHANGED
05-26 14:07:53.360 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' while in state 5
05-26 14:07:53.360 I/gtalksms(26860): network_changed with available=true and 
with state=5
05-26 14:07:53.360 I/gtalksms(26860): broadcasting state transition from 5 to 1 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:07:53.375 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:07:56.010 I/gtalksms(26860): connection established
05-26 14:07:56.010 I/gtalksms(26860): conn parameters: con=true auth=true 
enc=true comp=false
05-26 14:07:56.015 I/gtalksms(26860): Update presence: XXX@jabber.org - Offline
05-26 14:07:56.015 I/gtalksms(26860): Update presence: a.XXX@googlemail.com - 
Offline
05-26 14:07:56.180 I/gtalksms(26860): broadcasting state transition from 1 to 2 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:07:56.185 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' - state now 2
05-26 14:07:56.185 I/gtalksms(26860): setupListenersForConnection()
05-26 14:07:56.205 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.SEND
05-26 14:07:56.215 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
05-26 14:07:56.215 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
05-26 14:07:56.215 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.SEND' while in state 2
05-26 14:07:56.215 I/gtalksms(26860): Sending message "Willkommen bei GTalkSMS 
v2.2.3 @ Ya..."
05-26 14:07:56.220 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.SEND' - state now 2
05-26 14:07:56.245 I/gtalksms(26860): Sending message "Akkuladestand 70%"
05-26 14:07:56.275 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:07:56.275 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
05-26 14:07:56.275 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
05-26 14:07:56.335 I/gtalksms(26860): Update presence: XXX@jabber.org - Online
05-26 14:08:09.865 I/gtalksms(26860): Update presence: XXX@jabber.org - Online
05-26 14:08:09.865 I/gtalksms(26860): Update presence: a.XXX@googlemail.com - 
Offline
05-26 14:08:36.335 I/gtalksms(26860): Update presence: XXX@jabber.org - Online
05-26 14:08:36.335 I/gtalksms(26860): Update presence: a.XXX@googlemail.com - 
Offline
05-26 14:08:48.735 I/gtalksms(26860): Update presence: XXX@jabber.org - Online
05-26 14:08:48.735 I/gtalksms(26860): Update presence: a.XXX@googlemail.com - 
Offline
05-26 14:08:50.760 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
05-26 14:08:50.760 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state 2
05-26 14:08:50.760 I/gtalksms(26860): broadcasting state transition from 2 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:08:50.785 I/gtalksms(26860): disconnectING xmpp connection
05-26 14:08:50.840 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:08:50.845 I/gtalksms(26860): ConnectionListener: connectionClosed() 
called
05-26 14:08:50.865 I/gtalksms(26860): Update presence: XXX@jabber.org - Offline
05-26 14:08:51.105 I/gtalksms(26860): disconnectED xmpp connection. Took: 0.0 s
05-26 14:08:51.200 I/gtalksms(26860): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:08:51.215 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now 0
05-26 14:08:51.235 I/gtalksms(26860): we are disconnected, but more pending 
intents to be delivered - service will not stop
05-26 14:08:51.235 I/gtalksms(26860): teardownListenersForConnection()
05-26 14:08:51.325 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:08:51.345 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
05-26 14:08:51.345 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
05-26 14:08:51.345 I/gtalksms(26860): we are disconnected, but more pending 
intents to be delivered - service will not stop
05-26 14:08:51.345 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 0
05-26 14:08:51.345 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 0
05-26 14:08:51.350 I/gtalksms(26860): service is stopping (we are disconnected 
and no pending intents exist.)
05-26 14:08:51.370 I/gtalksms(26860): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
05-26 14:08:52.665 I/gtalksms(26860): service destroyed
05-26 14:08:52.665 I/gtalksms(26860): broadcasting state transition from 0 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:08:52.675 I/gtalksms(26860): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:08:52.700 I/gtalksms(26860): teardownListenersForConnection()
05-26 14:09:09.695 I/gtalksms(26860): onCreate(): service thread created
05-26 14:09:09.695 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.CONNECT
05-26 14:09:09.715 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.CONNECT' while in state 0
05-26 14:09:09.715 I/gtalksms(26860): broadcasting state transition from 0 to 1 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:09:09.790 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:09:12.485 I/gtalksms(26860): Update presence: XXX@jabber.org - Offline
05-26 14:09:12.500 I/gtalksms(26860): connection established
05-26 14:09:12.505 I/gtalksms(26860): conn parameters: con=true auth=true 
enc=true comp=false
05-26 14:09:12.550 I/gtalksms(26860): Update presence: a.XXX@googlemail.com - 
Offline
05-26 14:09:12.700 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.SEND
05-26 14:09:12.700 I/gtalksms(26860): broadcasting state transition from 1 to 2 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:09:12.725 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.CONNECT' - state now 2
05-26 14:09:12.725 I/gtalksms(26860): setupListenersForConnection()
05-26 14:09:12.835 I/gtalksms(26860): Sending message "Akkuladestand 70%"
05-26 14:09:12.840 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:09:12.850 I/gtalksms(26860): Update presence: XXX@jabber.org - Online
05-26 14:09:12.855 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
05-26 14:09:12.855 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
05-26 14:09:12.855 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.SEND' while in state 2
05-26 14:09:12.855 I/gtalksms(26860): Sending message "Willkommen bei GTalkSMS 
v2.2.3 @ Ya..."
05-26 14:09:12.855 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.SEND' - state now 2
05-26 14:09:12.855 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 2
05-26 14:09:12.855 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 2
05-26 14:10:06.820 D/gtalksms(26860): NetworkConnectivityReceiver: Broadcasting 
intent com.googlecode.gtalksms.action.NETWORK_CHANGED with available=false, 
failover=false, networkName=mobile_supl
05-26 14:10:06.820 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.NETWORK_CHANGED
05-26 14:10:06.820 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' while in state 2
05-26 14:10:06.820 I/gtalksms(26860): network_changed with available=false and 
with state=2
05-26 14:10:06.820 I/gtalksms(26860): broadcasting state transition from 2 to 3 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:06.835 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:06.855 I/gtalksms(26860): disconnectING xmpp connection
05-26 14:10:06.865 I/gtalksms(26860): ConnectionListener: connectionClosed() 
called
05-26 14:10:07.185 I/gtalksms(26860): disconnectED xmpp connection. Took: 0.0 s
05-26 14:10:07.305 I/gtalksms(26860): broadcasting state transition from 3 to 0 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.320 I/gtalksms(26860): broadcasting state transition from 0 to 5 
via Intent com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.340 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.NETWORK_CHANGED' - state now 5
05-26 14:10:07.340 I/gtalksms(26860): teardownListenersForConnection()
05-26 14:10:07.380 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.385 I/gtalksms(26860): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
05-26 14:10:07.410 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:10:07.410 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5
05-26 14:10:07.410 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:10:07.410 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5
05-26 14:10:07.415 I/gtalksms(26860): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
05-26 14:10:07.415 I/gtalksms(26860): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 5
05-26 14:10:07.415 I/gtalksms(26860): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now 5

Original comment by a.alwa...@gmail.com on 26 May 2011 at 5:00

GoogleCodeExporter commented 8 years ago
It's not a bug it's a feature :) Android phones can be configured to drop the 
WLAN connection when idle (e.g. display off). Maybe your desire didn't offer 
that option or it was disabled.

The behavior that you described in 2. is perfectly normal:
ICQ may has are more sophisticated system for reconnection that we have with 
with smack currently. Therefore every change in the data connectivity (WLAN -> 
GSM, GSM -> WLAN) triggers a GTalkSMS reconnect.

Original comment by fschm...@gmail.com on 26 May 2011 at 6:56