You Are Here:

Community: Wiki

 

Talk:KIS000850 - RPositioner::NotifyPositionUpdate return KErrInUse after few minutes

From Forum Nokia Wiki

This article has been edited incorrectly when it became official item in Knowledge Base. Note that you have to call SetUpdateOptions periodically. Once is not enough as the edited article now suggests! There is also some overhead (resets some state?) when calling SetUpdateOptions every time before issuing the request.


Hello friends,

I tried this solution, but it didn't work.

So I studied the problem and I've found a real solution, it works fine.

This is my solution:

I have a CActive object that handles GPS asyncronous requests.

When I get KErrInUse error, I destroy my CActive object, and then I create it again.

After that, I can use GPS again for 4-5 minutes or more.

This process is repeated each time KErrInUse occurs.

Hope this helps,

Raffael

A real solution

Hello friends,

I tried this solution, but it didn't work.

So I studied the problem and I've found a real solution, it works fine.

This is my solution:

I have a CActive object that handles GPS asyncronous requests.

When I get KErrInUse error, I destroy my CActive object, and then I create it again.

After that, I can use GPS again for 4-5 minutes or more.

This process is repeated each time KErrInUse occurs.

Hope this helps,

Raffael

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia