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 > > |