Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 14
Registered: ‎03-11-2013
My Device: Dev Alpha B
My Carrier: Vodafone
Accepted Solution

Titlebar on app

I'm trying to create a simple app that displays a web page in webworks.

It works fine in Ripple but not in simulator. There is a title bar with a close button.

How can I hide this title bar? Also splash screen does not appear at start.


<?xml version="1.0" encoding="UTF-8"?> 
<widget xmlns="http://www.w3.org/ns/widgets" 
    version="" id="test">   
    <icon src="images/icon.png"/>
    <content src="http://m.mobilesite.com"/> 
	<rim:loadingScreen backgroundColor="#000000" backgroundImage="images/splash.jpg" onFirstLaunch="true" onRemotePageLaunch="false">
    	<rim:transitionEffect type="fadeIn" direction="left"/>


Posts: 13
Registered: ‎07-17-2013
My Device: Z10
My Carrier: Rogers

Re: Titlebar on app

To display a splash screen, add this line to config.xml:
<rim:splash src="<Name of splash image>"/>\

I'm not sure what to do about hiding the title bar.
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Titlebar on app

By default, there is no content that gets added to an application. You'll need to remove the DOM elements for the title bar from the source manually. If you're not sure where in the source the title bar exists, you could build a debug version and use Web Inspector to investigate the source directly.

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Posts: 14
Registered: ‎03-11-2013
My Device: Dev Alpha B
My Carrier: Vodafone

Re: Titlebar on app

[ Edited ]

Removing tag <titlebar> resolved the issue.