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 Member
Posts: 1
Registered: ‎01-10-2013
My Device: blackberry 10 dev alpha
My Carrier: blackberry 10 dev alpha

Accessing network from native extension

We are developing a C++ native extension to be used from our WebWorks application.

This extension uses QNetworkAccessManager to execute HTTP requests. However,  requests are not being executed from the context of the extension. Specifically, the method QNetworkAccessManager::get is not working.

When using this extension as a shared library in a Cascades project,  everything works as expected.

Also, adding  the following section to the config.xml did not help:

 

<access uri="*" subdomains="true">