C2DM Tutorial - Problem with TextView

40 views
Skip to first unread message

F481

unread,
Apr 19, 2012, 2:19:04 AM4/19/12
to vog...@googlegroups.com
Hi Guys,

first of all I have to say: Great C2DM tutorial Lars!
All works fine so far, but I encountered a problem.

When I send the first push message ("push message one") to my android emulator it shows me that message right in the textview, but when I now want to send a second message ("push message two") I see the first messege again in the textview.

After debugging I see that the payload what is logged to the console shows me the second message, but in the textview is still the old message.

Is there something like a cache I've to clear or how can i fix this problem?


Best regards,
F481

Lars Vogel

unread,
Apr 20, 2012, 5:40:42 AM4/20/12
to vog...@googlegroups.com
Hi,

which example of vogella.com are you using? Please provide a link to the part of the tutorial you have issues with.

Best regards, Lars



2012/4/19 F481 <fabi....@googlemail.com>

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/oT1YLK9vfB8J.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.




--
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter

F481

unread,
Apr 23, 2012, 2:16:55 AM4/23/12
to vog...@googlegroups.com
Hi,

I think this is the part of the tutorial: http://www.vogella.com/articles/AndroidCloudToDeviceMessaging/article.html#tutorial_serverapp


Am Freitag, 20. April 2012 11:40:42 UTC+2 schrieb vogella:
Hi,

which example of vogella.com are you using? Please provide a link to the part of the tutorial you have issues with.

Best regards, Lars



2012/4/19 F481 <fabi....@googlemail.com>
Hi Guys,

first of all I have to say: Great C2DM tutorial Lars!
All works fine so far, but I encountered a problem.

When I send the first push message ("push message one") to my android emulator it shows me that message right in the textview, but when I now want to send a second message ("push message two") I see the first messege again in the textview.

After debugging I see that the payload what is logged to the console shows me the second message, but in the textview is still the old message.

Is there something like a cache I've to clear or how can i fix this problem?


Best regards,
F481

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/oT1YLK9vfB8J.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/vogella?hl=en.

F481

unread,
Apr 24, 2012, 9:26:20 AM4/24/12
to vog...@googlegroups.com
That's the solution for the problem. Perhaps you have to update your tutorial or refer to the linked post?


Am Freitag, 20. April 2012 11:40:42 UTC+2 schrieb vogella:
Hi,

which example of vogella.com are you using? Please provide a link to the part of the tutorial you have issues with.

Best regards, Lars



2012/4/19 F481 <fabi....@googlemail.com>
Hi Guys,

first of all I have to say: Great C2DM tutorial Lars!
All works fine so far, but I encountered a problem.

When I send the first push message ("push message one") to my android emulator it shows me that message right in the textview, but when I now want to send a second message ("push message two") I see the first messege again in the textview.

After debugging I see that the payload what is logged to the console shows me the second message, but in the textview is still the old message.

Is there something like a cache I've to clear or how can i fix this problem?


Best regards,
F481

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/oT1YLK9vfB8J.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/vogella?hl=en.

Reply all
Reply to author
Forward
0 new messages