From: Kensuke M. <mat...@ki...> - 2013-02-15 03:26:40
|
I write platform independent code in Java, and UI related code in obj-c like this. https://github.com/k-matsuzaki/xmlvm-aobench This just calls java from c by xmlvm name mangling. > aoRender = __NEW_org_xmlvm_demo_aobench_AO(); > org_xmlvm_demo_aobench_AO___INIT____int_int(aoRender, imageWidth, imageHeight); I'm sorry, I don't know well how to go with org.xmlvm.iphone.* or org.xmlvm.ios.* On 2013/02/15 5:50, Steve Hannah wrote: > Thanks for the tip. How are you handling outlets and actions with the > .xib file? E.g. If I have a button in the .xib file and I want a > click to be handled by Java code. I know I could break out a native > method and implement a view controller in Objective-C, but I'm curious > if there is a way to do it with the org.xmlvm.iphone.* Java classes. > > -Steve > > On Wed, Feb 13, 2013 at 9:32 PM, Kensuke Matsuzaki > <mat...@ki...> wrote: >> Hi, >> >> If .xib is OK, there is --skeleton=iphone-hybrid option. -- mat...@ki... 松崎 憲介 (MATSUZAKI Kensuke) |