Solution is you have circle through all the gps modules avaialble and select one with AGPS Support.
RPositionServer iPosServer;
RPositioner iPositioner;
srv.GetNumModules(moduleCount);
for(TInt i = 0 ; i < moduleCount ; i++)
{
TPositionModuleInfo modInfo;
TInt error = iPosServer.GetModuleInfoByIndex( i, modInfo );
if(modInfo.IsAvailable() && (modInfo.TechnologyType() == TPositionModuleInfo::ETechnologyAssisted))
{
iPositioner.Open(iPosServer,modInfo.ModuleId());
break;
}
}
2 comments:
I have an error with RPositionServer, do i need some library? or how can i resolv it?
Heya¡my very first comment on your site. ,I have been reading your blog for a while and thought I would completely pop in and drop a friendly note. . It is great stuff indeed. I also wanted to ask..is there a way to subscribe to your site via email.
Symbian Application Development
Post a Comment