This page was last modified 19:58, 6 March 2008.
Browser Control API
From Forum Nokia Wiki
Contents |
Introduction
The browser for S60 enables mobile phone users to browse the World Wide Web. Web pages can be implemented in Hypertext Markup Language (HTML), Extended Hypertext Markup Language (XHTML), or Wireless Markup Language (WML). A Browser Control is a browser that you embed into an application to enable users to view Web content from within that application. The host application can control the way the Browser Control displays the Web content, dialogs, softkeys, scroll bars, and so on. The Browser Control API enables developers to do the following:
- Display XHTML, HTML, WML, CSS, or scripted content inside an application
- Customize the Browser Control for your specific application. For example,
- Draw scroll bars
- Design options menus
- Display notification messages
- Customize softkeys
- Change the display size of a Web page
Environmental Requirements
The Browser Control API is compatible with any application that complies with S60 3rd Edition.
Standards Compliance
The Browser Control API complies with the following standards:
- ECMA Script Mobile Profile
- HTML 4.0.1
- Java Script
- Wireless CSS
- WML 1.3
- WML Script
- XHTML Mobile Profile
Browser Control Functionality
Basic Browser Control functionality includes:
- Downloading and displaying Web content
- Resolving links
- Retrieving the following information about the downloaded content:
- Display size needed to see all of the content (ContentSize function)
- WML options associated with the current page(WMLOptionMenuItemsL function)
- Value of a specified browser setting (BrowserSettingL function)
- Indication of whether or not a particular URL is in the cache (IsUrlInCache function)
- Information about the page, such as its title, URL, and content (PageInfoLC function)
- Indication of whether there is a previous or next element in the history stack (NavigationAvailable function)
- Build version of the Browser Control (VersionInfoLC function)
- Number of images in the current page (ImageCountL function)
- Type of focused element (FocusedElementType function)
- Minimum size of the Browser Control (MinimumSize function)
Related Links
For more information see: Browser Control API Developer's Guide
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| J2ME native browser for N-series | fatala | General Browsing | 1 | 2008-02-15 09:23 |
| memory leak for S60API | jinuthomas | General Symbian C++ | 5 | 2008-06-10 15:02 |
| expert,how can i capture all the events??? | tsling | Symbian User Interface | 1 | 2005-11-25 04:07 |
| 6682,6620,6600 - Zoom Control, Flash Control, Brightness Control | nagkumar | Mobile Java General | 3 | 2006-02-24 21:39 |
| How to capture back soft key | computerresearcher | General Symbian C++ | 0 | 2004-12-03 12:53 |
