Hi,
Maybe you are not using the correct event.
To edit the last created blip, you can use something like this:
for (Event e : bundle.getEvents()) {
if (e.getType() == EventType.BLIP_SUBMITTED) {
Blip rootBlip = e.getBlip();
}
}
Do not forget to add the event in "capabilities.xml"
On Dec 12, 7:03 am, Eyal <[email protected]> wrote:
> Hi,
> I'm trying to get and edit all the newly created blips using the
> WAVELET_BLIP_CREATED event but instead I get the root blip,
> any ideas?
>
> my code:
> for (Event e: bundle.getEvents()) {
> if (e.getType() == EventType.WAVELET_BLIP_CREATED) {
> Blip blip = e.getBlip();
> TextView doc = blip.getDocument();
> doc.append(doc.getText());
> }
>
>
>
> }
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" 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/google-wave-api?hl=en.