Created
June 27, 2012 14:17
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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