Hello everyone, I'm having troubles with Wave in a Box and Android, and i'd like to ask some questions.
In order to develop a proof of concept client i started by building a small API out of the wave-protocol source tree (using wiab code from hg repository taken 2010/11/08) and i've created a new android project in eclipse, which contains a single class that implements WaveletOperationlistener. When compiling the app in eclipse i get a lot of "warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)" errors. This seems not to be a problem as from various searches on the web. But when i try to run the application the phone reboots. No messages on eclipse debugger. no clues at all. Investigating on the InnerClasses errors resulted in a problem related to the dalvik vm not able to convert code not generated by java 1.5 (so, is this really a problem or not?) Taking out the API external jars one at a time has shown that the problematic jars are JLine and google inject. So i downloaded the source of JLine and recompiled it for 1.5. Warning gone. But google inject is still there with the warning. phone reboots. If i leave out the google inject dependency the client "works", meaning it doesn't crash and reboot, but gives a timeout exception while connecting the socket. (naturally i have a wave server running and chrome is able to talk to it) So now i'm stuck there. Should i change wave-protocol code to allow a longer timeout? Did anyone managed to get this to work on android? any advice or docs i should read? as a side note, the 0.2 version of the wave-protocol used to work and i'm able to connect, get waves and add/remove blips. so the problems seems to be related to the new communication method based on websockets. Anyone with previous experiences with websockets on android? thanks in advance Davide -- You received this message because you are subscribed to the Google Groups "Android Developers" 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/android-developers?hl=en

