02-18-2012 06:05 AM
I have found one very important package in the Documentation: qnx.net - but it is missing in the SDK which is available now ... I believe that this is some kind of a misunderstanding.
Solved! Go to Solution.
02-19-2012 12:13 PM
this has happened before -- they prematurely document APIs that don't exist in the actual SDK. it's best to just assume its not available yet and wait for it to be official.
02-21-2012 12:26 PM
It is in the QNXNetwork.ane which is included in the SDK. It is not added by default with the other libraries because Flash Builder does not support auto adding ANE files.
02-23-2012 11:16 AM
When I simply try to test it, it throws an exception:
trace("Net Info: " + NetworkManager.networkManager);
ReferenceError: Error #1065: Variable qnx.net::NetworkManager is not defined.
05-29-2012 07:16 PM
I believe the error is caused because the NetworkManager ANE is not loaded into the project properly. The project has to have the NetworkManager.ane added to it (Preferences->Build Path->Native Extensions) *and* checked to be added to the BAR file as well (Preferences->ActionScript Build Packaging->BlackBerry->Native Extensions). For the latter, you might have to expand the window to actually see the checkbox for the ANE.
See if that solves your problem