You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.

Gameloft Vxp Site

public void commandAction(Command c, Displayable d) if (c == exitCommand) notifyDestroyed();

Why? Because many VXP games were simply J2ME MIDlets that were "wrapped" post-compilation.

public void startApp() display = Display.getDisplay(this); gameCanvas = new GameCanvas(); // Your custom canvas exitCommand = new Command("Exit", Command.EXIT, 1); gameCanvas.addCommand(exitCommand); gameCanvas.setCommandListener(this); display.setCurrent(gameCanvas); gameloft vxp

Sample J2ME skeleton:

Have you ever unpacked a VXP file? Share your hex-editing war stories in the comments below. public void commandAction(Command c, Displayable d) if (c

Before the iPhone and Android dominated the landscape, mobile gaming was a wild west of Java ME (J2ME), BREW, and proprietary formats. One of the most intriguing—and frustrating—formats was Gameloft’s .

import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.*; public class MyGame extends MIDlet implements CommandListener private Display display; private Canvas gameCanvas; private Command exitCommand; Share your hex-editing war stories in the comments below

Posted by RetroDev | Categories: J2ME, Feature Phones, VXP

scroll to top icon