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]. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
