From: John C. <jc...@un...> - 2011-04-12 07:14:23
|
On Tue, Apr 12, 2011 at 12:03 AM, Arno Puder <ar...@pu...> wrote: > > The problem you are experiencing has to do with the fact that the Java > emulator does not handle labels with line breaks. > > When we began with the Java API for iOS, we also implemented the > behavior of the various widgets, which ended up being the Java emulator. > Note that this is a humongous task because you have to implement the > behavior of every iOS widget in Java. At some point we (the core team) > decided not to extend the Java emulator any further but focus our energy > on cross-compilation. If someone contributed patches to enhance this, we > would certainly be more than happy to add them to XMLVM. > OK, understood. Thanks, Arno! I will do what I can to help the project. I'm still intending to send you a patch for the HTML docs, but I still haven't figured out how to reliably convert an Android project to iPhone yet. > > On 4/11/11 11:42 PM, John Comeau wrote: >> The Java iPhone emulator that comes with xmlvm starts showing text in >> the middle (vertically) rather than top, and doesn't render linefeeds. >> See the difference between http://jc.unternet.net/blog/androidfail.png >> (with ant run-Android) and http://jc.unternet.net/blog/javafail.png >> (with ant run-Java); any ideas as to how to solve this? I tried >> changing my strings to "some string\r\n" but it didn't help the Java >> output, and it put a rectangular box at the end of the strings in the >> Android display. > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |