Hi I am developing an application based on Location API. My target device is Nokia N95 3rd Edition FP1. For my application I am using Location Capability. I am signing my application from symbian signed also. But at the time of installation I am getting an error "required application access not granted".


I am using this simple code from SDK Help....
#include <lbs.h>
...
// Init Connection
RPositionServer server;
RPositioner positioner;
User::LeaveIfError(server.Connect());
CleanupClosePushL(server);
User::LeaveIfError(positioner.Open(server)); // use default positioning module
CleanupClosePushL(positioner);
// Specify Requestors
_LIT(KCntPhone, "+358501234567");
_LIT(KSrvName, "MyService");
RRequestorStack stack;
CRequestor* contact = CRequestor::NewLC(
CRequestor::ERequestorContact,
CRequestor::EFormatTelephone,
KCntPhone);
stack.Append(contact);
CRequestor* service = CRequestor::NewLC(
CRequestor::ERequestorService,
CRequestor::EFormatApplication,
KSrvName);
stack.Append(service);
User::LeaveIfError(positioner.SetRequestor(stack));
// Issue a Location Request
TRequestStatus status;
TPositionInfo posInfo;
positioner.NotifyPositionUpdate(posInfo, status);
User::WaitForRequest(status);
User::LeaveIfError(status.Int());
// Analyze Results
TPosition position;
posInfo.GetPosition(position);
// Issue a new Location Request
positioner.NotifyPositionUpdate(posInfo, status);
User::WaitForRequest(status);
User::LeaveIfError(status.Int());
// Cleanup
stack.Reset();
CleanupStack::PopAndDestroy(service);
CleanupStack::PopAndDestroy(contact);
CleanupStack::PopAndDestroy(&positioner); // this will call Close() method
CleanupStack::PopAndDestroy(&server); // this will call Close() method


Kindly waiting for my solution.
Narendar:Chhattisargh:INDIA