On n8 device with QtMobility 1.1.0 this method returns always zero.
Symbian QGeoAreaMonitor is not native
Are you the same person who started this thread?:
If so, should I close this bug? If not, could you check that your development and deployment environments are the same?
Yes I'm...i've a new firmware (013.016) and i've installed on it the QtMobility 1.0.2
I've used in the main function that below:
QGeoAreaMonitor *ar = QGeoAreaMonitor::createDefaultMonitor(0);
if (ar == 0)
It returns zero
Which version of Qt and Qt Mobility are you using to develop with?
Which version of Qt and Qt Mobility are you using on your device?
I'm using the standard NokiaQt SDK for production.
On my device: standard firmware PR1.1 and i've installed only QtMobility 1.0.2
I've installed QtMobility 1.1.0 on the device and again the same error.
Example illustrating the problem
Added examle here to show the problem on N8. with latest Qt SDK (released on early march) the simulator appears to work better, anyway, device still returns null.
This sounds like it might be a faulty compile test for the S^3 build environment.
Does not reproduce on mobility master with the forthcoming mobility 1.2 on S^3, I am able to create area monitor. The most likely cause is that the sis files you've used have failed one of the configure tests when they were created ("lbt"). Hence its important to understand where the binaries come from:
Jukka/Giovanni, are you using the binaries from Nokia website (e.g. http://qt.nokia.com/products/qt-addons/mobility or the SDK) or building your own or something else?
For all my test i've always used the official Nokia binaries.
With QtMobility 1.0.2 and QtMobility 1.1.1 (QtSDK 1.1 beta)
Does reproduce with mobility 1.1.0 coming with the Nokia SDK.
For Symbian the area monitor has been disabled configuration-wise for some time.
We are now in process of checking if to should enable the native backend for it, or whether to use the generic solution as the other platforms do. In the longer run the native monitor will be enabled.
Juha, would it be possible to enable the generic solution for QtM 1.1.x? I think it would be much better to have at least the generic code working and not just to deactivate that API silently.
I'm far from a Symbian expert, but shouldn't the code used in qgeoareamonitor_simulator.cpp work everywhere?
Enable generic polling solution for Symbian in master (forthcoming 1.2.0). The native area monitor QA needs more time, hence in the meantime enabled the generic monitor (used actually by every platform as of this commit).
Cornelius, agree if there will more 1.1.x releases, that should be onboard.
Looking at the code, simulator code should work in 1.1, and with this commit also on 1.2.
Marking this item fixed for 1.2.0, but do notice the newly spawned item to enable the native area monitor.