From: Steve H. <st...@we...> - 2013-02-13 23:30:57
|
Hi All, I'm just experimenting with XMLVM to get a feel for the development process as it pertains to iOS apps. After looking a little bit through the code it seems like the xmlvm compatibility library doesn't include the ability to use a Nib file for the UI. Is this correct? My next step is to just use a native method to handle this, but if there is an easier way, please let me know. Steve |
From: Kensuke M. <mat...@ki...> - 2013-02-14 05:50:16
|
Hi, If .xib is OK, there is --skeleton=iphone-hybrid option. -- mat...@ki... 松崎 憲介 (MATSUZAKI Kensuke) URL : http://www.kitec.co.jp/ |
From: Steve H. <st...@we...> - 2013-02-14 20:50:52
|
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) > URL : http://www.kitec.co.jp/ > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users -- Steve Hannah Web Lite Solutions Corp. |
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) |
From: Steve H. <st...@we...> - 2013-02-20 20:42:56
|
Thanks for the example. The iphone-hybrid skeleton doesn't seem to be working in the latest SVN trunk (or in any version that I have tried). It gives me an error saying ".classpath" file cannot be found. If I create a dummy one and place it in the iphone-hybrid templates directory, it will build the project, but won't create most of the resources (no src directories etc...). It would be really nice to be able to just generate all of the sources for my business logic and be able to easily include them in an existing Xcode project. So far I haven't had much luck with this as manually adding the dependencies (GC, etc..) has been painful. Perhaps it is just inexperience with Xcode. The only thing that I have been able to get partially working is to generate a project using the iphone skeleton, then modify the build files to remove the entry points of the app and include my own objective-c classes. I would be interested in hearing any solutions that anyone has come up with for developing business logic in Java/XMLVM and using Xcode for the GUI. Steve On Thu, Feb 14, 2013 at 7:26 PM, Kensuke Matsuzaki <mat...@ki...> wrote: > 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) -- Steve Hannah Web Lite Solutions Corp. |