Skip to content

Instantly share code, notes, and snippets.

@topriddy
Created June 27, 2012 14:17
Show Gist options
  • Save topriddy/3004330 to your computer and use it in GitHub Desktop.
Save topriddy/3004330 to your computer and use it in GitHub Desktop.
Sample code on how to do a quick launch on click of a Blackberry Icon to browser
package com.topriddy.jambito.mobile;
import net.rim.blackberry.api.browser.Browser;
import net.rim.blackberry.api.browser.BrowserSession;
import net.rim.device.api.ui.UiApplication;
public class Jambito extends UiApplication {
private static final String START_URL ="http://www.mobilejamb.appspot.com";
public static void main(String args[]) {
BrowserSession browserSession = Browser.getDefaultSession();
browserSession.displayPage(START_URL);
System.exit(0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment