For a developer to check supported sensor types there is a method:
http://apidocs.meego.com/git-tip/qtmobility/qsensor.html#sensorTypes

For a sensor implementer to manifest supported sensors there is a conf file:
/etc/xdg/Nokia/Sensors.conf
Removing non-existent sensors is required.

Cheers, Pia


From: [email protected] [mailto:[email protected]] On 
Behalf Of ext He, Yunlong
Sent: 13 May, 2011 11:22
To: Zhao, Forrest; [email protected]
Subject: [MeeGo-dev] How to determine whether a sensor type is physically 
supported on meego device?

I just tested on MeeGo 1.2, it won’t crash again, however, createBackend always 
 returns successfully, so I wonder whether it can be used to determine sensor 
support.

So who knows how to check whether a sensor type is physically supported on 
meego device?

Thanks
He Yunlong

From: Zhao, Forrest
Sent: Thursday, May 12, 2011 1:54 PM
To: He, Yunlong; [email protected]
Subject: RE: [MeeGo-dev] Segmentfault one calling QSensorManager::createBackend 
( QSensor * sensor )

You should use the latest MeeGo image. BTW. MeeGo 1.2 has not been released.

Forrest

From: He, Yunlong
Sent: Wednesday, May 11, 2011 2:40 PM
To: Zhao, Forrest; [email protected]
Subject: RE: [MeeGo-dev] Segmentfault one calling QSensorManager::createBackend 
( QSensor * sensor )

I also compiled sensor_explorer from the example code, it also cause segment 
fault on real device.

Is there any other ways to get sensor capabilities?

I am using MeeGo 1.1, is it the reason? Will it work on MeeGo 1.2?

B.R.
He Yunlong

From: Zhao, Forrest
Sent: Wednesday, May 11, 2011 1:06 PM
To: He, Yunlong; [email protected]
Subject: RE: [MeeGo-dev] Segmentfault one calling QSensorManager::createBackend 
( QSensor * sensor )

Did you ever look into qtmobility-examples? You can find the proper usage of 
sensor API.

If you’re sure that you use the API in correct way, please file a bug at 
bugs.meego.com and attach your program to reproduce the bug.

Thanks,
Forrest

From: [email protected] [mailto:[email protected]] On 
Behalf Of He, Yunlong
Sent: Wednesday, May 11, 2011 12:55 PM
To: [email protected]
Subject: [MeeGo-dev] Segmentfault one calling QSensorManager::createBackend ( 
QSensor * sensor )

Hi, Experts,

  I am trying to get sensor types supported by one device, so I tried to use 
QSensorManager::createBackend ( QSensor * sensor ), however, it cause 
application segment fault with QOrientationSensor, do you know whether this is 
a bug? Or is there other ways to get supported sensor list?

Best Regards
He Yunlong (何云龙)
Cube: GTC-18M08
iNet: 8751-1645
Tel: +86-010-57511645
Email: [email protected]<mailto:[email protected]>



_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to