How do Google's push notifications work? - Android Apps and Games

This applies to:-
Gmail (new mail)
Market app updates
Google Intent (Chrome2Phone for example)
I have a Nexus One on a Vodafone contract. It doesn't have the Vanilla ROM but the Vodafone ROM. What I've noticed is that, with each of the 3 apps listed above, the information pushed to the phone is almost never instant. New email notification on Gmail, for instance, can take upto 40 (yes forty!) minutes to come on my phone. Although on certain occasions I get the notification within a second.
From reading experiences on forums, I think if your phone is unlocked then the push notifications are near instant. This makes me think that the Vodafone ROM might be interfering, but it shouldn't if I have 3G mobile internet access on all the time, which I do. Auto-sync is also, always, enabled.
So can Google's push notifications be interfered by mobile carrier networks in anyway? Thanks.

Hi,
having read about push notifications the behavior you described is exactly the one intended. If the phone is idle and locked the notifications are delayed (in fact by Google) to not drain the battery. Might look for the link later. Was in the development documentation of push notifications.
Sent from my HTC Desire using XDAApp

slow23 said:
Hi,
having read about push notifications the behavior you described is exactly the one intended. If the phone is idle and locked the notifications are delayed (in fact by Google) to not drain the battery. Might look for the link later. Was in the development documentation of push notifications.
Sent from my HTC Desire using XDAApp
Click to expand...
Click to collapse
Hi,
Thanks for your reply. It is very interesting that Google withholds notifications intentionally. But I'm not sure it has been implemented correctly because, for example, one would assume that the intent delivered in case of Chrome2Phone should be near instant. In practice it's not always so.

On my Wildfire I still get new Gmail notifications instantly even if my phone screen is off. Same like if I'd receive a SMS message. I think that behavious is as designed by Google
However, when you setup your gmail account to receive emails from other accounts (via POP3) then this is incrementally delayed by Google depending on your email traffic.

Probably you have auto-sync unchecked? My gmail notifies me instantly if I turn on auto-sync.
Sent from my HTC Desire using Tapatalk

Related

Battery Drain Culprit = HTC HUB

Found HTC HUB kept syncing every 3 minutes. This may be a bug in Sense 3.0 but not sure. My battery is no longer losing 4/5% per hour without use. Not saying this will solve everyone's battery life problems but give it ago. Also turned Facebook sync off.
Hope this helps some of you guys.
recklesslife85 said:
Found HTC HUB kept syncing every 3 minutes. This may be a bug in Sense 3.0 but not sure. My battery is no longer losing 4/5% per hour without use. Not saying this will solve everyone's battery life problems but give it ago. Also turned Facebook sync off.
Hope this helps some of you guys.
Click to expand...
Click to collapse
As a general rule, sync management should always be in play...especially on a brand new phone. This includes email. Push email eats battery badly. Also included in this is location settings and brand specific apps. Very few people think of HTC hub.
alodar1 said:
As a general rule, sync management should always be in play...especially on a brand new phone. This includes email. Push email eats battery badly. Also included in this is location settings and brand specific apps. Very few people think of HTC hub.
Click to expand...
Click to collapse
Actually Polling email affects the battery more than push. Polling your phone will connect every X amount of minutes to poll the server for new mail so it's constantly using data every time it checks. Push email the emails are only pushed to the phone when there are new messages so data is only used when the server pushes the message to your phone instead of your phone connecting to poll your email account every 15 minutes or every hour, sending data to the server, the server checking if there are messages, then pulling the data down.
There has been debate on this but think about it.
if you poll for email every 15 minutes the phone is opening a data connection to the server every 15 minutes even if there are no messages. with push you only use data when the message is pushed to you.
recklesslife85 said:
Found HTC HUB kept syncing every 3 minutes. This may be a bug in Sense 3.0 but not sure. My battery is no longer losing 4/5% per hour without use. Not saying this will solve everyone's battery life problems but give it ago. Also turned Facebook sync off.
Click to expand...
Click to collapse
where do you check the settings for the HTC HUB syncing?
piimp said:
where do you check the settings for the HTC HUB syncing?
Click to expand...
Click to collapse
Settings - Accounts & sync - HTC Sense
jlevy73 said:
Settings - Accounts & sync - HTC Sense
Click to expand...
Click to collapse
i was doing this before but i wasnt seeing HTC Sense thats y i asked, but i just realized its because it wasnt added to the list yet, so i just dint add it since im not even using it
Yeah i turned it off and im lasting a day and a half now. I like it but it's not worth all that battery life.
Sent via Motorola Xoom Wi-Fi only tablet powered by Android 3.1 Stock Honeycomb using Tapatalk Pro
HTC Hub is useless anyway. I don't know why anyone would want to use it.
Sent from my HTC Sensation 4G using XDA Premium App
When you have the two check boxes to sync htc hub and htc sync checked what info does it sync anyway?
seatown1two said:
When you have the two check boxes to sync htc hub and htc sync checked what info does it sync anyway?
Click to expand...
Click to collapse
my guess is the hub is to let you know of new widgets & crap & htc sync is is for their online site that can locate your phone, backs up your contacts/sms, & all of that
Honestly the screen is the culprit of battery drainage on my phone. I turned it all the way down and its been 5 hours and my battery is still 93%
Sent from my HTC Sensation 4G using XDA App
Jackasaur said:
Honestly the screen is the culprit of battery drainage on my phone. I turned it all the way down and its been 5 hours and my battery is still 93%
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
Mine too. I found that friendstream was the actual culprit. Even though it said "Display" i discovered that that includes widgets also. Took friendstream off my desktop and unchecked the HTC HUB & SYNC and I'm perfect now.
Sent from my HTC Sensation 4G using XDA App
graffixnyc said:
Actually Polling email affects the battery more than push. Polling your phone will connect every X amount of minutes to poll the server for new mail so it's constantly using data every time it checks. Push email the emails are only pushed to the phone when there are new messages so data is only used when the server pushes the message to your phone instead of your phone connecting to poll your email account every 15 minutes or every hour, sending data to the server, the server checking if there are messages, then pulling the data down.
There has been debate on this but think about it.
if you poll for email every 15 minutes the phone is opening a data connection to the server every 15 minutes even if there are no messages. with push you only use data when the message is pushed to you.
Click to expand...
Click to collapse
I think you misunderstand push vs pull in this context.
Pretty much all home WiFi routers as well as many mobile operators put your phone behind NAT. Also, every time you change networks your phone may end up with a different IP address. This means your phone is effectively unreachable for push messages in the way that you describe: sitting idle waiting for a message.
To be addressable by the push server it will need to poll each time it changes IP. To work around the NAT issue it will need to poll frequently regardless of IP changes, just to keep an open channel. (This because NAT mappings time out after a short while.) Push in the traditional sense is cool just because your message arrive instantly.
The idea that push saves battery is really just because of how Apple introduced push. They don't allow other apps to poll or to keep a traditional push connections open in the background. Instead they force all apps to use their push system, which results in a number of battery savings:
* Keeping 1 channel open with Apple's server vs. tons of poll/push connections with various servers is more efficient, simply because there is much less activity.
* That 1 channel is kept open with a specifically designed and very efficient protocol. It's not exchanging a lot of data just to keep the connection alive. (E.g. when you poll your e-mail you have a TCP handshake, an SSL handshake, an IMAP login and then a message list; much less efficient than the simple poll done by Apple.)
* Since no apps are pushing or polling themselves, they can be terminated or suspended completely without running stuff in the background. They don't wake up until the user responds to an Apple push message.
Elvis_Freshly said:
Mine too. I found that friendstream was the actual culprit. Even though it said "Display" i discovered that that includes widgets also. Took friendstream off my desktop and unchecked the HTC HUB & SYNC and I'm perfect now.
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
I don't use hub or sense (though Sense is always listed in my running apps). My question is my screen is always 95% of the drain. You indicate that widgets are also included in the mix. I have Pure Messenger widgets, doubletwist (which is ALWAYS running even when its not a widget or activated by me), FB for android, Twitter, Twidroid and Friendcaster as widgets on my screens. However, I have Fcaster, Twitter, Twidroid and Pure messenger (for g-mail) polling every 4 hours. I am getting killed when I perform any extended action like taking a few pics and talking on the phone. If I open up any FB app I can watch the battery start to tick backwards like an odometer. Are these widgets responsible for this, though they are are scheduled for polling?
xnpu said:
I think you misunderstand push vs pull in this context.
Pretty much all home WiFi routers as well as many mobile operators put your phone behind NAT. Also, every time you change networks your phone may end up with a different IP address. This means your phone is effectively unreachable for push messages in the way that you describe: sitting idle waiting for a message.
To be addressable by the push server it will need to poll each time it changes IP. To work around the NAT issue it will need to poll frequently regardless of IP changes, just to keep an open channel. (This because NAT mappings time out after a short while.) Push in the traditional sense is cool just because your message arrive instantly.
The idea that push saves battery is really just because of how Apple introduced push. They don't allow other apps to poll or to keep a traditional push connections open in the background. Instead they force all apps to use their push system, which results in a number of battery savings:
* Keeping 1 channel open with Apple's server vs. tons of poll/push connections with various servers is more efficient, simply because there is much less activity.
* That 1 channel is kept open with a specifically designed and very efficient protocol. It's not exchanging a lot of data just to keep the connection alive. (E.g. when you poll your e-mail you have a TCP handshake, an SSL handshake, an IMAP login and then a message list; much less efficient than the simple poll done by Apple.)
* Since no apps are pushing or polling themselves, they can be terminated or suspended completely without running stuff in the background. They don't wake up until the user responds to an Apple push message.
Click to expand...
Click to collapse
So traditionally push would usually take up less battery life? (with Apple, Blackberry) but with Android it eats more battery? hmm I like to get my mail pretty quickly so setting my email to poll every 15 minutes takes up less battery then if it was pushed? It just seems odd that it would eat more battery with android but the opposite on apple and BB devices (I only know about BB never owned an iphone or ipad, never will)
Elvis_Freshly said:
Mine too. I found that friendstream was the actual culprit. Even though it said "Display" i discovered that that includes widgets also. Took friendstream off my desktop and unchecked the HTC HUB & SYNC and I'm perfect now.
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
How much of a battery increase did you notice from removing friend stream? I had the friend stream widget and just removed it. Hopefully that will help. I also use the HTC calendar widget, mail widget, weather widget and message widget
graffixnyc said:
How much of a battery increase did you notice from removing friend stream? I had the friend stream widget and just removed it. Hopefully that will help. I also use the HTC calendar widget, mail widget, weather widget and message widget
Click to expand...
Click to collapse
I go from generally...well..let me give u today's numbers.
5:11pm Unplugged at 100%
8:54pm 74% with moderate usage. (Tweetdeck, 47 texts, Google Talk non stop, 5 phone calls about 15 minutes or so a piece)
I only have Engadget, Bookmarks, Google Music and power Widget on Display and I am doing great... i generally recharge once a day now.
So I am 100% sure Friendstream is the Display killer for battery and HTC Sense is the other culprit...Disable these 2 and you will see what I mean.
Elvis_Freshly said:
So I am 100% sure Friendstream is the Display killer for battery and HTC Sense is the other culprit...Disable these 2 and you will see what I mean.
Click to expand...
Click to collapse
How do you disable HTC Sense?
galaxys said:
How do you disable HTC Sense?
Click to expand...
Click to collapse
I think he meant to disable HTC Hub from sync as mentioned earlier. If you use an alternative launcher I think you can use a task killer or app like android assistant to kill HTC Sense at start up. because even if you use another launcher it still runs in the background
graffixnyc said:
I think he meant to disable HTC Hub from sync as mentioned earlier. If you use an alternative launcher I think you can use a task killer or app like android assistant to kill HTC Sense at start up. because even if you use another launcher it still runs in the background
Click to expand...
Click to collapse
I was kinda thinking the same and will be trying Zeam...thanks

Whats up with Push notifications in Mango?

Ive had my Omnia 7 with Mango RTM for about 3 weeks now and one of the most annoying things about it is the terrible UN-reliabiliy of push notifications. I don't care much about weather tiles or tweets but this things is utterly and completely useless for email.
Ive tried using both my @live and @gmail accounts set to "as item arrives" but it seems to only work for the first email. So many times i randomly check emails on the desktop to discover 3-4 new emails (sent 2hrs ago) and glancing on my phone there is none. It just says (email is up to date)
Anyone with advice please share otherwise its one of those things i cant cope with, might have to sadly go back to IOS. My iPhone 4 had "functional" email
Is ur data connection turned on? My email is working fine
Sent from my OMNIA7 using XDA Windows Phone 7 App
antmagpie said:
Is ur data connection turned on? My email is working fine
Sent from my OMNIA7 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Yes, i have excellent 3G signal where i live. Full bars
Wifi is also turned on but tried using data only and still push stop working after a few emails.
Considering 99.9% of users have reported extremely reliable push in Mango, including myself, I think the issue may be with your wireless carrier maybe dropping idle connections... Or another signal issue.
I have my Gmail set to receive every 15mins. Have you ticked the 'email' check box in 'content to synchronize' in Gmail settings? Otherwise I aint got any ideas. All my email accounts update on the start screen fine.
Sent from my OMNIA7 using XDA Windows Phone 7 App
Yep, my e-mail notifications work perfectly fine. No issues here. Sometimes, I get so many e-mails, my phone is too attentive to this fact and it gets annoying, but hey, at least that means its working.
i wasn't really hoping to hear positive news about push, means its just me
my latest setup is to have my phone @live id push everything but unticked the "sync email" and then created an outlook email account with the same @live email that syncs email, calendars etc with push
what does the "logging" bit have to do with email? its in email settings (off -recommended, basic, advanced)
my push works fine but just for the first few emails then for some reason it stops working. i wonder if its the constant connection/disconnection from wifi that trips it up
I have web.de...so it's a free email provider,too. Normally you can login every 15 mins at free mailproviders. My phone uses mango beta 1 and it loads every mail I get. Maybe you have set up something wrong...
Sent from my HD7 T9292 using XDA Windows Phone 7 App
SicilianTony said:
i wasn't really hoping to hear positive news about push, means its just me
my latest setup is to have my phone @live id push everything but unticked the "sync email" and then created an outlook email account with the same @live email that syncs email, calendars etc with push
what does the "logging" bit have to do with email? its in email settings (off -recommended, basic, advanced)
my push works fine but just for the first few emails then for some reason it stops working. i wonder if its the constant connection/disconnection from wifi that trips it up
Click to expand...
Click to collapse
I've had this happening before on Nodo. I figured out I wasn't deleting enough emails, keeping loads of them as read for no particular reason and at some point the inbox on my phone would get full and stop synchronising. Happened about 3 times since I've had the phone and I solved that by deleting plenty of emails on the phone itself before doing a manual synchronisation.
I'm not saying it's the solution but that worked for me.
SicilianTony said:
Ive had my Omnia 7 with Mango RTM for about 3 weeks now and one of the most annoying things about it is the terrible UN-reliabiliy of push notifications. I don't care much about weather tiles or tweets but this things is utterly and completely useless for email.
Ive tried using both my @live and @gmail accounts set to "as item arrives" but it seems to only work for the first email. So many times i randomly check emails on the desktop to discover 3-4 new emails (sent 2hrs ago) and glancing on my phone there is none. It just says (email is up to date)
Anyone with advice please share otherwise its one of those things i cant cope with, might have to sadly go back to IOS. My iPhone 4 had "functional" email
Click to expand...
Click to collapse
Same WP7 device, same eMail accounts, same problem, and I also have an iPhone 4 with full working push notification!
I'm trying to let them work... Keep in touch...
I have LG Optimus 7 with Mango RTM. Push notifications worked fine before Mango for both personal @live and corporate exchange mail. After Mango update push notifications has worked similarly as the first post describes (hasn't worked properly).
Today I manually added APN setting in mobile network settings and after that push notifications has worked. So for me the problem seemed to be a network connection issue, even if I was connected to WiFi.
Before Mango I had not touched APN settings in this phone and 3g did work.
It's worth knowing battery level also affects push reliability - to save power it turns the channel off when the charge is below around 25%.
Mixaus said:
I have LG Optimus 7 with Mango RTM. Push notifications worked fine before Mango for both personal @live and corporate exchange mail. After Mango update push notifications has worked similarly as the first post describes (hasn't worked properly).
Today I manually added APN setting in mobile network settings and after that push notifications has worked. So for me the problem seemed to be a network connection issue, even if I was connected to WiFi.
Before Mango I had not touched APN settings in this phone and 3g did work.
Click to expand...
Click to collapse
Not working for me...
otherworld said:
It's worth knowing battery level also affects push reliability - to save power it turns the channel off when the charge is below around 25%.
Click to expand...
Click to collapse
I've two battery, so I never enable battery saver...
I'm waiting for the Hotmail event in San Fransisco and NYC: if tomorrow emails will not arrive in push, I'll hard reset my WP7... :-(
In this two days, sometimes emails arrive in push, and sometimes not. Also, if I manually sync, sometimes it gives 2-3 different sync errors... :S I hope that is a server problem that will solved soon... :-\

Delayed Facebook notifications

I've just switched from Android (running MIUI Rom on my Galaxy S) to Windows Phone on a HTC Titan running 7740. One of the things that's bugging me (other than toasts disappearing and no central store of notifications) is that Facebook notifications for me always seem to be 5 minutes delayed. If someone sends me a Facebook message or posts on my wall, the notification always takes 5 minutes to come through to my phone. This happens whether i'm on Wifi or 3G. I've got notifications set to 'As they arrive' but the delay persists. This is especially annoying when someone sees my Facebook status as Online and tries chatting to me and all my replies are 5 minutes late.
Is this the same for everyone on Mango? My outlook/exchange notifications come through instantly so I wonder if this is a Facebook issue or if its the Windows Phone implementation of push notifications.
I also find the Facebook Live Tile is slow to update - it will show I have a notification, i'll read that notification but the Live Tile doesn't update for a while.
Replies are much appreciated!
Facebook notifications are slow as he'll. Just the way it is...
Sent from my SGH-T959 using Tapatalk
In the Facebook app notifications are a little bit delayed, but when chatting its almost instant like texting. At least for me anyway.
Notifications barely work and when they do, they are atleast 10 mins delayed. I've noticed this for most of the apps including kik,Facebook,whatsapp,weather channel.
Most of the time I don't receive push and have togo into the app to see that I have messages
Sent from my T8788 using XDA Windows Phone 7 App
Some information that would be worth including with the posts from users experienceing problems.
Location and carrier. It's pretty easy to set up your profile to display these automatically.
Like the poster above from Chicago, chatting is nearly instantaneous for me in the Minneapolis area.
I did recieve a friend request notification about 30 seconds after I had received it on my iPhone.
Different Notification have different settable priorities by the developers.
So, recieving a Toast about a friend request could be considered by the develoeprs to be low priority, since it does not require an immediate response.
I moved from Louisiana to Pennsylvania. They're still slow as hell. Everywhere in between, there was no change. The Vibrant with the Official Facebook Apps has no issue anywhere, nor does the iTouch when used in various places on WiFi.
If it is high priority on every other platform, I don't see why it cannot be high priority here.
It's called a Social Network for a reason. Friend requires are high priority on this...
The issue just isn't about friend request. Chat, Messages, Posts, Picture Comments, Photo Tags, etc. are all more than considerably slower than on other platforms. EVERYTHING is slower.
Maybe Facebook is just low priority on this platform, period? I'm jumping the gun because you'll eventually get there, it seems...
Facebook app activity notifications are instant. Chat notifications are instant. Every other app that's supposed to be instant is. However, the "Me" tile is delayed, but we all know that.
N8ter said:
I moved from Louisiana to Pennsylvania. They're still slow as hell. Everywhere in between, there was no change. The Vibrant with the Official Facebook Apps has no issue anywhere, nor does the iTouch when used in various places on WiFi.
If it is high priority on every other platform, I don't see why it cannot be high priority here.
It's called a Social Network for a reason. Friend requires are high priority on this...
The issue just isn't about friend request. Chat, Messages, Posts, Picture Comments, Photo Tags, etc. are all more than considerably slower than on other platforms. EVERYTHING is slower.
Maybe Facebook is just low priority on this platform, period? I'm jumping the gun because you'll eventually get there, it seems...
Click to expand...
Click to collapse
maybe if you'd just sign in at one location only it would work alot better because I'm having no issues at all.
prohibido_por_la_ley said:
maybe if you'd just sign in at one location only it would work alot better because I'm having no issues at all.
Click to expand...
Click to collapse
Maybe they should fix it to work correctly. Everyone else's clients work. I'm not the issue
Sent from my SGH-T959 using Tapatalk
N8ter said:
Maybe they should fix it to work correctly. Everyone else's clients work. I'm not the issue
Click to expand...
Click to collapse
Usually have Androids to test around the house and both WP7 and my current Android work fine for FB notifications.
I didn't say they didn't work. I said they were slow as hell. If I was so obviously wrong, this thread wouldn't exist. I am not the OP. People on other forums are having the same complaints about the PUSH Notification speed for third party apps on this platform.
Again: Issue is not the notifications "Not Working." Issue is that the Notifications are noticeably delayed compared to Android and iOS (and Blackberry and WebOS) handsets. Sometimes you get the Notifications 10 minutes to an hour after the Facebook applications on Android and iOS, which come in at virtually the same time. I notice this on a daily basis, because I always have my Vibrant, HD7, and iTouch 4 with me and I'm almost always on a WiFi connection.
Since I always have those devices with me, it's not necessarily a deal breaker, because I tend to just use those phones for everything except Sending/Recieving SMSes and making calls, anyways. However, if the HD7 was my only/lone device, it WOULD be a huge issue for me.
The whole concept of PUSH notifications is that they aren't delayed because the server PUSHes them to your phone the instant they come in. That is not happening for a lot of apps on WP7 right now. The Notifications are late 95% of the time, sometimes unacceptably so.
Everytime a Notification is late, it basically forces me to use another device to respond to that Notification. Do you see how that can frame someone's "perspective" of the user experience?
N8ter said:
I didn't say they didn't work. I said they were slow as hell. If I was so obviously wrong, this thread wouldn't exist. I am not the OP. People on other forums are having the same complaints about the PUSH Notification speed for third party apps on this platform.
Again: Issue is not the notifications "Not Working." Issue is that the Notifications are noticeably delayed compared to Android and iOS (and Blackberry and WebOS) handsets. Sometimes you get the Notifications 10 minutes to an hour after the Facebook applications on Android and iOS, which come in at virtually the same time. I notice this on a daily basis, because I always have my Vibrant, HD7, and iTouch 4 with me and I'm almost always on a WiFi connection.
Since I always have those devices with me, it's not necessarily a deal breaker, because I tend to just use those phones for everything except Sending/Recieving SMSes and making calls, anyways. However, if the HD7 was my only/lone device, it WOULD be a huge issue for me.
The whole concept of PUSH notifications is that they aren't delayed because the server PUSHes them to your phone the instant they come in. That is not happening for a lot of apps on WP7 right now. The Notifications are late 95% of the time, sometimes unacceptably so.
Everytime a Notification is late, it basically forces me to use another device to respond to that Notification. Do you see how that can frame someone's "perspective" of the user experience?
Click to expand...
Click to collapse
mine aren't late, usually a few seconds to a couple mins at the most. Not an issue at all and my HD7 is the only device I carry.
N8ter said:
I didn't say they didn't work. I said they were slow as hell. If I was so obviously wrong, this thread wouldn't exist. I am not the OP. People on other forums are having the same complaints about the PUSH Notification speed for third party apps on this platform.
Again: Issue is not the notifications "Not Working." Issue is that the Notifications are noticeably delayed compared to Android and iOS (and Blackberry and WebOS) handsets. Sometimes you get the Notifications 10 minutes to an hour after the Facebook applications on Android and iOS, which come in at virtually the same time. I notice this on a daily basis, because I always have my Vibrant, HD7, and iTouch 4 with me and I'm almost always on a WiFi connection.
Since I always have those devices with me, it's not necessarily a deal breaker, because I tend to just use those phones for everything except Sending/Recieving SMSes and making calls, anyways. However, if the HD7 was my only/lone device, it WOULD be a huge issue for me.
The whole concept of PUSH notifications is that they aren't delayed because the server PUSHes them to your phone the instant they come in. That is not happening for a lot of apps on WP7 right now. The Notifications are late 95% of the time, sometimes unacceptably so.
Everytime a Notification is late, it basically forces me to use another device to respond to that Notification. Do you see how that can frame someone's "perspective" of the user experience?
Click to expand...
Click to collapse
Try keeping WiFi off on your Windows Phone 7 with a SIM in.
It looks like WiFi is shutting off when the phone screen shuts off. When I let my phone sit for a while, and then turn the screen back on, the WiFi icon is animated. Then it turns solid, which I am guessing means that is was connecting and is now connected.
Obviously, no push notification will come through if WiFi is not connected and no SIM is in the phone.
I have not noticed any delays when I don't have WiFi on. So, there might be some problem related to data, where WiFi does not transition to 3G.
I have also noticed that WiFi shuts off on the iPhone and reconnects when you turn the screen on.
I am starting to think that delays might be related to this.
JVH3 said:
Try keeping WiFi off on your Windows Phone 7 with a SIM in.
It looks like WiFi is shutting off when the phone screen shuts off. When I let my phone sit for a while, and then turn the screen back on, the WiFi icon is animated. Then it turns solid, which I am guessing means that is was connecting and is now connected.
Obviously, no push notification will come through if WiFi is not connected and no SIM is in the phone.
I have not noticed any delays when I don't have WiFi on. So, there might be some problem related to data, where WiFi does not transition to 3G.
I have also noticed that WiFi shuts off on the iPhone and reconnects when you turn the screen on.
I am starting to think that delays might be related to this.
Click to expand...
Click to collapse
It happens even when WiFi is off, plus, when the WiFi shuts off the phone falls back to 3G and I get a full 3G signal here.
You're not onto anything
The Vibrant is still way faster than the HD7 when I'm away from Home and Off of WiFi. Obviously the iTouch won't get anything off of WiFi.
Additionally, the device does not sleep WiFi when it's plugged into a charger and I use USB extenders and almost always have them on a charger when I'm at home or in the car. My phone charge cables are like 20 feet long, Lol.
---------- Post added at 09:33 PM ---------- Previous post was at 09:27 PM ----------
prohibido_por_la_ley said:
mine aren't late, usually a few seconds to a couple mins at the most. Not an issue at all and my HD7 is the only device I carry.
Click to expand...
Click to collapse
I'm changing carriers in two months and going down to one phone. I can assure you I will not have to worry about this when that happens. It's not something I should have to deal with, and it's not something you or anyone else should have to deal with either.
Are you just talking about the facebook app or people's hub integration?
People's hub is always up to date for me and messages through it are instant. I don't use the facebook app so not sure there. Neither do groups (like the dog park group i am part of) and bugs me the most. The app says it does but when you click on a notification it takes you to the facebook mobile and says not found. For groups i use IE9. Works great even as the desktop version. Why even use the app when you have that and the people's hub?
Oh my, N8ter saying that Android does something faster than Windows Phone and that Windows Phone is ruining a user experience model. And he's saying they need to make it work properly? What a surprise!
My notifications come in within 1-10 seconds, most of the time they'll come through on my phone before they come in on my girlfriend's Android in a picture we're both tagged in, the platform isn't the problem.
ROCOAFZ said:
Are you just talking about the facebook app or people's hub integration?
People's hub is always up to date for me and messages through it are instant. I don't use the facebook app so not sure there. Neither do groups (like the dog park group i am part of) and bugs me the most. The app says it does but when you click on a notification it takes you to the facebook mobile and says not found. For groups i use IE9. Works great even as the desktop version. Why even use the app when you have that and the people's hub?
Click to expand...
Click to collapse
People polls when opened so of course its always up to date. I am talking about push notifications for the Facebook app and message hub Facebook chat. And various other third party apps. Something is wrong with the way Microsoft handles push notifications.
People hub social stuff does not update in the background. It clearly polls whenever you open it up, just like Samsung social hub in touchwiz 3.
Sent from my SGH-T959 using Tapatalk
N8ter said:
People polls when opened so of course its always up to date. I am talking about push notifications for the Facebook app and message hub Facebook chat. And various other third party apps. Something is wrong with the way Microsoft handles push notifications.
People hub social stuff does not update in the background. It clearly polls whenever you open it up, just like Samsung social hub in touchwiz 3.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
I second that. You need the facebook app to receive toast notifications when something happens in facebook. But this push notification for me is delayed and noticeably so compared to Android and iOS. This is the case when using wifi or 3g and is the case on my HTC Titan and HD7. This isn't a HUGE deal for wall posts (though it is annoying), but i've had to turn my facebook status through WP7 onto Appear Offline, because chat notifications are delayed and when you appear to people on facebook as Online they expect a faster response.
I get FB chat messages instantly on my Focus. Notifications from the FB application aren't as quick but never been delayed for more than a few minutes. Never been a problem. I also play scrabble a lot with friends and as soon as they make there move (there sitting across from me), I get a push notification a second later. So the push notifications are working great for me. Maybe a format of your HTC Titan will help?
N8ter said:
Facebook notifications are slow as he'll. Just the way it is...
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
I can only compare with windows7 and wp7 but I always get notifications faster on my phone then my pc (always)
pc on wifi and phone on 3g.

Google Talk - Delayed Incoming Notifications

Hey guys,
Tried searching for this, but nada.
Anyone else having issues with your phone being idle but powered on ans upon bringing on the screen you receive a google talk notification that's old? Is been happening to me lately, and I can't tell if it's the phone or the fact that my desktop version is intercepting the message and preventing the phone notification.
I'm tempted to no longer use the desktop built in gmail version, but I wanted to see if others are having similar issues.
Thanks in advance!
Sent from my HTC One X using xda premium
Can't guarantee this, but I have a feeling it may have something to do with the phone letting the Google talk process close when the phone is in it's sleep state. I've noted that I keep having to re sign in to gtalk when I wake up my phone and suspect that it is an issue with the horrible multitasking that HTC has bundled into sense 4.0.
I assume both of you also get delayed notifications with push email using the native Gmail app? I also frequently get logged out of Google Talk when I put the phone in standby mode. When I am logged out of Google Talk, my push emails are delayed in the Gmail app until I log back into Google Talk.
So it seems to be some problem of getting disconnected from google services when the phone is asleep.
I don't think i've been getting delayed notifications, but I do notice that my chat gets out of order a lot. My replies will be above whoever is talking to me no matter what order each was sent in.
Almost every phone that comes out gets a google talk going eventually so there is lots out there, but each phone has it's own issues. Here is a thread that was pretty good from the Galaxy Nexus Forums.
http://forum.xda-developers.com/showthread.php?t=1400367
With the HOX I have had issues with Google Talk not working great when the wifi is dropping, so this might be part of the wifi issue that pretty much everybody is having with this phone. The wifi stays connected but seems to go to sleep so your phone only gets the notification once it is woken up. Try turning off the wifi and seeing if you have the same problem.
As for Google Talk, there are some oddities that go along with using it on multiple devices. Here is some stuff I figured out playing around with it on multiple devices and computers at the same time. (I posted this in the GN forums as well)
"Google Talk is my main means of communication it seems so I have played with it a lot. Here are my observations.
1. To keep it "up" all the time in the Talk App hit the menu button (three dots now) >settings>uncheck automatic away status. Also make sure your phone has automatic syncing turned on for your gmail account: Setting>Accounts and Sync>ON (for your chat gmail address anyway). Additionally make sure your mobile data is turned on if you are ever off wifi: Settings>More>Mobile networks>Data Enabled (checked to turn on)
2. You can have up to 6 devices linked to your talk account at once, after that they just stop working.
3. When you receive a IM it appears on both your phone and your gmail account. If you start typing on the gmail account (or G+) it hijacks the whole session and you phone no longer gets the notifications, but the conversation still shows up on the chat window on the phone. When you are done with the IM session make sure you close the window on gmail (or G+) and send one last message from your phone or tablet to take the session back over, if you don't your phone will not receive future chat notifications. You can also just log out of your gmail/G+ session and it will automatically return everything to your phone/tablet but who ever does that?
4. To figure out how it all worked and tinker with it I use both of my gmail accounts and chat back and forth with them. You can do it from separate browsers or just open an incognito window in Chrome and log into your other gmail account. I would recommend this so you can see all of this stuff in practice.
Good Luck, hope this helps"
Gtalk and gmail delays
Hi all,
I have performed tests and discovered that if i disable WiFI and only use the phone's data connection "4g" or LTE that i receive all my messages with no problem even when the phone locks/goes to sleep. However if i leave wifi turned on, within 5-10 seconds i stop receiving them and will only receive them when i wake up the phone/unlock or wait for the delay which can be anywhere from 5-15 mins.
Trying to figure out a way to by pass this, but can't seem to figure it out. I don't want to keep my wifi off when i'm at work or home so i don't use data as i have 3GB and not unlimited so it kind of sucks that i have to keep wifi off for now. Any thoughts/ideas would be great, thanks.
k0sun7eash3d said:
Can't guarantee this, but I have a feeling it may have something to do with the phone letting the Google talk process close when the phone is in it's sleep state. I've noted that I keep having to re sign in to gtalk when I wake up my phone and suspect that it is an issue with the horrible multitasking that HTC has bundled into sense 4.0.
Click to expand...
Click to collapse
This. I have issues with timely/accurate reception of notifications from GV. I only use my account for voicemail, but typically I only get voicemail notifications if I open the actual application (which I do because my gmail account receives an email notification now, as well). Sometimes I notice GV as a running task, but often times not, so to me it seems that (possibly) multitasking or some other form of process management in ICS or Sense is not prioritizing the GV process and it's associated actions. I dont mind the aggressive multitasking, but it would be nice to have the option of protecting some processes, such as GV.
I removed google + app completely with titanium backup, and the problem is gone., I get the messages immediately
Push Notifications Fixer can fix it
xda http://forum.xda-developers.com/showthread.php?t=2142503
play store https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
I'm running the latest Viper, I've never had an issue receiving or sending msgs. The only time the phone won't alert me is if I am actively typing in the browser window.
I'll note though that I never have wifi on, it's always on the mobile network.
andQlimax said:
Push Notifications Fixer can fix it
xda http://forum.xda-developers.com/showthread.php?t=2142503
play store https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
Click to expand...
Click to collapse
I tried everything not even this works for me
Same problem, screen off - phone disconnects, unlock the phone - messages start to appear
Same problem on 2 different phones and 2 different numbers
I don't use G Talk, but I see the same thing with G Voice. I almost never get voicemail notifications on my HOX (they show up instantly on my old GNex). I blame Sense (for this and other things).
Same problem, but with Nexus 4 when I am on WiFi. With data connection, it works without problems.

[APP][4.1+][FREE][10-SEP-2016] Push Notifications Fixer No-Root v2.5

FEATURED by Whatsapp Support Page
Hi everyone,
Are you experiencing delayed push notifications from GTalk/Hangouts, GMail, Whatsapp (partial fix), Facebook, Play Store web install, etc? If so, then this app its for you!!
It's FREE! No banners. No ads. Please consider donating to the developer (link in the app).
This app work for EVERY phone. ROOT is NOT required
Root version here: http://forum.xda-developers.com/showthread.php?t=2142503
This app basically keep alive the push connection on your phone. It avoid the tcp connection timeout that can occurs on some wifi routers or on some mobile carriers.
You will always receive instantly push notifications.
● Why were my notifications delayed in the first place?
Apps using Google's push service (Hangouts, Gmail, Facebook Messenger, e.g.) connect your phone to Google’s servers via one TCP connection (on port 5228).
To keep this connection alive, Android uses a periodic heartbeat to prevent the connection from timing out. By default, this heartbeat occurs every 15 minutes on wifi and every 28 minutes on a mobile data connection.
This is problematic because most Wi-Fi routers and mobile carriers will automatically terminate this connection after a short time of inactivity.
Because your phone is not aware that this connection was externally closed, you will not receive push notifications until this connection is reestablished when the next heartbeat is sent.
● How does PNF solve this problem?
Every x minutes it invoke an android activity that will send an heartbeat network packet on the push connection. Sending an heartbeat every 5 minutes should be enough to always keep the connection alive and all your push notifications will be instantly.
The battery should not be much impacted over a day.
Download here: PLAY STORE LINK (or get the attached APK in case not available on your country for some reason)
Please, if the are problems don't rate bad, send me an email ( [email protected] ) or post the problem in this thread and I'll answer you as soon as possible.
Feedback are welcome!
Changelog:
See post Number 2
FAQ:
See post Number 3
Report to google here: https://productforums.google.com/fo...onnecting-to-networks-and-devices/fslYqYrULto
Download it from play store to receive future app updates
Changelog:
Version 2.5, 2016/09/10:
- Small update. Soon new things!
Version 2.0, 2015/06/30:
- Fix PNF auto-startup after phone reboot
Version 1.5, 2015/01/04:
- Material design for android lollipop
Version 1.1, 2014/03/06:
- Fix app not autostart at network changes on some phone
- The app start at phone boot itself, no need to start it or do anything
Version 1.0, 2013/11/05 :
- First release
FAQ
Q: Does this app drain battery in background? Does lowering the heartbeat interval too much cause more battery drain?
A: It should have not a big impact on the battery during your daily use. I recommend hearbeat set to 5 minutes, it should be enough to make you receive instantly notifications.
Q: What does mean "set the heartbeat to x minutes" ?
A: It means only that android will send a network packet over the push connection every x minutes instead of the default 15/28 minutes to keep alive that connection. It does NOT mean that you receive push notification every x minutes. Notifications are instantly if the push connection is alive.
Q: Why Whatsapp messages are still delayed sometimes?
A: Whatsapp, and some others apps, don't completely rely on google push service (GCM). Those apps start their own connection when you open the application, and the messages come through this connection. The heartbeat is sent by android only on the push connection on the port 5228, and so it only keep-alive that particular connection. Blame those apps that doesn't have a keep-alive mechanism for their connection or that doesn't use full push messaging.
A workaround for whatsapp is to swipe it away from the recent apps when your finished a chat session. In this way it's connection is dropped and you will be notified of new messages through google push notifications.
I start seeing some download, but few stars.. Come on show your gratification with 5 stars
Inviato dal mio Galaxy Nexus utilizzando Tapatalk
How?
Hi, Im using your application, the root one.
But I'm interested in how this one works.
I recently developed an app that use GCM to send messages between devices.
If you can answer me... How do you send the heartbeat through an Activity? This can help a lot of people since Google don't do anything.
Thank you
Hitsbam said:
Hi, Im using your application, the root one.
But I'm interested in how this one works.
I recently developed an app that use GCM to send messages between devices.
If you can answer me... How do you send the heartbeat through an Activity? This can help a lot of people since Google don't do anything.
Thank you
Click to expand...
Click to collapse
Basically to trigger an heartbeat you only need those 2 lines (those are undocumented, I it discovered by decompiling GSF):
Code:
context.sendBroadcast(new Intent("com.google.android.intent.action.GTALK_HEARTBEAT"));
context.sendBroadcast(new Intent("com.google.android.intent.action.MCS_HEARTBEAT"));
where context is the application context.
Those intents will be "catched" by GoogleServicesFramework (GSF) that will physically send the heartbeat packet to the google servers. If an aswer come back instantly the push connection is alive, otherwise if in 60 seconds there is no answer back, GSF will initiate a new push connection without to wait the next heartbeat.
The first intent is for Ice Cream Sandwhich and below "I think", while the second one is used in new android versions, should depend from the GSF version installed..But you can safety fire both, since one of the two won't just do anything.
Not sure if it is a good practice to place it inside an application, since if every developer will do that the battery will be killed. Maybe you can invoke that only in some situations.
andQlimax said:
Basically to trigger an heartbeat you only need those 2 lines:
Code:
context.sendBroadcast(new Intent("com.google.android.intent.action.GTALK_HEARTBEAT"));
context.sendBroadcast(new Intent("com.google.android.intent.action.MCS_HEARTBEAT"));
where context is the application context.
Those intents will be "catched" by GoogleServicesFramework (GSF) that will physically send the heartbeat packet to the google servers. If an aswer come back instantly the push connection is alive, otherwise if in 60 seconds there is no answer back, GSF will initiate a new push connection.
The first intent is for Ice Cream Sandwhich and below "I think", while the second one is used in new android versions, should depend from the GSF version installed..But you can safety fire both, since one of the two won't just do anything.
Not sure if it is a good practice to place it inside an application, since if every developer will do that the battery will be killed. Maybe you can invoke that only in some situations.
Click to expand...
Click to collapse
Thanks a lot.
Your right, if every developer use it then can turn in to a problem.
I'm not going to use it, only in the start of the app if the users reports me problems. But first i'm going to suggest your application, i think is a better solution by the moment :good:.
Thanks for satisfy my curiosity.
PNF root reached 50.000+ downloads!
PNF no-root need more advertising..Share it to people may need this app and give 5 stars!
Great app :good:
I'm new with android. How can I swipe whatsapp away from the recent apps in settings when I finished a chat session?
Thanks in advance
lefty68 said:
Great app :good:
I'm new with android. How can I swipe whatsapp away from the recent apps in settings when I finished a chat session?
Thanks in advance
Click to expand...
Click to collapse
Depends from your phone I think, just launch the recent apps list and remove / swype whatsapp from there..
On the Nexus phones there is a dedicated on screen button to open the recent app list, on some Samsung phone I think you can long press the home button.
Inviato dal mio Galaxy Nexus utilizzando Tapatalk
andQlimax said:
Depends from your phone I think, just launch the recent apps list and remove / swype whatsapp from there..
On the Nexus phones there is a dedicated on screen button to open the recent app list, on some Samsung phone I think you can long press the home button.
Inviato dal mio Galaxy Nexus utilizzando Tapatalk
Click to expand...
Click to collapse
On Huawei g300 phone I can long press the home button to open the recent app list too, but it seems like in android 2.3.6 I can't swipe apps away. Any alternative action?
andQlimax said:
Basically to trigger an heartbeat you only need those 2 lines (those are undocumented, I it discovered by decompiling GSF):
Code:
context.sendBroadcast(new Intent("com.google.android.intent.action.GTALK_HEARTBEAT"));
context.sendBroadcast(new Intent("com.google.android.intent.action.MCS_HEARTBEAT"));
Click to expand...
Click to collapse
Hi, I'am using the same method in my product.
Can we reach an agreement how to reduce the frequency of these intent calls?
I have no idea to realize any heartbeat timeout settings in my app (hard policy).
I can't listen for these intents cause it requires com.google.android.c2dm.permission.SEND permission that can't be acquired.
For example, can you send some additional broadcast intent (w/o permissions) when fire heartbeat?
I'll listen for it and reset own alarms to not to do the same action.
dd00_xda said:
Hi, I'am using the same method in my product.
Can we reach an agreement how to reduce the frequency of these intent calls?
I have no idea to realize any heartbeat timeout settings in my app (hard policy).
I can't listen for these intents cause it requires com.google.android.c2dm.permission.SEND permission that can't be acquired.
For example, can you send some additional broadcast intent (w/o permissions) when fire heartbeat?
I'll listen for it and reset own alarms to not to do the same action.
Click to expand...
Click to collapse
I have to check, there is an other intent directly fired by android which indicate that an heartbeat has been sent, you can listen that intent I think
I don't remember it right now what, I will check tomorrow maybe and will let you know
dd00_xda said:
Hi, I'am using the same method in my product.
Can we reach an agreement how to reduce the frequency of these intent calls?
I have no idea to realize any heartbeat timeout settings in my app (hard policy).
I can't listen for these intents cause it requires com.google.android.c2dm.permission.SEND permission that can't be acquired.
For example, can you send some additional broadcast intent (w/o permissions) when fire heartbeat?
I'll listen for it and reset own alarms to not to do the same action.
Click to expand...
Click to collapse
@dd00_xda
It seems there isn't an android system intent that you can listen to check if an heartbeat has been sent.
About your request to send some broadcast intent in my app, what will be the advantage for you? I mean, if you already need my app installed, then you don't need at all your own alarm..My app by default send and heartbeat every 5 minutes for example (the alarm will start every time a connection is made) and in that way the push connection is already alive..and every notification you app need to listen, it will always being received
Thanks very much for creating this app! I have a question about it.
I previously had a Samsung Galaxy S3 running Android 4.1.2. Push notifications worked fine over Wi-Fi when I was at home.
I have now switched to a Nexus 5 running Android 4.4. I'm still using the same router at home, but I'm getting an issue with notifications being delayed. Sometimes I will not get any notifications for a while, then a bunch will turn up at once from different apps.
Does the issue I've described sound like it's related to the problem that this app is designed to fix? If so, how come everything worked fine with my S3 with the same router?
Many thanks!
funksoulbrother said:
Thanks very much for creating this app! I have a question about it.
I previously had a Samsung Galaxy S3 running Android 4.1.2. Push notifications worked fine over Wi-Fi when I was at home.
I have now switched to a Nexus 5 running Android 4.4. I'm still using the same router at home, but I'm getting an issue with notifications being delayed. Sometimes I will not get any notifications for a while, then a bunch will turn up at once from different apps.
Does the issue I've described sound like it's related to the problem that this app is designed to fix? If so, how come everything worked fine with my S3 with the same router?
Many thanks!
Click to expand...
Click to collapse
maybe the issue is that the device loose the network while the screen is off? that's a common problem on some device, it is not fixed by PNF
andQlimax said:
maybe the issue is that the device loose the network while the screen is off? that's a common problem on some device, it is not fixed by PNF
Click to expand...
Click to collapse
Thanks for the reply!
Do you have any recommendations of how I could troubleshoot this issue? I really don't know what the cause is - I just know it happens, and if it was a widespread issue with the Nexus 5 then a lot more people would be talking about this issue. I've only seen a handful of folks mentioning it.
Thanks again.
funksoulbrother said:
Thanks for the reply!
Do you have any recommendations of how I could troubleshoot this issue? I really don't know what the cause is - I just know it happens, and if it was a widespread issue with the Nexus 5 then a lot more people would be talking about this issue. I've only seen a handful of folks mentioning it.
Thanks again.
Click to expand...
Click to collapse
if the phone disconnect from the wifi while the screen is off (happen also with only some routers sometimes), you usually should see the phone reconnect as soon as you wake the screen..if you pull down the notification bar and open the toggle switch, you should see the wifi icon orange (no connection to google server) and in few seconds become white again (connected).
andQlimax said:
if the phone disconnect from the wifi while the screen is off (happen also with only some routers sometimes), you usually should see the phone reconnect as soon as you wake the screen..if you pull down the notification bar and open the toggle switch, you should see the wifi icon orange (no connection to google server) and in few seconds become white again (connected).
Click to expand...
Click to collapse
Thanks again.
I don't believe the Wi-Fi is disconnecting. I can ping the device when the screen has been off for ages and notifications do come in when the screen is off - they're just delayed and sometimes I don't get a notification at all, yet I'll get an email notification on my PC.
funksoulbrother said:
Thanks again.
I don't believe the Wi-Fi is disconnecting. I can ping the device when the screen has been off for ages and notifications do come in when the screen is off - they're just delayed and sometimes I don't get a notification at all, yet I'll get an email notification on my PC.
Click to expand...
Click to collapse
that's strange...anyway my nexus 5 is arriving, I will do some tests and see if PNF is working correctly on KitKat

Categories

Resources