PDA

View Full Version : When will AEE PL_POS_LOCATION privilege become available?


ericB
07-09-2003, 08:17 AM
In researching the BREW API I find that to use the function "IPOSDET_GetGPSInfo " my application requires the AEE privilege "PL_POS_LOCATION ". The BREW 2.1 SDK reference indicates this regarding "PL_POS_LOCATION":

"The application has access to position-location functionality (not supported at present). "

When will this privilege level be supported? Or is there a method of calling IPOSDET_GetGPSInfo without this privilege?

Thanks

ericB

markeaston
04-27-2005, 11:04 PM
Testing in my 2.1 Emulator with GPS Settings on and feed from a BGP file:

I have this code:

if (ISHELL_CheckPrivLevel(_ggc_app->m_pIShell, PL_POS_LOCATION, TRUE))
_ggc_app->setErrorMsg(GGCERRTYPE_GPSR, _gps_info.status);

It does not make sense.

ISHELL_CheckPrivLevel() returns TRUE if the privilege is set. In this case it does return TRUE. Then _gps_info.status returns AEEGPS_ERR_PRIVACY_REFUSED.

So on the one had I have the privalege to make the GPS call, but on the other hand I dont.

Any ideas as to why I am getting a AEEGPS_ERR_PRIVACY_REFUSED error??