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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: Unable to open a url like www.yahoo.com or www.google.com with html5 web app on the BB 7.0 OS device/mobile where as it is opening in the simulator.

You mean to say    

 

 

 

            index.html

 

 

 

<script type="text/javascript">
function toBrowser(){
var args = new blackberry.invoke.BrowserArguments('www.google.com');
blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);
}

toBrowser();
</script

 

 

 

 

and not

 

 

 

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,
initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,
user-scalable=no">
<title>Yupps</title>

<script>
function toBrowser(){
var args = new blackberry.invoke.BrowserArguments('http://www.yupptv.com/m');
blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);
}
</script>

 

 

 

And any changes in config.xml ?

Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: Unable to open a url like www.yahoo.com or www.google.com with html5 web app on the BB 7.0 OS device/mobile where as it is opening in the simulator.

Yes Sumi  It isw orking both on the device as wellas on the simulator. Thanks for you co operation.

 

Give ur FB id  pls  

Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: Unable to open a url like www.yahoo.com or www.google.com with html5 web app on the BB 7.0 OS device/mobile where as it is opening in the simulator.

waitig for facebook id mr sumighosh

Highlighted
Developer
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380
My Carrier: Vodafone

Re: Unable to open a url like www.yahoo.com or www.google.com with html5 web app on the BB 7.0 OS device/mobile where as it is opening in the simulator.

check your private message

Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: Unable to open a url like www.yahoo.com or www.google.com with html5 web app on the BB 7.0 OS device/mobile where as it is opening in the simulator.

Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520
My Carrier: Airtel

Re: Unable to open a url like www.yahoo.com or www.google.com with html5 web app on the BB 7.0 OS device/mobile where as it is opening in the simulator.

Hi Did u checked my other query based on parsing the xml.aspx contents.