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

Native Development

Reply
Highlighted
Developer
Posts: 105
Registered: ‎04-24-2012
My Device: blackberry developer
My Carrier: relience
Accepted Solution

QDesktopServices::launchWebBrowser not implemented in bb10

Hello,

 

I want to launch webbrowar with the link from qml in bb10 beta 2.

I had usedon button click in qml

 Qt.openUrlExternally("http://www.google.com");

 

I am getting error like

QDesktopServices::launchWebBrowser not implemented

 

How to resolve this error.

Or is there another way to launch web browser through c++ also in cascades?

 

Thanks In advance.

bskania.

 

 

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: QDesktopServices::launchWebBrowser not implemented in bb10

Hi there,

 

Have you looked at the WebView component in BB10?

Developer
Posts: 105
Registered: ‎04-24-2012
My Device: blackberry developer
My Carrier: relience

Re: QDesktopServices::launchWebBrowser not implemented in bb10

yes,

 

But I dont want to handle it in my application. I want o redirect it in the browser. So in backend my app should be running.

 

 

Retired
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: QDesktopServices::launchWebBrowser not implemented in bb10

Retired
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: QDesktopServices::launchWebBrowser not implemented in bb10

Hi bskania,

 

did you have any luck with that?

 

Cheers,

Developer
Posts: 105
Registered: ‎04-24-2012
My Device: blackberry developer
My Carrier: relience

Re: QDesktopServices::launchWebBrowser not implemented in bb10

No. Because the Invocation is not working in the simulator. So No Luck with that.
Retired
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: QDesktopServices::launchWebBrowser not implemented in bb10

Hi bskania,

 

Which version of Beta2 are you using? This issue is supposed to be fixed in the lastest one (545). Also, could you post your code so we can try at our end?

 

Cheers,

Developer
Posts: 105
Registered: ‎04-24-2012
My Device: blackberry developer
My Carrier: relience

Re: QDesktopServices::launchWebBrowser not implemented in bb10

I am using beta version 10.0.6 and target target_10_0_6_384.
Is any update after this version is released??
Retired
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: QDesktopServices::launchWebBrowser not implemented in bb10

Hi bskania,

 

yeap, 10_0_06-543 for both of them, NDK and Simulator.

 

https://developer.blackberry.com/cascades/download/

Developer
Posts: 105
Registered: ‎04-24-2012
My Device: blackberry developer
My Carrier: relience

Re: QDesktopServices::launchWebBrowser not implemented in bb10

ok. Thanks for the update.
What is the expected date for beta release 3.
And can you help me which mime type should I use if I want to open a native web browser through the InvokeManager?

thanks in advance.
bskania