QGeoSatelliteInfoSource::createDefaultSource() returns NULL on the bq phone
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Medium
|
Thomas Voß | ||
| | platform-api (Ubuntu) |
Medium
|
Thomas Voß | ||
| | qtubuntu-sensors (Ubuntu) |
Medium
|
Thomas Voß | ||
Bug Description
Device: bq Aquaris E4.5 Ubuntu Edition
Operating System: Ubuntu 14.10 (r21)
I am currently trying to build a clone of the "GPS Status" Android app, it displays various details about the built-in GPS receiver.
According to the developer documentation at http://
On my device this call returns NULL.
Sample code is located at https:/
Related branches
- PS Jenkins bot: Approve (continuous-integration) on 2016-04-06
- Alberto Mardegan (community): Needs Fixing on 2016-03-22
- Gerry Boland: Pending requested 2016-03-21
-
Diff: 1033 lines (+690/-40)25 files modifiedCMakeLists.txt (+1/-1)
TODO.txt (+1/-0)
android/hybris/Android.mk (+4/-0)
android/hybris/ubuntu_application_gps_for_hybris.cpp (+60/-3)
debian/changelog (+6/-0)
include/ubuntu/application/location/CMakeLists.txt (+2/-0)
include/ubuntu/application/location/service.h (+23/-0)
include/ubuntu/application/location/space_vehicle.h (+148/-0)
include/ubuntu/application/location/space_vehicle_update.h (+81/-0)
include/ubuntu/hardware/gps.h (+28/-28)
src/ubuntu/application/base_module.h (+1/-1)
src/ubuntu/application/common/application/location/CMakeLists.txt (+2/-0)
src/ubuntu/application/common/application/location/instance.h (+30/-1)
src/ubuntu/application/common/application/location/service.cpp (+8/-0)
src/ubuntu/application/common/application/location/space_vehicle.cpp (+70/-0)
src/ubuntu/application/common/application/location/space_vehicle_p.h (+40/-0)
src/ubuntu/application/common/application/location/space_vehicle_update.cpp (+44/-0)
src/ubuntu/application/common/application/location/space_vehicle_update_p.h (+41/-0)
src/ubuntu/application/desktop/module_version.h (+1/-1)
src/ubuntu/application/testbackend/module_version.h (+1/-1)
src/ubuntu/application/testbackend/test_stubs.cpp (+70/-0)
src/ubuntu/application/touch/module_version.h (+1/-1)
src/ubuntu/application/ubuntu_application_api.cpp (+15/-1)
src/ubuntu/hardware/tests/test_gps_api.cpp (+6/-2)
src/ubuntu/hardware/ubuntu_platform_hardware_api.cpp (+6/-0)
- Gerry Boland: Needs Fixing on 2015-10-20
- Alberto Mardegan (community): Approve on 2015-10-19
- PS Jenkins bot: Pending (continuous-integration) requested 2015-10-19
-
Diff: 642 lines (+498/-3)13 files modifiedTODO.txt (+1/-0)
debian/control (+1/-1)
include/ubuntu/application/location/CMakeLists.txt (+2/-0)
include/ubuntu/application/location/service.h (+23/-0)
include/ubuntu/application/location/space_vehicle.h (+148/-0)
include/ubuntu/application/location/space_vehicle_update.h (+81/-0)
src/ubuntu/application/common/application/location/CMakeLists.txt (+2/-0)
src/ubuntu/application/common/application/location/instance.h (+30/-1)
src/ubuntu/application/common/application/location/space_vehicle.cpp (+70/-0)
src/ubuntu/application/common/application/location/space_vehicle_p.h (+40/-0)
src/ubuntu/application/common/application/location/space_vehicle_update.cpp (+44/-0)
src/ubuntu/application/common/application/location/space_vehicle_update_p.h (+41/-0)
src/ubuntu/application/ubuntu_application_api.cpp (+15/-1)
- Gerry Boland: Approve on 2015-12-09
-
Diff: 340 lines (+261/-3)7 files modifiedplugins/position/CMakeLists.txt (+4/-0)
plugins/position/core_geo_position_info_source_factory.cpp (+2/-2)
plugins/position/core_geo_satellite_info_source.cpp (+111/-0)
plugins/position/core_geo_satellite_info_source.h (+50/-0)
plugins/position/plugin.json (+1/-1)
tests/CMakeLists.txt (+18/-0)
tests/test_location_api.cpp (+75/-0)
| Sturm Flut (sturmflut) wrote : | #1 |
| Sturm Flut (sturmflut) wrote : | #2 |
| Sturm Flut (sturmflut) wrote : | #3 |
| Changed in location-service (Ubuntu): | |
| status: | New → Invalid |
| Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in qtubuntu-sensors (Ubuntu): | |
| status: | New → Confirmed |
| Thomas Voß (thomas-voss) wrote : | #5 |
We don't expose satellite visibility information to applications, yet. However, the respective information is certainly used in the service. Please watch this bug and changes to its status for tracking the feature request.
| Sturm Flut (sturmflut) wrote : | #6 |
Any updates on this?
| XiaoGuo, Liu (liu-xiao-guo) wrote : | #7 |
Is there any update on this? has it been fixed? on MX4, I got null pointer. How can I get the location info using C++?
source = QGeoSatelliteIn
source is null.
| Changed in platform-api (Ubuntu): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| Changed in qtubuntu-sensors (Ubuntu): | |
| importance: | Undecided → Medium |
| Changed in platform-api (Ubuntu): | |
| status: | Confirmed → In Progress |
| Changed in qtubuntu-sensors (Ubuntu): | |
| status: | Confirmed → In Progress |
| Changed in platform-api (Ubuntu): | |
| assignee: | nobody → Thomas Voß (thomas-voss) |
| Changed in qtubuntu-sensors (Ubuntu): | |
| assignee: | nobody → Thomas Voß (thomas-voss) |
| no longer affects: | location-service (Ubuntu) |
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Pat McGowan (pat-mcgowan) |
| importance: | Undecided → Medium |
| milestone: | none → ww02-2016 |
| status: | New → In Progress |
| Changed in canonical-devices-system-image: | |
| milestone: | ww02-2016 → ww08-2016 |
| Changed in canonical-devices-system-image: | |
| milestone: | ww08-2016 → 11 |
| Changed in canonical-devices-system-image: | |
| milestone: | 11 → 12 |
| assignee: | Pat McGowan (pat-mcgowan) → Thomas Voß (thomas-voss) |
| milestone: | 12 → none |


I also just found out that QGeoSatelliteIn foSource: :availableSourc es() returns an empty list on the phone. This might point to the actual problem.