You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(29) |
Aug
(75) |
Sep
(32) |
Oct
(147) |
Nov
(31) |
Dec
(49) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(46) |
Feb
(35) |
Mar
(148) |
Apr
(33) |
May
(53) |
Jun
(46) |
Jul
(60) |
Aug
(44) |
Sep
(135) |
Oct
(23) |
Nov
(68) |
Dec
(42) |
2011 |
Jan
(94) |
Feb
(55) |
Mar
(114) |
Apr
(78) |
May
(64) |
Jun
(10) |
Jul
(31) |
Aug
(2) |
Sep
(25) |
Oct
(13) |
Nov
(8) |
Dec
(24) |
2012 |
Jan
(5) |
Feb
(33) |
Mar
(31) |
Apr
(19) |
May
(24) |
Jun
(23) |
Jul
(14) |
Aug
(15) |
Sep
(12) |
Oct
(3) |
Nov
(4) |
Dec
(19) |
2013 |
Jan
(8) |
Feb
(20) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(4) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Björn C. <bj...@ca...> - 2010-01-14 17:53:37
|
Hi! I have been working on a JavaME library for XMLVM. Unfotunatly it is only half baked and it is not in a state where it could be shared with others. If you are looking for something that is ready to use I have nothing to offer you but if you are interesed in developing a JavaME library we might find some ways to work together. /Björn Ангел Мандраджийски skrev 2010-01-14 08:58: > > Hello, best regards for your work from me Angel Ivanov, Bulgaria. > > I want to ask you one question. So, can I use XMLVM to cross-compile > J2ME applications and install them in iPhone? > > Thank you. > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Gergely K. <ger...@ma...> - 2010-01-14 12:50:43
|
Hi, Another solution is J2AB (http://trac.assembla.com/j2ab). It has a very liberal (public domain) license, altough it is by no means complete. We use a heavily trimmed down version of it in one project (we only needed the Canvas). Best Regards, Gergely 2010/1/14 Panayotis Katsaloulis <pan...@pa...> > > On 14 Ιαν 2010, at 11:03 ΠΜ, Sascha Haeberling wrote: > > Hi Angel, > > right now you would not be able to use XMLVM in order to run your > application on the iPhone. > > In order to make your app available on the iPhone, two things need to > happen: The code must be cross-compiled, and a compatibility library must be > present, so that all the J2ME libraries you use are available on the iPhone. > > The cross-compilation part shouldn't be a big problem right now with XMLVM, > but we don't have any J2ME compatibility library. We also also not planning > to support J2ME anytime soon, unless somebody from the community is > interested in creating a compatibility library for it. > > // Sascha > > 2010/1/14 Ангел Мандраджийски <ang...@si...> > >> Hello, best regards for your work from me Angel Ivanov, Bulgaria. >> >> I want to ask you one question. So, can I use XMLVM to cross-compile J2ME >> applications and install them in iPhone? >> >> Thank you. >> > > I think there was a discussion some time ago about microemulator > http://www.microemu.org/ > > -- Kis Gergely MattaKis Consulting Email: ger...@ma... Web: http://www.mattakis.com Phone: +36 70 408 1723 |
From: Panayotis K. <pan...@pa...> - 2010-01-14 09:37:36
|
On 14 Ιαν 2010, at 11:03 ΠΜ, Sascha Haeberling wrote: > Hi Angel, > > right now you would not be able to use XMLVM in order to run your > application on the iPhone. > > In order to make your app available on the iPhone, two things need > to happen: The code must be cross-compiled, and a compatibility > library must be present, so that all the J2ME libraries you use are > available on the iPhone. > > The cross-compilation part shouldn't be a big problem right now with > XMLVM, but we don't have any J2ME compatibility library. We also > also not planning to support J2ME anytime soon, unless somebody from > the community is interested in creating a compatibility library for > it. > > // Sascha > > 2010/1/14 Ангел Мандраджийски > <ang...@si...> > Hello, best regards for your work from me Angel Ivanov, Bulgaria. > > I want to ask you one question. So, can I use XMLVM to cross-compile > J2ME applications and install them in iPhone? > > Thank you. > I think there was a discussion some time ago about microemulator http://www.microemu.org/ |
From: Sascha H. <sa...@xm...> - 2010-01-14 09:03:42
|
Hi Angel, right now you would not be able to use XMLVM in order to run your application on the iPhone. In order to make your app available on the iPhone, two things need to happen: The code must be cross-compiled, and a compatibility library must be present, so that all the J2ME libraries you use are available on the iPhone. The cross-compilation part shouldn't be a big problem right now with XMLVM, but we don't have any J2ME compatibility library. We also also not planning to support J2ME anytime soon, unless somebody from the community is interested in creating a compatibility library for it. // Sascha 2010/1/14 Ангел Мандраджийски <ang...@si...> > Hello, best regards for your work from me Angel Ivanov, Bulgaria. > > I want to ask you one question. So, can I use XMLVM to cross-compile J2ME > applications and install them in iPhone? > > Thank you. > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Ангел М. <ang...@si...> - 2010-01-14 08:53:51
|
Hello, best regards for your work from me Angel Ivanov, Bulgaria. I want to ask you one question. So, can I use XMLVM to cross-compile J2ME applications and install them in iPhone? Thank you. |
From: Arno P. <ar...@pu...> - 2010-01-11 19:11:02
|
Guys, we have been busy adding a stack- to register-machine conversion to the XMLVM code generation backend. We make use of Android's DEX format to represent the register-based instruction set. This leads to more compact and more efficient Objective-C code. The current HEAD of XMLVM Subversion repository has the new register-based backend enabled by default. All of XMLVM's demos work but it might be possible that it breaks for one of your applications. Please report any problems on the mailing list. You can still enable the old stack-based code generation by adding --use-jvm to the command line options. If we don't hear any complaints, this option will go away in a few weeks and the register-based backend will be the only one. As we already discussed in an earlier message on this list, the register-based code generation has not changed the name mangling. I.e., all the hand-written Objective-C code does not need to be changed. Enjoy! Arno |
From: Christian M. <c.m...@we...> - 2010-01-11 18:25:38
|
Hello, i'm trying to add an UIPickerView-Item to my iPhoneApp. This works but i cant see any data in it. I saw a tutorial-video and implemented the necessary Methods and Interfaces but nothing happend. It doesn't work and I really don't know why. Can anybody help me please? Here is my code: ------------------------------------ UIPickerView picker = new UIPickerView(); widthFrame = picker.getBounds().size.width = 250; CGRect framePicker = new CGRect(horizontalAlignment(bounds.size.width, widthFrame),200,widthFrame,250); picker.setFrame(framePicker); //horizontalAlignment() is a self written Method picker.setDelegate(new UIPickerViewDelegate() { @Override public String titleForRow(UIPickerView view, int row, int component) { return s[row]; } }); picker.setDataSource(new UIPickerViewDataSource() { @Override public int numberOfComponentsInPickerView(UIPickerView view) { return 1; } @Override public int numberOfRowsInComponent(UIPickerView view, int component) { return s.length; } }); picker.selectRow(1, 0, false); picker.rowSizeForComponent(4); ViewNewReport.addSubview(picker); } static String s[] = new String[3]; @Override public void viewDidLoad() { super.viewDidLoad(); s[0] = "One"; s[1] = "Two"; s[2] = "Three"; } Thank you, Christian Mansch ______________________________________________________ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de |
From: Christian M. <c.m...@we...> - 2010-01-11 17:17:05
|
Hello, i followed the instructions to subscribe to the mailing-list. it says i have to write down my email-adress and so here it is: c.m...@we... Thank you, Christian ______________________________________________________ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de |
From: Tom F. <ant...@gm...> - 2010-01-01 00:56:19
|
I've begun work on extending the C++ backend to support a 3rd party library and a bit of the stl (with more to come hopefully). I'm still wrapping my head around the xmlvm style of doing things and I've come to a bit of a roadblock. The library I'm porting uses pointers to classes extensively. Right now I'm unable to use, for example, a function that returns a pointer to a class: MyClass *mc = getMyClass(); Actually returning the class works fine but if I do it like this the generated code is an XMLVM::Object_Ptr<java::lang::Object> not a MyClass pointer. I've poked around the objc iPhone stuff to see if I could find out how to do this and I see things like this: _op1.o = [((org_xmlvm_iphone_UIScreen*) _stack[_sp].o) applicationFrame]; where _op1 is an XMLVMElem that's being treated as an id. It seems like I could do something similar with pointers in C++ but I'm not sure where to go to implement this. Hopefully I've made some sense - any push is the right direction is greatly appreciated. Thanks, Tom |
From: Tom F. <ant...@gm...> - 2010-01-01 00:39:04
|
Is the 'correct' solution to have every class extend java::lang::Object? I was trying to avoid that as the library is rather large and it would be nice to not have to modify it but it's looking like that's the route I'm supposed to take? On Thu, Dec 31, 2009 at 7:27 PM, Tom Fairfield <ant...@gm...> wrote: > I've begun work on extending the C++ backend to support a 3rd party library > and a bit of the stl (with more to come hopefully). I'm still wrapping my > head around the xmlvm style of doing things and I've come to a bit of a > roadblock. The library I'm porting uses pointers to classes extensively. > Right now I'm unable to use, for example, a function that returns a pointer > to a class: > > MyClass *mc = getMyClass(); > > Actually returning the class works fine but if I do it like this the > generated code is an XMLVM::Object_Ptr<java::lang::Object> not a MyClass > pointer. > > I've poked around the objc iPhone stuff to see if I could find out how to > do this and I see things like this: > > _op1.o = [((org_xmlvm_iphone_UIScreen*) _stack[_sp].o) > applicationFrame]; > > where _op1 is an XMLVMElem that's being treated as an id. It seems like I > could do something similar with pointers in C++ but I'm not sure where to go > to implement this. Hopefully I've made some sense - any push is the right > direction is greatly appreciated. Thanks, > > Tom > |
From: Nabil L. <nl...@ua...> - 2009-12-23 18:32:25
|
Hello team, I am trying to run org.xmlvm.iphone.internal.AppletSimulator as an Applet in eclipse, but I am getting the following error: Unable to load image with name battery.png Unable to load image with name wifi.png java.lang.NullPointerException at org.xmlvm.iphone.internal.StatusBar.addBatteryIcon(StatusBar.java:58) at org.xmlvm.iphone.internal.StatusBar.<init>(StatusBar.java:37) at org.xmlvm.iphone.internal.Device.addStatusBar(Device.java:95) at org.xmlvm.iphone.internal.Device.<init>(Device.java:52) at org.xmlvm.iphone.internal.SimulatorGUI.addDevice(SimulatorGUI.java:36) at org.xmlvm.iphone.internal.SimulatorGUI.<init>(SimulatorGUI.java:27) at org.xmlvm.iphone.internal.SimulatorApplet.getJContentPane(SimulatorApplet.java:44) at org.xmlvm.iphone.internal.SimulatorApplet.init(SimulatorApplet.java:27) at sun.applet.AppletPanel.run(AppletPanel.java:424) at java.lang.Thread.run(Thread.java:619) Any clues? (I tried feeding the full path of the .png files, but I get the same exact error!) Thanks, N.L. |
From: Dr. A. K. S. <al...@se...> - 2009-12-22 14:24:46
|
Hi all, I've taken a normal MacOS DVD and tried to install this on my webserver which has Intel Xeons, but found out that the BIOS disabled the VT capability... so currently I cannot install MacOS there - reboot is out of the question for at least another month. It turns out that I have no other non-AMD machine which is compatible at present. Would one of you be willing to test my code? Someone who either has - highest preference first - * an VMWare with MacOS and iPhone Dev Kit (preferably 3.1.4) on an _Intel_ processor (Note: the main processor is not emulated by VMWare, so yes - it makes a difference vs. AMD) * an Intel Mac with iPhone Dev Kit * a real Mac with iPhone Development Kit ... and can compile the app, run it on the iPhone simulator and tell whether or not it crashes the machine when clicking on "validate" button? (IMHO it should not even crash the emulator..) I just want to know whether my problems are due to my rather unique system configuration, or whether this is a bug in xmlvm after all. Please answer by eMail, I'll send the code via eMail as well (don't want it to be stored in public repositories... ;-). It's been converted with todays rev. 748 - still the same problem as described previously. If it's really an xmlvm problem, I'll cut it down to the shortest code which still has the problem and post it on the list. Best, Alex -- Dr. Alexander K. Seewald Seewald Solutions www.seewald.at Tel. +43(664)1106886 Fax. +43(1)2533033/2764 |
From: Nabil L. <nl...@ua...> - 2009-12-21 16:52:27
|
Thank you Sascha, About the third question: I have already compiled everything through Ant and gotten all demos to work perfectly! So, that is not an issue. The reason why I was asking about the applet is that I want to showcase my own developed apps on my website, and before I do so, I wanted to test it on an already working applet so I can use it as a model. Also, I don't think the error is coming from the different lines. I changed it to one line only and I sill get the same error: "load: org.xmlvm.iphone.internal.SimulatorApplet.class not found." thanks, N. L. ________________________________________ From: sa...@gm... [sa...@gm...] On Behalf Of Sascha Haeberling [sa...@xm...] Sent: Monday, December 21, 2009 3:40 AM To: Nabil Lehlou Cc: xml...@li... Subject: Re: [xmlvm-users] Xokoban and js vs. objc Hi Nabil, see answers below On Mon, Dec 21, 2009 at 1:17 AM, Nabil Lehlou <nl...@ua...<mailto:nl...@ua...>> wrote: Hello XMLVM community, First, can anybody tell me what is the original association of Xokoban. Is it with the iphone or Android? what do you mean by 'association'? We are not directly associated with any of these. Also, I noticed that in the online demo http://xmlvm.org/android/demo/, the game is running as an applet. Is it possible to run it as a pure javascript (just like Fireworks)? If yes, how is that done? The applet is just a way for us to demo our Java-based emulator. It is possible to cross-compile and run this game as pure JavaScript, but we are still working on this right now. In fact, we are trying to make it run on Palm's WebOS. Finally, why is my local .html file not working (see below)? And what is the function of the “appl” and “androidClassName” tags? I guess the reason for why it doesn't work is because the value of your archive="...." is spanning multiple lines. But on the other hand, I wouldn't recommend using the applet anyway. Again, this is just a way for us to demo our emulator on our webpage. If you want to run Xokoban inside the emulator, then check out the XMLVM project, build it using ant. Then go into the following directory: cd dist/demo/android/xokoban/java and run: java -jar xokoban.jar // Sascha <html> <body> <applet code= "org.xmlvm.iphone.internal.SimulatorApplet.class" appl="org.xmlvm.iphone.internal.AndroidAppLauncher" androidClassName="org.xmlvm.demo.xokoban.Xokoban" width="883" height="435" archive="C:/eclipseWorkplace/xmlvm/dist/demo/android/xokoban/java/xokoban.jar, C:/eclipseWorkplace/xmlvm/dist/lib/objc-compat.jar, C:/eclipseWorkplace/xmlvm/dist/lib/android-compat.jar, C:/eclipseWorkplace/xmlvm/lib/lwjgl.jar "> </applet> </body> </html> Your help is greatly appreciated N.L. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ xmlvm-users mailing list xml...@li...<mailto:xml...@li...> https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Sascha H. <sa...@xm...> - 2009-12-21 09:41:31
|
Hi Nabil, see answers below On Mon, Dec 21, 2009 at 1:17 AM, Nabil Lehlou <nl...@ua...> wrote: > Hello XMLVM community, > > > > First, can anybody tell me what is the original association of Xokoban. Is > it with the iphone or Android? > > what do you mean by 'association'? We are not directly associated with any of these. > > > Also, I noticed that in the online demo http://xmlvm.org/android/demo/, > the game is running as an applet. Is it possible to run it as a pure > javascript (just like Fireworks)? If yes, how is that done? > The applet is just a way for us to demo our Java-based emulator. It is possible to cross-compile and run this game as pure JavaScript, but we are still working on this right now. In fact, we are trying to make it run on Palm's WebOS. > > > Finally, why is my local .html file not working (see below)? And what is > the function of the “appl” and “androidClassName” tags? > I guess the reason for why it doesn't work is because the value of your archive="...." is spanning multiple lines. But on the other hand, I wouldn't recommend using the applet anyway. Again, this is just a way for us to demo our emulator on our webpage. If you want to run Xokoban inside the emulator, then check out the XMLVM project, build it using ant. Then go into the following directory: cd dist/demo/android/xokoban/java and run: java -jar xokoban.jar // Sascha > > <html> > > <body> > > <applet code= > "org.xmlvm.iphone.internal.SimulatorApplet.class" > > > appl="org.xmlvm.iphone.internal.AndroidAppLauncher" > > > androidClassName="org.xmlvm.demo.xokoban.Xokoban" > > width="883" height="435" > > > archive="C:/eclipseWorkplace/xmlvm/dist/demo/android/xokoban/java/xokoban.jar, > > > C:/eclipseWorkplace/xmlvm/dist/lib/objc-compat.jar, > > > C:/eclipseWorkplace/xmlvm/dist/lib/android-compat.jar, > > C:/eclipseWorkplace/xmlvm/lib/lwjgl.jar "> > > </applet> > > </body> > > </html> > > > > Your help is greatly appreciated > > > > N.L. > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Nabil L. <nl...@ua...> - 2009-12-21 03:17:23
|
Hello XMLVM community, First, can anybody tell me what is the original association of Xokoban. Is it with the iphone or Android? Also, I noticed that in the online demo http://xmlvm.org/android/demo/, the game is running as an applet. Is it possible to run it as a pure javascript (just like Fireworks)? If yes, how is that done? Finally, why is my local .html file not working (see below)? And what is the function of the "appl" and "androidClassName" tags? <html> <body> <applet code= "org.xmlvm.iphone.internal.SimulatorApplet.class" appl="org.xmlvm.iphone.internal.AndroidAppLauncher" androidClassName="org.xmlvm.demo.xokoban.Xokoban" width="883" height="435" archive="C:/eclipseWorkplace/xmlvm/dist/demo/android/xokoban/java/xokoban.ja r, C:/eclipseWorkplace/xmlvm/dist/lib/objc-compat.jar, C:/eclipseWorkplace/xmlvm/dist/lib/android-compat.jar, C:/eclipseWorkplace/xmlvm/lib/lwjgl.jar "> </applet> </body> </html> Your help is greatly appreciated N.L. |
From: Arno P. <ar...@pu...> - 2009-12-18 21:48:22
|
XMLVM has some basic support for asynchronous HTTP requests. In fact, one of XMLVM's own applications makes use of it: iRemote. You can find the source code of iRemote in xmlvm/demo/iphone/iremote/src (marked as an Eclipse source folder if you check out the project using Eclipse). There is an Eclipse launch configuration called "XMLVM - iRemote". When you compile XMLVM using the provided ant script, you can find the cross-compiled version in xmlvm/dist/demo/iphone/iremote/iphone Arno On 12/18/09 10:30 PM, Nitin Sawant wrote: > hi, > is it possible to develop iphone application using java which connects > to website and posts data to website? > how? > > i want to develop using java, > plese send me java class/package documentation xmlvm (if any) > > regards, > Nitin Sawant > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Nitin S. <nit...@gm...> - 2009-12-18 21:31:20
|
hi, is it possible to develop iphone application using java which connects to website and posts data to website? how? i want to develop using java, plese send me java class/package documentation xmlvm (if any) regards, Nitin Sawant |
From: Dr. A. K. S. <al...@se...> - 2009-12-16 19:41:33
|
Hi Arno, Thanks for implementing the missing opcodes. I've tracked down the two remaining pop2 opcodes and changed the source to remove them. BTW could you add a log statement in ObjectiveCOutputProcess.java? (e.g. at line #85: Log.debug("Processing class "+namespaceName+"."+className); ) It took me quite a while to find out at least the source code file where the pop2 opcodes comes from. Then it was quite easy to find. Sadly, although there are no missing opcodes now, the same code still crashes the machine. It _might_ be an AMD incompatibility, but setting up an Intel VMWare to test this is quite tricky... Best, Alex -- Dr. Alexander K. Seewald Seewald Solutions www.seewald.at Tel. +43(664)1106886 Fax. +43(1)2533033/2764 |
From: Sascha H. <sa...@xm...> - 2009-12-16 17:04:41
|
On Wed, Dec 16, 2009 at 4:44 PM, Arno Puder <ar...@pu...> wrote: > > > On 12/16/09 4:19 PM, Gergely Kis wrote: > > Actually XMLVM already makes a distinction in the code between the > > different types, because you generate the following code: > > _st[_sp++].i - for integers > > _st[_sp++].d - for double > > ... etc. > > The only problem is that in C, you cannot inspect at runtime what is > > stored in a union. > > One idea would be to make a small change in XMLVMElem to also allow the > > storage of the type that was stored in it, and change the generated code > > to something like this: > > > > _st[_sp++].type = 'i'; _st[_sp].i = ...; > > The JVM usually only allocated 32-bits per stack element to save space. > sizeof(XMLVMElem) is 64 bits, that is the core of the problem. Keeping > type information at runtime or doing an offline data flow analysis would > be solutions to this problem. However, both are pretty complex and since > we plan to switch to a register-based machine in the near, mid-term > future it would be unnecessary work. As I pointed out in my previous > post, there is an easy way to avoid the pop2 instruction. > > > Do you have more information regarding the register machine conversion > > that you are doing? Do you have a timeframe? Will it change the > > interface between the hand-written objc code and the generated code? > > Do you use the DEX model which I mentioned earlier, or are you inventing > > something else? > > We make use of the DEX compiler. As a matter of fact, you can already > see dx.jar in our repository and a DEX output process. Sascha is working > on this so I let him talk about timeframe. :-) > > The very important fact is that the name-mangling *will not* change, so > the hand-written code will not need to be changed. > So I think I am quite far already on creating the register-based XML and the next big steps are creating the stylesheets for converting it to code. I plan to start with JavaScript, because speed is more of an issue here than with Objective-C. I will work heavily on this throughout the next 2-3 weeks so expect a lot progress on this. I will update the mailing list as soon as something is actually usable and finished. And as Arno already pointed out, the class structure and method names won't change, so no worries here. // Sascha > Arno > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Arno P. <ar...@pu...> - 2009-12-16 15:44:31
|
On 12/16/09 4:19 PM, Gergely Kis wrote: > Actually XMLVM already makes a distinction in the code between the > different types, because you generate the following code: > _st[_sp++].i - for integers > _st[_sp++].d - for double > ... etc. > The only problem is that in C, you cannot inspect at runtime what is > stored in a union. > One idea would be to make a small change in XMLVMElem to also allow the > storage of the type that was stored in it, and change the generated code > to something like this: > > _st[_sp++].type = 'i'; _st[_sp].i = ...; The JVM usually only allocated 32-bits per stack element to save space. sizeof(XMLVMElem) is 64 bits, that is the core of the problem. Keeping type information at runtime or doing an offline data flow analysis would be solutions to this problem. However, both are pretty complex and since we plan to switch to a register-based machine in the near, mid-term future it would be unnecessary work. As I pointed out in my previous post, there is an easy way to avoid the pop2 instruction. > Do you have more information regarding the register machine conversion > that you are doing? Do you have a timeframe? Will it change the > interface between the hand-written objc code and the generated code? > Do you use the DEX model which I mentioned earlier, or are you inventing > something else? We make use of the DEX compiler. As a matter of fact, you can already see dx.jar in our repository and a DEX output process. Sascha is working on this so I let him talk about timeframe. :-) The very important fact is that the name-mangling *will not* change, so the hand-written code will not need to be changed. Arno |
From: Gergely K. <ger...@ma...> - 2009-12-16 15:19:23
|
Hi, Actually XMLVM already makes a distinction in the code between the different types, because you generate the following code: _st[_sp++].i - for integers _st[_sp++].d - for double ... etc. The only problem is that in C, you cannot inspect at runtime what is stored in a union. One idea would be to make a small change in XMLVMElem to also allow the storage of the type that was stored in it, and change the generated code to something like this: _st[_sp++].type = 'i'; _st[_sp].i = ...; Then the pop2 implementation (and other opcodes that work similarly) can examine the contents of the stack, and act accordingly. Do you have more information regarding the register machine conversion that you are doing? Do you have a timeframe? Will it change the interface between the hand-written objc code and the generated code? Do you use the DEX model which I mentioned earlier, or are you inventing something else? Best Regards, Gergely 2009/12/16 Arno Puder <ar...@pu...> > > Sometimes the compiler will generate a pop2 byte code instruction. The > documentation says that it will remove either one long or double > element, or two integers (the spec refers to these as computational > types 1 and 2). In XMLVM, we have a union called XMLVMElem that > represents the union of all data types that can be pushed onto the > stack. The sizeof(XMLVMElem) therefore corresponds to a computational > type 2. This makes it difficult to implement pop2 since we need to know > if the top of the stack is of computational type 1 or 2. We don't do a > data flow analysis and therefore we don't know. As a consequence, we > cannot implement pop2. > > Here are two situations where the compiler can generate the pop2 > instruction: > > // Example 1 > long foo() { return 42; } > > void bar() { foo(); } > > Since bar() does not make use of the long return value, the compiler > will generate the pop2 instruction to clean up the stack. > > // Example 2 > int foo() { return 42; } > > void bar() { foo(); foo(); } > > Here a good-optimizing compiler will do one pop2 instruction after the > second call to foo(). > > We are currently working on a conversion from stack- to register-based > instructions which will also take care of this problem. What can you do > in the meantime to avoid the pop2-problem? Luckily the answer is simple: > assign the return value to a local variable: > > void bar() { long ret = foo(); } > > For good optimizing compilers it might notice the unused local variable > and might still generate the pop2 instruction. In this case make 'ret' > an instance variable. > > Arno > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > -- Kis Gergely MattaKis Consulting Email: ger...@ma... Web: http://www.mattakis.com Phone: +36 70 408 1723 |
From: Arno P. <ar...@pu...> - 2009-12-16 13:02:17
|
I had to remove the pop2 instruction again. Please read my post with the subject line 'pop2' for details. Arno On 12/16/09 9:42 AM, Dr. Alexander K. Seewald wrote: > That was not it, although it explains why I got "@string/..." button > labels. Still get the same problem with Rev. 710. > > I'll rebuild the whole setup for MacOS/VMware on an Intel machine - > it could be that small parts of Xcode use Intel-specific > (AMD-incompatible) opcodes. I find it suspicious that this > relatively simple code actually crashes the whole machine... will > keep you updated. > > I get the following notes during compilation (via javac): > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > ... and these when calling xmlvm: > > <jvm:land xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:lushr xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:lshl xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:pop2 xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:pop2 xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:i2s xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > > Also, the icon of my app is not shown although it is a PNG with > exactly the same dimensions as the one from sayhello which is > shown. Are there some specific requirements for PNGs? Is the icon > defined in a way that xmlvm understands? > > Best, > Alex > > > On Tue, Dec 15, 2009 at 04:42:34PM +0100, Wolfgang Korn wrote: >> Alex, >> >> One thing I noticed in your layout file: You make use of String >> resources. Unfortunately we currently do not support String resources. >> >> -- Wolfgang >> >> Sent from my iPhone >> >> On 15.12.2009, at 14:03, "Dr. Alexander K. Seewald"<al...@se...> >> wrote: >> >>> There is something very strange going on. I get a major error when >>> initializing a FileInputStream with any resource path (i.e. path >>> obtained by ... >>> String fileName = getFileNamePath(findResourceNameById(resourceId)); >>> String filePath = NSBundle.mainBundle().pathForResource >>> (fileName,"xml"); >>> - I've tested with activity.xml = my layout file and one raw >>> resource) >>> and then instantiating a new FileInputStream object. >>> >>> FileInputStream fis = new FileInputStream(filePath); >>> >>> If filePath does not exist, it gives a FileNotFound exception. If it >>> does exist (e.g. the activity.xml is obviously read during startup), >>> there is a major crash of the whole MacOS - not only the iPhone >>> emulator. >>> >>> I've noted that my icon is not shown as well, so perhaps there is a >>> problem with resources in general. However, my layout xml is pretty >>> basic: >>> >>> <?xml version="1.0" encoding="utf-8"?> >>> <LinearLayout >>> xmlns:android="http://schemas.android.com/apk/res/android" >>> android:layout_width="fill_parent" >>> android:layout_height="fill_parent" >>> android:orientation="vertical"> >>> >>> <TextView android:id="@+id/result" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content"> >>> </TextView> >>> >>> <Button android:id="@+id/livetest" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content" >>> android:text="@string/livetest" >>>> </Button> >>> >>> <Button android:id="@+id/back" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content" >>> android:text="@string/back" >>>> </Button> >>> >>> <Button android:id="@+id/validate" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content" >>> android:text="@string/validate" >>> android:enabled="true" >>>> </Button> >>> </LinearLayout> >>> >>> ... as well as the AndroidManifest.xml: >>> >>> <?xml version="1.0" encoding="utf-8"?> >>> <manifest xmlns:android="http://schemas.android.com/apk/res/android" >>> package="com.SeewaldSolutions.DanceMusicRecognizer" >>> android:versionCode="1" >>> android:versionName="1.0"> >>> <uses-sdk android:minSdkVersion="3" /> >>> <uses-permission >>> android:name="android.permission.RECORD_AUDIO"></uses-permission> >>> <uses-permission >>> android:name="android.permission.INTERNET"></uses-permission> >>> <application android:label="@string/dancing_guide_app" >>> android:icon="@drawable/launcher"> >>> <activity android:name="DanceMusicRecognizerActivity" >>> android:icon="@drawable/launcher" >>> android:configChanges="orientation"> >>> <intent-filter> >>> <action android:name="android.intent.action.MAIN" /> >>> <category >>> android:name="android.intent.category.LAUNCHER" /> >>> </intent-filter> >>> </activity> >>> </application> >>> </manifest> >>> >>> >>> I compile using ... >>> javac >>> android_src/src/com/SeewaldSolutions/DanceMusicRecognizer/*.java >>> android_src/gen/com/SeewaldSolutions/DanceMusicRecognizer/R.java -d >>> android_src_build -cp >>> xmlvm/dist/lib/objc-compat.jar:xmlvm/dist/lib/android-compat.jar >>> >>> ... and use xmlvm like this ... >>> >>> java -jar xmlvm/dist/xmlvm.jar --in=android_src_build >>> --out=DanceMusicRecognizer --target=android-on-iphone >>> --iphone-app=DanceMusicRecognizer --resource=android_src/res/layout >>> --resource=android_src/res/raw --resource=android_src/res/drawable >>> --resource=android_src/AndroidManifest.xml >>> >>> activity.xml (from layout directory) and the icons are copied to the >>> resource directory in target, but I still get @string/back and so on >>> as button text. I always got a crash when trying to access images as >>> well, and the icon does not work. Is there anything I am doing >>> wrong? >>> >>> Best, >>> Alex >>> -- >>> Dr. Alexander K. Seewald >>> >>> Seewald Solutions >>> www.seewald.at >>> Tel. +43(664)1106886 >>> Fax. +43(1)2533033/2764 >>> >>> --- >>> --- >>> --- >>> --------------------------------------------------------------------- >>> Return on Information: >>> Google Enterprise Search pays you back >>> Get the facts. >>> http://p.sf.net/sfu/google-dev2dev >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2009-12-16 13:01:27
|
Sometimes the compiler will generate a pop2 byte code instruction. The documentation says that it will remove either one long or double element, or two integers (the spec refers to these as computational types 1 and 2). In XMLVM, we have a union called XMLVMElem that represents the union of all data types that can be pushed onto the stack. The sizeof(XMLVMElem) therefore corresponds to a computational type 2. This makes it difficult to implement pop2 since we need to know if the top of the stack is of computational type 1 or 2. We don't do a data flow analysis and therefore we don't know. As a consequence, we cannot implement pop2. Here are two situations where the compiler can generate the pop2 instruction: // Example 1 long foo() { return 42; } void bar() { foo(); } Since bar() does not make use of the long return value, the compiler will generate the pop2 instruction to clean up the stack. // Example 2 int foo() { return 42; } void bar() { foo(); foo(); } Here a good-optimizing compiler will do one pop2 instruction after the second call to foo(). We are currently working on a conversion from stack- to register-based instructions which will also take care of this problem. What can you do in the meantime to avoid the pop2-problem? Luckily the answer is simple: assign the return value to a local variable: void bar() { long ret = foo(); } For good optimizing compilers it might notice the unused local variable and might still generate the pop2 instruction. In this case make 'ret' an instance variable. Arno |
From: Arno P. <ar...@pu...> - 2009-12-16 10:46:30
|
I just added support for the byte code instructions you are missing. The icon needs to be set in the Info.plist. Arno On 12/16/09 9:42 AM, Dr. Alexander K. Seewald wrote: > That was not it, although it explains why I got "@string/..." button > labels. Still get the same problem with Rev. 710. > > I'll rebuild the whole setup for MacOS/VMware on an Intel machine - > it could be that small parts of Xcode use Intel-specific > (AMD-incompatible) opcodes. I find it suspicious that this > relatively simple code actually crashes the whole machine... will > keep you updated. > > I get the following notes during compilation (via javac): > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > ... and these when calling xmlvm: > > <jvm:land xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:lushr xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:lshl xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:pop2 xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:pop2 xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > <jvm:i2s xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> > > Also, the icon of my app is not shown although it is a PNG with > exactly the same dimensions as the one from sayhello which is > shown. Are there some specific requirements for PNGs? Is the icon > defined in a way that xmlvm understands? > > Best, > Alex > > > On Tue, Dec 15, 2009 at 04:42:34PM +0100, Wolfgang Korn wrote: >> Alex, >> >> One thing I noticed in your layout file: You make use of String >> resources. Unfortunately we currently do not support String resources. >> >> -- Wolfgang >> >> Sent from my iPhone >> >> On 15.12.2009, at 14:03, "Dr. Alexander K. Seewald"<al...@se...> >> wrote: >> >>> There is something very strange going on. I get a major error when >>> initializing a FileInputStream with any resource path (i.e. path >>> obtained by ... >>> String fileName = getFileNamePath(findResourceNameById(resourceId)); >>> String filePath = NSBundle.mainBundle().pathForResource >>> (fileName,"xml"); >>> - I've tested with activity.xml = my layout file and one raw >>> resource) >>> and then instantiating a new FileInputStream object. >>> >>> FileInputStream fis = new FileInputStream(filePath); >>> >>> If filePath does not exist, it gives a FileNotFound exception. If it >>> does exist (e.g. the activity.xml is obviously read during startup), >>> there is a major crash of the whole MacOS - not only the iPhone >>> emulator. >>> >>> I've noted that my icon is not shown as well, so perhaps there is a >>> problem with resources in general. However, my layout xml is pretty >>> basic: >>> >>> <?xml version="1.0" encoding="utf-8"?> >>> <LinearLayout >>> xmlns:android="http://schemas.android.com/apk/res/android" >>> android:layout_width="fill_parent" >>> android:layout_height="fill_parent" >>> android:orientation="vertical"> >>> >>> <TextView android:id="@+id/result" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content"> >>> </TextView> >>> >>> <Button android:id="@+id/livetest" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content" >>> android:text="@string/livetest" >>>> </Button> >>> >>> <Button android:id="@+id/back" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content" >>> android:text="@string/back" >>>> </Button> >>> >>> <Button android:id="@+id/validate" >>> android:layout_width="wrap_content" >>> android:layout_height="wrap_content" >>> android:text="@string/validate" >>> android:enabled="true" >>>> </Button> >>> </LinearLayout> >>> >>> ... as well as the AndroidManifest.xml: >>> >>> <?xml version="1.0" encoding="utf-8"?> >>> <manifest xmlns:android="http://schemas.android.com/apk/res/android" >>> package="com.SeewaldSolutions.DanceMusicRecognizer" >>> android:versionCode="1" >>> android:versionName="1.0"> >>> <uses-sdk android:minSdkVersion="3" /> >>> <uses-permission >>> android:name="android.permission.RECORD_AUDIO"></uses-permission> >>> <uses-permission >>> android:name="android.permission.INTERNET"></uses-permission> >>> <application android:label="@string/dancing_guide_app" >>> android:icon="@drawable/launcher"> >>> <activity android:name="DanceMusicRecognizerActivity" >>> android:icon="@drawable/launcher" >>> android:configChanges="orientation"> >>> <intent-filter> >>> <action android:name="android.intent.action.MAIN" /> >>> <category >>> android:name="android.intent.category.LAUNCHER" /> >>> </intent-filter> >>> </activity> >>> </application> >>> </manifest> >>> >>> >>> I compile using ... >>> javac >>> android_src/src/com/SeewaldSolutions/DanceMusicRecognizer/*.java >>> android_src/gen/com/SeewaldSolutions/DanceMusicRecognizer/R.java -d >>> android_src_build -cp >>> xmlvm/dist/lib/objc-compat.jar:xmlvm/dist/lib/android-compat.jar >>> >>> ... and use xmlvm like this ... >>> >>> java -jar xmlvm/dist/xmlvm.jar --in=android_src_build >>> --out=DanceMusicRecognizer --target=android-on-iphone >>> --iphone-app=DanceMusicRecognizer --resource=android_src/res/layout >>> --resource=android_src/res/raw --resource=android_src/res/drawable >>> --resource=android_src/AndroidManifest.xml >>> >>> activity.xml (from layout directory) and the icons are copied to the >>> resource directory in target, but I still get @string/back and so on >>> as button text. I always got a crash when trying to access images as >>> well, and the icon does not work. Is there anything I am doing >>> wrong? >>> >>> Best, >>> Alex >>> -- >>> Dr. Alexander K. Seewald >>> >>> Seewald Solutions >>> www.seewald.at >>> Tel. +43(664)1106886 >>> Fax. +43(1)2533033/2764 >>> >>> --- >>> --- >>> --- >>> --------------------------------------------------------------------- >>> Return on Information: >>> Google Enterprise Search pays you back >>> Get the facts. >>> http://p.sf.net/sfu/google-dev2dev >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Dr. A. K. S. <al...@se...> - 2009-12-16 08:43:58
|
That was not it, although it explains why I got "@string/..." button labels. Still get the same problem with Rev. 710. I'll rebuild the whole setup for MacOS/VMware on an Intel machine - it could be that small parts of Xcode use Intel-specific (AMD-incompatible) opcodes. I find it suspicious that this relatively simple code actually crashes the whole machine... will keep you updated. I get the following notes during compilation (via javac): Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. ... and these when calling xmlvm: <jvm:land xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> <jvm:lushr xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> <jvm:lshl xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> <jvm:pop2 xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> <jvm:pop2 xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> <jvm:i2s xmlns:vm="http://xmlvm.org" xmlns:jvm="http://xmlvm.org/jvm"/> Also, the icon of my app is not shown although it is a PNG with exactly the same dimensions as the one from sayhello which is shown. Are there some specific requirements for PNGs? Is the icon defined in a way that xmlvm understands? Best, Alex On Tue, Dec 15, 2009 at 04:42:34PM +0100, Wolfgang Korn wrote: > Alex, > > One thing I noticed in your layout file: You make use of String > resources. Unfortunately we currently do not support String resources. > > -- Wolfgang > > Sent from my iPhone > > On 15.12.2009, at 14:03, "Dr. Alexander K. Seewald" <al...@se...> > wrote: > > >There is something very strange going on. I get a major error when > >initializing a FileInputStream with any resource path (i.e. path > >obtained by ... > > String fileName = getFileNamePath(findResourceNameById(resourceId)); > > String filePath = NSBundle.mainBundle().pathForResource > >(fileName,"xml"); > >- I've tested with activity.xml = my layout file and one raw > > resource) > >and then instantiating a new FileInputStream object. > > > >FileInputStream fis = new FileInputStream(filePath); > > > >If filePath does not exist, it gives a FileNotFound exception. If it > >does exist (e.g. the activity.xml is obviously read during startup), > >there is a major crash of the whole MacOS - not only the iPhone > >emulator. > > > >I've noted that my icon is not shown as well, so perhaps there is a > >problem with resources in general. However, my layout xml is pretty > >basic: > > > ><?xml version="1.0" encoding="utf-8"?> > ><LinearLayout > >xmlns:android="http://schemas.android.com/apk/res/android" > > android:layout_width="fill_parent" > >android:layout_height="fill_parent" > > android:orientation="vertical"> > > > > <TextView android:id="@+id/result" > > android:layout_width="wrap_content" > >android:layout_height="wrap_content"> > > </TextView> > > > > <Button android:id="@+id/livetest" > > android:layout_width="wrap_content" > >android:layout_height="wrap_content" > > android:text="@string/livetest" > >></Button> > > > > <Button android:id="@+id/back" > > android:layout_width="wrap_content" > >android:layout_height="wrap_content" > > android:text="@string/back" > >></Button> > > > > <Button android:id="@+id/validate" > > android:layout_width="wrap_content" > >android:layout_height="wrap_content" > > android:text="@string/validate" > > android:enabled="true" > >></Button> > ></LinearLayout> > > > >... as well as the AndroidManifest.xml: > > > ><?xml version="1.0" encoding="utf-8"?> > ><manifest xmlns:android="http://schemas.android.com/apk/res/android" > > package="com.SeewaldSolutions.DanceMusicRecognizer" > > android:versionCode="1" > > android:versionName="1.0"> > > <uses-sdk android:minSdkVersion="3" /> > > <uses-permission > >android:name="android.permission.RECORD_AUDIO"></uses-permission> > > <uses-permission > >android:name="android.permission.INTERNET"></uses-permission> > > <application android:label="@string/dancing_guide_app" > > android:icon="@drawable/launcher"> > > <activity android:name="DanceMusicRecognizerActivity" > > android:icon="@drawable/launcher" > > android:configChanges="orientation"> > > <intent-filter> > > <action android:name="android.intent.action.MAIN" /> > > <category > >android:name="android.intent.category.LAUNCHER" /> > > </intent-filter> > > </activity> > > </application> > ></manifest> > > > > > >I compile using ... > >javac > >android_src/src/com/SeewaldSolutions/DanceMusicRecognizer/*.java > >android_src/gen/com/SeewaldSolutions/DanceMusicRecognizer/R.java -d > >android_src_build -cp > >xmlvm/dist/lib/objc-compat.jar:xmlvm/dist/lib/android-compat.jar > > > >... and use xmlvm like this ... > > > >java -jar xmlvm/dist/xmlvm.jar --in=android_src_build > >--out=DanceMusicRecognizer --target=android-on-iphone > >--iphone-app=DanceMusicRecognizer --resource=android_src/res/layout > >--resource=android_src/res/raw --resource=android_src/res/drawable > >--resource=android_src/AndroidManifest.xml > > > >activity.xml (from layout directory) and the icons are copied to the > >resource directory in target, but I still get @string/back and so on > >as button text. I always got a crash when trying to access images as > >well, and the icon does not work. Is there anything I am doing > >wrong? > > > >Best, > > Alex > >-- > >Dr. Alexander K. Seewald > > > >Seewald Solutions > >www.seewald.at > >Tel. +43(664)1106886 > >Fax. +43(1)2533033/2764 > > > >--- > >--- > >--- > >--------------------------------------------------------------------- > >Return on Information: > >Google Enterprise Search pays you back > >Get the facts. > >http://p.sf.net/sfu/google-dev2dev > >_______________________________________________ > >xmlvm-users mailing list > >xml...@li... > >https://lists.sourceforge.net/lists/listinfo/xmlvm-users |