×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    23

    How to hide status bar in symbian device webbrowser

    hai experts,

    I have WRT application to lanch the url in web browser. but what i need is "To hide the status bar in the top of the screen" . it just like a full screen application.i dont want to show the page loading, no of KB loading , url path loading at all .

    I used lot of techniques inside my application.But no use

    here is my code .

    index.html
    ============
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript">

    <!--
    function doRedirect()
    {
    widget.openURL("http://www.sony.com");
    window.statusbar.visible = false
    window.menu.hideSoftkeys();
    setFullScreenMode(true);

    window.close();
    }
    //-->
    </script>

    <title>Infoview Widget</title>
    </head>
    <body onload="doRedirect()">

    </body>
    </html>

    info.plist
    ===========
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Nokia//DTD PLIST 1.0//EN" "http://www.nokia.com/NOKIA_COM_1/DTDs/plist-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>DisplayName</key>
    <string>My Application</string> <!-- Name to be shown next to the icon -->
    <key>Identifier</key>
    <string>com.forum.nokia.widget.My Application</string>
    <key>Version</key>
    <string>0.1</string>
    <key>MainHTML</key>
    <string>index.html</string> <!-- File name of the main HTML document -->
    <key>AllowNetworkAccess</key>
    <true /> <!-- Allow access to the network-based resources from the widget -->
    <key>MiniViewEnabled</key>
    <true /> <!-- Enable home screen view -->
    </dict>
    </plist>


    I dont know why its not working on my phone (N97 mini).

    pls Some body help me soon
    Advance thanks,

    Regards Deepak....(Waiting for reply)

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: How to hide status bar in symbian device webbrowser

    Hello Deepak,

    You can only control WRT widget itself from the widget. If you want to set the wrt widget to full screen mode use built in menu-object:
    window.menu.hideSoftkeys();

    When you use the widget.openURL("") the standard web browser is launched and it will behave as the user would have opened the web browser.

    Br,
    Ilkka

Similar Threads

  1. Mobile Viruse with Name and its Effect
    By austin007 in forum Mobile Web Server
    Replies: 1
    Last Post: 2009-12-02, 06:42
  2. Replies: 0
    Last Post: 2009-11-22, 19:03
  3. File transfer error through WinCE device to Symbian device
    By lal.rajan in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-03-30, 11:17
  4. Infrared socket connection between Symbian device and Windows
    By vespe in forum Symbian Networking & Messaging (Closed)
    Replies: 15
    Last Post: 2003-10-10, 16:50
  5. Device discovery timeout on Symbian
    By laa-laa in forum Bluetooth Technology
    Replies: 1
    Last Post: 2003-09-24, 10:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×