What about a IMAP IDLE style of pushing. It too is real pushing, except your phone needs to keep the tcp connection alive, sending a NOOP every minutes or so.
You could also use xmpp. On 26 nov, 20:06, Mark Murphy <[EMAIL PROTECTED]> wrote: > G wrote: > > What are some techniques that could be used for push > > notifications to an app (service) in android? > > SMS. > > Everything else remotely practical is some flavor of pull, in terms of > who initiates the request for data (the device) and the timing of such > requests (polling). > > > The problem with this method is that > > Android currently has no way to cancel the notification that is sent > > by the messaging app. > > That's definitely a limitation. Ideally, SMS messages are handled by an > Intent-style system, where messages corresponding to certain formats are > handled by apps, and everything else "falls through" to the standard > Messaging application and is treated as a message for human eyes. > > The bigger problem is that not all phone users have all-you-can-message > plans, so you can't assume you can send SMSes to the device with impunity. > > > So what are some other options? > > Invent a new phone signaling standard, beyond GSM. > > Or settle for an Internet-based polling system. Eventually, if somebody > changes the SMS-handling behavior in the core OS, you might implement a > two-tier solution, going with SMS messages to your app for users who > request it, and falling back to polling otherwise. > > > Or do we have > > > to wait for Google to change their minds and let us clear sms > > notifications (with appropriate permissions of course)? > > Won't help you on the SMS message fee issue. > > > P.S. By not giving devs the > > ability to push notifications to our apps from the internet, you've > > seriously gimped our ability to design lots of killer apps and thereby > > boost the popularity of android. > > With respect to beefing up the messaging subsystem to support > messages-for-apps in additional to regular text messages, that could be > addressed by the community, not necessarily Google. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---