How can I prevent Google Talk from disconnecting?

How can I prevent Google Talk from disconnecting?

  • After about 5-10 minutes of not using the app (i.e., not sending messages), my Google Talk connection drops and does not reconnect till I play with the app a bit. How can I prevent this from happening? Theoretically it could be a WiFi timeout issue, or related, but I tried the following: Using RyanZA's OCLF app to set the timeout to an hour. In Settings -> Wireless and network -> WiFi settings -> Advanced, setting WiFi sleep policy to Never. Editing the settings database directly to set the WiFi sleep policy to Never. As well, I still receive emails and the like over WiFi while the screen is locked. I don't have a data plan (there's not even a SIM card in the phone right now), so it seems like WiFi stays connected and is otherwise working. That said, I do have problems with WiFi occassionally failing to work; see http://android.stackexchange.com/questions/14162/how-can-i-prevent-my-wifi-connection-from-glitching The answer to that question has seemingly fixed the problem with Wi-Fi being glitchy, but it doesn't prevent it from sleeping while the screen is off, so I think something else is wrong. I'm not sure to what extent it affects this GTalk issue. This has happened in every ROM I've used. Another Jabber client that does not suffer this issue would be OK, but ideally I'd like to fix GTalk. Meebo and eBuddy suffer the same or similar problems. Device: Samsung Galaxy S Vibrant SGH-T959 OS Version: 2.2 (Froyo) ROM: Bionix NextGen v1 (TouchWiz version)

  • Answer:

    Clearing the data on apps is a good way to "fix" misbehaving apps. I've noticed sometimes apps go haywire and stop working properly. Sometimes rebooting fixes it. From my time in the modding community loading custom ROMS (CyanogenMod) there was a time when Google Talk on some of the ROMS wasn't working correctly. I don't know what fixed it. At that time, having to constantly start GTalk was the only way to keep all your Google stuff synced. I have Wi-Fi set not to sleep but notice I've never been able to completely prevent it from sleeping after longer periods of time. That glitching may be screwing up your GTalk. My best guess at this poing (sorry it's just a SWAG) is to remove the GTalk app completely, wipe your Dalvik, and reinstall GTalk. You can use Titanium Backup to remove the app or the SDK bridge. Make sure you have the correct Gtalk APK before removing the one you have. If all else fails, reload your ROM.

Matthew Read at Android Enthusiasts Visit the source

Was this solution helpful to you?

Other answers

Well, if you need google talk for talking to people you could just use a third part im client like https://market.android.com/details?id=com.xabber.android&hl=en or https://market.android.com/details?id=com.imo.android.imoim&hl=en. The thing is, android routinely kills processes if they're not active, and these apps work around that by placing a persistent notification in the status bar, which prevents android from killing them (don't ask me why) If you gtalk because google uses it for syncing, you could use a https://market.android.com/details?id=com.afterhoursdevelopers.android.synker&hl=en that requests sync when you click it. Not really a solution, but good enough for me.

Andrey Losev

As far as I can tell, the only way to resolve this is by "hacking" your phone. http://forum.xda-developers.com/showthread.php?t=774507 shows you how to change the length of time. I'm guessing putting "-1" for the length of time would cause it to not turn off, but haven't tested it myself.

jeffl8n

I'd use default settings for the Wifi time out since it adds significant drain to the battery. I have a Motorola Droid and try to exclusively use 3g and use these settings. Open Google Talk. Press Menu button. Settings. Check the following. Automatically sign in Mobile indicator Automatic away-status. I stay signed in and I go idle when the phone is sleeping.

Futon

Looks like you have to root your device per the first 2 answers http://forum.xda-developers.com/showthread.php?t=774507

john salinas

Go to menu>applications>manage applications>menu button>filter>all>talk>clear data.

Brent Zockoll

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.