I am working in a GPS-based application, using Qt 4.6.3 (Nokia Qt SDK 1.0.2) and QMobility 1.0
the application is working outdoor, but when running the application indoor it is failed to locate by GPS. Altho the OVI Maps application is working and got the location, after that if i open my application again, it will work.
I used the below codes to get the location:
The signal updateTimeout() is emitted when i try to run the application indoor
QGeoPositionInfoSource m_source = QGeoPositionInfoSource::createDefaultSource(this);
m_source->setUpdateInterval(60 * 1000); // update every one minute
connect(m_source, SIGNAL(positionUpdated(QGeoPositionInfo)), SLOT(onPositionUpdated(QGeoPositionInfo)));
connect(m_source, SIGNAL(updateTimeout()), SLOT(onUpdateTimeout()));
How can i make GPS work indoor like OVI Maps.
Thanks a lot.