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
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

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.