Welcome!

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

Reply
New Contributor
Posts: 2
Registered: ‎07-21-2013
My Device: Q10
My Carrier: T-Mobile
Accepted Solution

WebWorks App should invoke browser with URL to our mobile site

Hello guys,

 

please help me with that simple issue:


I need an BB 10 App which would invoke browser with URL to our mobile site (HTTPs- password-protected).

So it's should be a very simple process:
1. start the app
2. app shows the mobile website

 

thank you a lot!

PS: Optional question: is it possible to keep the browser navigation bar on bottom of the screen?

 

Developer
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: WebWorks App should invoke browser with URL to our mobile site

You can do this using just a config.xml, an icon and nothing else

 

Something along the lines of...

 

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" 
        xmlns:rim="http://www.blackberry.com/ns/widgets" 
        version="1.0.0.0" id="com.mysite.wwapp" xml:lang="en">
	
	<author rim:copyright="2011" email="me@mysite.com" href="http://www.mysite.com">You</author>
	<name>MySite</name>
	<icon src="icon.png"/>
	<content src="http://www,mysite.com"/>
	<description>My Website</description>

</widget>

 

There wouldn't be any browser navigation at all though and the site would need to set the <meta>

 

 

 




Click the like button if you find my posts useful!
New Contributor
Posts: 2
Registered: ‎07-21-2013
My Device: Q10
My Carrier: T-Mobile

Re: WebWorks App should invoke browser with URL to our mobile site

Thank you!

Highlighted
Developer
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: WebWorks App should invoke browser with URL to our mobile site

You're welcome

 

You just need config.xml and icon.png

 

icon.png needs to be 114 x 114




Click the like button if you find my posts useful!