• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Gps accuracy and parameters set up tips? please help out

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Hello,

i am building the GPS application(JSR 179). i got one sample application where they set the following parameters as shown below. my question is that on what basis they set the parameters. how to know the values to set in it. plsss help me:-(

AGPSConfiguration config = new AGPSConfiguration();
System.out.println("assign the provider");
config.setDirectListenerMode(false);
config.setHorizontalAccuracy(100);
config.setVerticalAccuracy(100);
config.setPowerProfile(PowerProfile.USAGE_MEDIUM);
config.setPreferredResponseTime(120);
config.setPositionFilteringMode(PositionFilteringMode.DEFAULT);


thanks:-)
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Questions related to mobile technologies are better suited on the JME forum instead of beginners forum.
Moving thread...
 
ashwini kalmath
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Thanks Maneesh:-)
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSR179 allows a device to have multiple location services. For example, a cell phone will often have a coarse-grained location service based on trilateration of nearby cell phone towers and a fine-grained location service that uses an internal GPS chip.

Trilateration is good for cheap location determination, because as long as a cell phone is "on line", it's already talking to the towers on a continual and periodic basis. However it doesn't work if there are no towers in range (or not enough towers), and the guaranteed precision is only 1 km.

GPS is much more precise and works in places where cell phone service isn't available, but the GPS circuitry consumes so much more power that some phone companies actually made it unavailable to all apps except the built-in emergency dial system (911/999) on many models.

JSR 179 permits basing the choice of which location service to use via abstract decisions about power usage, precision, and so forth. This keeps it from having to know specific details and allow other options, such as adding a third location device via a USB plug-in, for example.

If you need a rough idea of where you are on a continual basis, you should ask for low power, low-resolution. If you need to have a more precise location, as for high-resolution services. It depends on the app.
 
ashwini kalmath
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,


i need to build the application of Gps tracker so what will be accurate values to set?
 
reply
    Bookmark Topic Watch Topic
  • New Topic