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 |