android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Cómo para conseguir actualizado c2dm inscripci

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Cómo para conseguir actualizado c2dm inscripción Id.
From: Studio LFP <studio.lfp@xxxxxxxxx>
Date: Sat, 29 Oct 2011 10:42:01 -0700 (PDT)
Delivery-date: Sat, 29 Oct 2011 13:42:20 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:date:from:reply-to:to:message-id:in-reply-to:references :subject:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=vbjcM/42o4gaxGBXfcs/NIMmbw+sUXYnlq8ic0xiUFQ=; b=GT4VcbskhWZM1+WEwWfmpdK6hVoEQudPfnToPx0aaynRzQAwPSYnOs9M8kh3EVo81K 8AoFi/AUlqiIvlQxVvNLPiaQuhpUlOT2oVu69A8w4O5aH+GMmijTQwR8Lhpa46pk6MZN JBva2IzoKTssBQzMGJvFYA4/NiyEHaLy6mqao=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CA+NuWmokaah0J-QgsOuG_GkYzD2W7DBYBF+XwSyZYFF_pxZmBw@mail.gmail.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <cd99855c-cc6f-43a0-a6fa-023e06d83b2c@l19g2000yqm.googlegroups.com> <CA+NuWmotVxjJswjKyxyPG4JKOj9+YOmTNQRZ1VdVHu6Erg=DyA@mail.gmail.com> <CA+NuWmpas3Hdh2KVCq1WQJQJzftn7tSQMcAzAUtqxwu06W4+vA@mail.gmail.com> <31850592.1244.1319813452865.JavaMail.geo-discussion-forums@yqan20> <CA+NuWmp53r08B=gKXLbHuzPG9FV-ZCj7uO34ROEt79--BsDkEw@mail.gmail.com> <23156986.1326.1319900721192.JavaMail.geo-discussion-forums@yqpp12> <CA+NuWmokaah0J-QgsOuG_GkYzD2W7DBYBF+XwSyZYFF_pxZmBw@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Aquello tendría que ser una respuesta correcta. Puedes querer *refresh vuestro *C2llave de DM en 
el dispositivo y entonces *refresh el *server con el actualizado uno. Puedes querer 
llamar el *unregister *intent en dispositivo primero con el siguiendo:

*http://código.*google.*com/*android/*c2*dm/índice.*html#*unregistering

Imaginaría que *unregistering un dispositivo sacaría todas las 
entradas  anteriores si hay más que una entrada. No soy seguro que puede haber 
más que un ID para un dispositivo para el mismo *app, pero vale probar el 
*unregister *intent para ver si podría ayudar claro arriba de vuestro asunto.

Estudio
de Steven *LFP
*http://www.studio-lfp.com


En sábado, octubre 29, 2011 11:46:21 SOY *UTC-5, *Manikandan *M escribió:
>
> *Hi Steven,
>
> Esto es la respuesta *i estoy consiguiendo del *c2*dm *server.
>
> *id=0:1319892812710374%3421*e3*b100000030
>
>
>
> *Thanks
> 
>
> *Manikandan En Sentado, *Oct 29, 2011 en 8:35 PM, Estudio *LFP <studi...@xxxxxxxxx> escribió:
>
>> Qué tipos de código de respuesta te son consiguiendo del *C2DM *server cuándo intentas enviar un mensaje a aquel ID de dispositivo específico? Te dejará sabe si 
>> hay cualesquier asuntos con vuestro ID de dispositivo actual.
>>
>>
>> Estudio
>> de Steven *LFP
>> *http://www.studio-lfp.com
>>
>>
>> En sábado, octubre 29, 2011 5:37:58 SOY *UTC-5, *Manikandan *M escribió:
>>
>>> *Hi Steven,
>>>
>>> *Thanks para la respuesta.
>>>
>>> Estoy utilizando *droid *x y *i soy incapaz de conseguir *c2*dm mensajes, la inscripción es 
>>> bien incluso *i también tiene respuesta *id del *c2*dm *server pero el mensaje no es 
>>> entregado al dispositivo. Trabaja para todos otros dispositivos.
>>>
>>>
>>> *Thanks
>>> 
>>>
>>> *Manikandan En *Fri, *Oct 28, 2011 en 8:20 PM, Estudio *LFP <stud...@xxxxxxxxx> escribió:
>>>
>>>>  no pienso el ID consigues para el dispositivo *expires.
>>>>
>>>> Si das el usuario la opción de *unregistering, entonces utilizarías 
>>>> la misma rutina de registro otra vez para conseguir un ID nuevo. Si el usuario *uninstalls la aplicación, 
>>>> él también *unregisters y necesitarías conseguir un ID nuevo si ellos 
>>>> *reinstalled. Si tampoco de #este dos pasa, creo no nunca tienes que 
>>>> *refresh el ID del dispositivo.
>>>>
>>>> Te es corriendo a un problema?
>>>>
>>>> Estudio
>>>> de Steven *LFP
>>>> *http://www.studio-lfp.com
>>>>
>>>>
>>>>
>>>> En viernes, octubre 28, 2011 9:33:05 SOY *UTC-5, *Manikandan *M escribió:
>>>>
>>>>> *Hi Todo,
>>>>>
>>>>> Cualesquier ideas.
>>>>>
>>>>>
>>>>> *Thanks
>>>>> 
>>>>>
>>>>>  *Manikandan En *Fri, *Oct 28, 2011 en 3:50 PM, *Manikandan *M <*c2d...@xxxxxxxxx>escribió:
>>>>>
>>>>>> *Hi Todo,
>>>>>>
>>>>>> Es que ninguno otra manera de hacer esto sin registrar en intervalo 
>>>>>> particular.
>>>>>>
>>>>>>
>>>>>> *Thanks
>>>>>> 
>>>>>>
>>>>>>
>>>>>> *Manikandan En *Fri, *Oct 28, 2011 en 2:52 PM, *Manikandan *M <*c2d...@xxxxxxxxx>escribió:
>>>>>>
>>>>>>> *Hi Todo,
>>>>>>>
>>>>>>> Cuando *i sabe *c2*dm inscripción *id *periodically *refreshed, qué hacer *i conseguir
>>>>>>> el *refreshed *c2*dm inscripción *id.
>>>>>>>
>>>>>>> Es *i quiere registrar otra vez en intervalo particular?
>>>>>>>
>>>>>>>
>>>>>>> *Thanks Anticipadamente
>>>>>>> *Manikandan.
>>>>>>>
>>>>>>> --
>>>>>>> Recibiste este mensaje porque eres *subscribed al *Google
>>>>>>> Grupos "*Android *Developers" grupo.
>>>>>>> A correo a este grupo, envía *email a andr...@xxxxxxxxxxxxxxxx
>>>>>>>
>>>>>>> A *unsubscribe de este grupo, envía *email a *android-desarrollar...@***googlegroup***s.*com
>>>>>>> 
>>>>>>>
>>>>>>> Para más opciones, visita este grupo en
>>>>>>> *http://grupos.*google.*com/**Grupo**/*android-*developers?*hl=*en<*http://Grupos.*google.*com/Grupo/*android-*developers?*hl=*en>
>>>>>>>
>>>>>>
>>>>>>
>>>>>  -- 
>>>> Recibiste este mensaje porque eres *subscribed al *Google
>>>> Grupos "*Android *Developers" grupo.
>>>> A correo a este grupo, envía *email a androi...@xxxxxxxxxxxxxxxx
>>>> A *unsubscribe de este grupo, envía *email a *android-desarrollar...@***googlegroups.*com
>>>> 
>>>> Para más opciones, visita este grupo en
>>>> *http://grupos.*google.*com/**Grupo/*android-*developers?*hl=*en<*http://Grupos.*google.*com/Grupo/*android-*developers?*hl=*en>
>>>>
>>>
>>>  -- 
>> Recibiste este mensaje porque eres *subscribed al *Google
>> Grupos "*Android *Developers" grupo.
>> A correo a este grupo, envía *email a *android-d...@xxxxxxxxxxxxxxxx
>> A *unsubscribe de este grupo, envía *email a *android-develop...@xxxxxxxxxxxxxxxx
>> 
>> Puesto que más opciones, visita este grupo en
>> *http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
>>
>
>

-- 
Recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
That should be a correct response. You may want to refresh your C2DM key on 
the device and then refresh the server with the updated one. You may want 
to call the unregister intent on device first with the following:

http://code.google.com/android/c2dm/index.html#unregistering

I would figure that unregistering a device would remove all previous 
entries if there is more than one entry. I'm not sure that there can be 
more than one ID for a device for the same app, but it is worth trying the 
unregister intent to see if it might help clear up your issue.

Steven
Studio LFP
http://www.studio-lfp.com


On Saturday, October 29, 2011 11:46:21 AM UTC-5, Manikandan M wrote:
>
> Hi Steven,
>
> This is the response i am getting from the c2dm server.
>
> id=0:1319892812710374%3421e3b100000030
>
>
>
> Thanks
> Manikandan
>
> On Sat, Oct 29, 2011 at 8:35 PM, Studio LFP <studi...@xxxxxxxxx> wrote:
>
>> What type of response code are you getting from the C2DM server when you 
>> try to send a message to that specific device ID? It will let you know if 
>> there is any issues with your current device ID.
>>
>>
>> Steven
>> Studio LFP
>> http://www.studio-lfp.com
>>
>>
>> On Saturday, October 29, 2011 5:37:58 AM UTC-5, Manikandan M wrote:
>>
>>> Hi Steven,
>>>
>>> Thanks for the reply.
>>>
>>> I am using droid x and i am unable to get c2dm messages, registration is 
>>> fine even i also have response id from the c2dm server but message is not 
>>> delivered to the device. It works for all other devices.
>>>
>>>
>>> Thanks
>>> Manikandan
>>>
>>> On Fri, Oct 28, 2011 at 8:20 PM, Studio LFP <stud...@xxxxxxxxx> wrote:
>>>
>>>>  I don't think the ID you get for the device expires.
>>>>
>>>> If you give the user the option of unregistering, then you would use 
>>>> the same register routine again to get a new ID. If the user uninstalls the 
>>>> application, it also unregisters and you would need to get a new ID if they 
>>>> reinstalled. If neither of these two happen, I believe you don't ever have 
>>>> to refresh the ID of the device.
>>>>
>>>> Are you running into a problem?
>>>>
>>>> Steven
>>>> Studio LFP
>>>> http://www.studio-lfp.com
>>>>
>>>>
>>>>
>>>> On Friday, October 28, 2011 9:33:05 AM UTC-5, Manikandan M wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Any ideas.
>>>>>
>>>>>
>>>>> Thanks
>>>>> Manikandan
>>>>>
>>>>>  On Fri, Oct 28, 2011 at 3:50 PM, Manikandan M <c2d...@xxxxxxxxx>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> Is that any other way to do this without registering at particular 
>>>>>> interval.
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> Manikandan
>>>>>>
>>>>>>
>>>>>> On Fri, Oct 28, 2011 at 2:52 PM, Manikandan M <c2d...@xxxxxxxxx>wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> As i know c2dm registration id periodically refreshed, how do i get
>>>>>>> the refreshed c2dm registration id.
>>>>>>>
>>>>>>> Is i want to register again at particular interval?
>>>>>>>
>>>>>>>
>>>>>>> Thanks in Advance
>>>>>>> Manikandan.
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Android Developers" group.
>>>>>>> To post to this group, send email to andr...@xxxxxxxxxxxxxxxx
>>>>>>>
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> android-develop...@**googlegroup**s.com
>>>>>>>
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/**group**/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>>>>>
>>>>>>
>>>>>>
>>>>>  -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to androi...@xxxxxxxxxxxxxxxx
>>>> To unsubscribe from this group, send email to
>>>> android-develop...@**googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-d...@xxxxxxxxxxxxxxxx
>> To unsubscribe from this group, send email to
>> android-develop...@xxxxxxxxxxxxxxxx
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>

-- 
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
<Anterior por Tema] Tema Actual [Siguiente por Tema>