[Qt-mobility-feedback] Location Application on a N95 8G Nokia mobile

Hendy Irawan hendy at soluvas.com
Wed Mar 31 13:36:19 CEST 2010


In addition, check this page:
http://developer.symbian.org/wiki/index.php/Capabilities_%28Symbian_Signed%29

I'm not sure about N95, but my Nokia E71 doesn't allow self-signed apps to
use Location capability. From this page:
http://developer.symbian.org/wiki/index.php/Capabilities_(Symbian_Signed)/Location_Capabilityall
Symbian S60 3rd before FP2 doesn't allow self-signed with Location.

If N95 is a pre-FP2 device, that means you have to use Open Signed Online to
install & test your Location-capable app on the device. Here:
https://www.symbiansigned.com/app/page/public/openSignedOnline.do


On Wed, Mar 31, 2010 at 5:17 PM, <david.laing at nokia.com> wrote:

> Hi,
>
> It sounds like a problem with "capabilties", which are a security feature
> of the Symbian platform.
>
> The short version is you should try adding
>  TARGET.CAPABILITY = Location
> to your .pro file when working with Symbian / S60 phones and Location.
>
> The longer version is that we had a problem with our documentation where we
> didn't mention which capabilities were needed for each module of Mobility.
>  We've fixed that problem now but it will be a little while before the
> changed documentation sees the light of day.
>
> The "required application access not granted" message is probably similar
> in nature.
>
> For reference, here are the upper bounds on the capabilities needed, sorted
> by Mobility module.
>
> The format is:
> Module name - Capabilities required
>
> Bearer Management - ReadUserData NetworkServices (NetworkControl for
> QNetworkSession::stop())
> Contacts - ReadUserData WriteUserData SwEvent ReadDeviceData
> WriteDeviceData
> Location - Location
> Multimedia - UserEnvironment ReadUserData WriteUserData ReadDeviceData
> WriteDeviceData
> Messaging - LocalServices ReadUserData WriteUserData NetworkServices
> UserEnvironment ReadDeviceData WriteDeviceData
> Publish And Subscribe - ReadDeviceData WriteDeviceData
> Service Framework - No capabilities requried by itself, the plugins may
> have capability requirements.
> System Information - LocalServices ReadUserData WriteUserData
> NetworkServices UserEnvironment Location TrustedUI ReadDeviceData
>
> So to set up a project to use Bearer Management, along with
>  CONFIG += mobility
>  MOBILITY += bearer
> in your .pro file you should also add
>  TARGET.CAPABILITY = ReadUserData NetworkServices
>
> If this doesn't work (or if you have any other troubles) please let me
> know.
>
> Regards,
>
> Dave
> ________________________________________
> From: qt-mobility-feedback-bounces at trolltech.com [
> qt-mobility-feedback-bounces at trolltech.com] On Behalf Of ext Thierry GUYOT
> [thguyot at free.fr]
> Sent: Wednesday, 31 March 2010 7:13 PM
> To: qt-mobility-feedback at trolltech.com
> Subject: [Qt-mobility-feedback] Location Application on a N95 8G Nokia
> mobile
>
> Hello,
>
> I am a french teacher in a high school of Nancy.
>
> I've been using Qt (under Linux and Windows) for several years within my
> course about programming with my students.
>
> I'm now testing the new Qt Mobility API with a Nokia N95 8g mobile
> phone. I'm working with the 4.6.2 version of Qt.
>
> I've made a small application which is asking the phone about several of
> its specifications (manufacturer, model, IMEI, power state, level of its
> battery, etc.) and it works fine.
>
> I want now to use the Location API and my first test application tries
> to obtain the satellites detected by the GPS receiver.
>
> The receiver is OK (all of the others standard location applications of
> my phone are working very well) but my application doesn't "see" any
> satellite : the QGeoSatelliteInfoSource::createDefaultSource() static
> method allways return 0 !!
>
> And when i want to test the
> QGeoPositionInfoSource::createDefaultSource() static method, my
> application crashes !!
>
> I don't know where there is a problem...
>
> I want also to indicate that I have problems when I want to install the
> Qt Mobility examples provided : I can create the sis files with the
> "createpackage" command, but my phone don't want to install them and
> gives me the message :"required application access not granted".
>
> I do not have this problem with standard Qt applications...
>
> Thank you for your help which will be wery usefull...
>
> Best regards
>
> Thierry GUYOT
> Informatics Professor
> Lycée Charles de Foucauld
> 1, Rue Jeannot
> 54000 NANCY - FRANCE
>

-- 
Hendy Irawan
www.CariDuitInternet.com
www.HendyIrawan.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-mobility-feedback/attachments/20100331/4964549a/attachment.html 


More information about the Qt-mobility-feedback mailing list