Well, just to recap:

You know that android is not supposed to keep an idle connection open for
an extended period.
Also you have declined the option to  use of a heartbeat to keep the
connection open.

You also know that GCM (C2DM) have a way of keeping in touch.

At this point the main(only?) route to pursue is to look over the GCM libs
from google and see how they do it.

Best regards,
Fred

On 17 December 2012 16:49, Goncalo Oliveira <[email protected]> wrote:

> 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 <[email protected]> wrote:
>
>> On Mon, Dec 17, 2012 at 11:37 AM, Fred Niggle
>> <[email protected]> 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 [email protected]
>> 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
>>
>
>
>
> --
> 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 [email protected]
> 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
>



-- 
Sent from an Ubuntu Desktop.

Ubuntu Speech 
input<https://play.google.com/store/apps/details?id=com.nds.ubuntuspeechinput>is
now available on Google Play, along with Magnetic
Door Alarm 
app<https://play.google.com/store/apps/details?id=com.nds.magneticdooralarm>
.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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

Reply via email to