I haven't change nothing. It is my first deploy. Now i'm using BLIP_SUBMITTED event and it works well.
Can you give me a complete example with DOCUMENT_CHANGED event? Thanks 2009/11/30 pamela (Google Employee) <[email protected]> > You should try changing the version number in your capabilities.xml, to let > the Wave server know that it should re-fetch your new capabilities. > > - pamela > > > On Sun, Nov 29, 2009 at 9:03 PM, Alessio Grumiro <[email protected]>wrote: > >> Yes, follow is my capalities.xml >> >> <?xml version="1.0" encoding="utf-8"?> >> <w:robot xmlns:w="http://wave.google.com/extensions/robots/1.0"> >> <w:capabilities> >> <w:capability name="DOCUMENT_CHANGED" content="true" /> >> <w:capability name="WAVELET_PARTICIPANTS_CHANGED" content="true" /> >> </w:capabilities> >> <w:version>1</w:version> >> </w:robot> >> >> 2009/11/29 hvt_kg <[email protected]> >> >> Hey Premier, >>> >>> Have you add event into capabilities.xml files, also version before >>> deploy robot ? >>> >>> thanks >>> Alex, >>> >>> On Nov 28, 8:20 pm, Premier <[email protected]> wrote: >>> > Hello, >>> > i'm building my first wave robot. I want to detect each character >>> > typed by user in realtime, to translate and suggests translations. >>> > I used DOCUMENT_CHANGED capability, and follow code in my java class >>> > for (Event e : bundle.getEvents()) { >>> > if (e.getType() == EventType.DOCUMENT_CHANGED) >>> { >>> > Blip blip = wavelet.appendBlip(); >>> > TextView textView = blip.getDocument(); >>> > textView.append("WaveAC has intercepted >>> DOCUMENT_CHANGED"); >>> > } >>> > } >>> > >>> > So, after created new wave and added my robot, it continually adds >>> > blip with "WaveAC has intercepted DOCUMENT_CHANGED" message. >>> > >>> > Is DOCUMENT_CHANGED designed for detecting keyup event in blip? >>> > >>> > Thanks >>> >>> -- >>> >>> 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]<google-wave-api%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-wave-api?hl=en. >>> >>> >>> >> -- >> 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]<google-wave-api%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-wave-api?hl=en. >> > > -- > 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]<google-wave-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > -- 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.
