Fred,

I do understand that this is not a "standard" for most android apps.
Therefore, there are a number of scenarios, like Mark pointed out. In this
case, the connection is also used for data pushing. Polling would be much
simpler, but it does not fit the required scenario.

On 17 December 2012 16:43, Mark Murphy <mmur...@commonsware.com> wrote:

> On Mon, Dec 17, 2012 at 11:37 AM, Fred Niggle
> <fred.nig...@googlemail.com> wrote:
> > I am wondering why you are trying to maintain an idle connection?
>
> You would do this for any sort of push delivery from the server:
> standard push notifications, VOIP for incoming calls, etc.
>
> So, for example, C2DM used to have this sort of heartbeat logic, and I
> presume GCM does too.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Aqui estão alguns sites onde você pode perguntar ou responder dúvidas
> sobre desenvolvimento de aplicações para Android:
> http://www.andglobe.com
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Gonçalo Oliveira

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to