I want to know how to display a webpage 开发者_JS百科of a predefined URL in Blackberry. I would also like to get help in displaying map of a predefined location on a button click.
displaying a web page is straightforward:
public static void navigateToSite(final String url) {
BrowserSession session = Browser.getDefaultSession();
session.displayPage(url);
}
and for the location, check http://docs.blackberry.com/en/developers/deliverables/11944/CS_invoking_BB_Maps_using_a_Landmark_887800_11.jsp
精彩评论