Skip to content

Instantly share code, notes, and snippets.

@barbeau
Last active July 7, 2016 21:30
Show Gist options
  • Save barbeau/d0419232fda2edf0cdce8e45bd579627 to your computer and use it in GitHub Desktop.
Save barbeau/d0419232fda2edf0cdce8e45bd579627 to your computer and use it in GitHub Desktop.
Alert alert = new Alert("Log", "Here", null, null);
alert.addCommand(getExitCommand5());
alert.setCommandListener(this);
alert.setTimeout(Alert.FOREVER);
midlet.getDisplay().setCurrent(alert);
Alert alert = new Alert("Log", "Here", null, null);
alert.setTimeout(2000);
midlet.getDisplay().setCurrent(alert);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment