开发者

Displaying a webpage and maps in Blackberry

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜