You Are Here:

Community: Developer Discussion Boards

#1 Old N95 Gps Problem - 2007-12-05, 13:04

Join Date: Nov 2007
Posts: 1
Marceloabo
Offline
Registered User
Hi,

I'm developing a mobile gps system for Nokia N95, I'm having some problems related with the communication between the GPS and the software.
The code uses a thread to get the coordinates provided by the GPS, this thread get the information each 1 ms. Next, I´m posting the method used:




cr = new Criteria();

try
{

if (lp != null)
{

lp.setLocationListener(ll, 1, 1, 1);

}

lp= LocationProvider.getInstance(cr);

}

catch (Exception ex)

{

MeLevaMIDlet.log("Dados de localiz. invalido
[LocationProvider.getInstance]");
ex.printStackTrace();

}


try
{

l= lp.getLocation(60); ------ > (HERE IS THE PROBLEM)

}

catch (LocationException ex)

{

MeLevaMIDlet.log("Dados de localiz. invalido
[lp.getLocation]");
ex.printStackTrace();

}

catch (InterruptedException ex)

{

MeLevaMIDlet.log("Parada Inesperada [lp.getLocation]");
ex.printStackTrace();

}

try
{

c = l.getQualifiedCoordinates();

}

catch (Exception e)
{

MeLevaMIDlet.log("Dados de local. invalido
[getQualifiedCoordinates]");

}

if(c != null)
{

getExtraInfo = l.getExtraInfo("application/X-jsr179-location nmea");

Contador ++;
return getExtraInfo;

}





The problem always occurs when the method request the information provided by the gps when the number of requisition is 254. ---> l= lp.getLocation(60);


Somebody can help me ?

Thank you
Reply With Quote

#2 Old Re: N95 Gps Problem - 2007-12-05, 21:11

Join Date: Jan 2006
Posts: 3,185
Location: Michigan
Nokia Ron's Avatar
Nokia Ron
Offline
Forum Nokia Expert
Moved to Location Based Services and Navigation message board


Ron Liechty
Manager Forum Nokia Online Community
ron.liechty@nokia.com
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
API to N95 GPS (lbs) bergerc Python 22 2007-10-30 06:45
SAXParser problem in E90 and N95 ksolehma Series 40 & S60 Platform Feedback 2 2007-08-23 16:38
OpenGL problem with N95 firmware 12.0.0.13? lenclud Symbian Media (Graphics & Sounds) 1 2007-08-06 17:32
Problem with Nokia N95 WiFi Latency vmary Mobile Java Networking & Messaging & Security 0 2007-06-18 18:44
Problem with GPS class(com.nokia.m2m.orb.idl.gps) CONTEMPO Nokia M2M 1 2005-01-27 08:41

Rate This

 
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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d155901X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZlocationQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxlocationE2dbasedE2dservicesX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ