Practical recommendations for the JSR179 Criteria class

Source: Internet
Author: User
As we all know, CDMA devices are quite different in terms of GPS modes from GSM device. hence, it is important to understand how the Criteria class of JSR179 can be used to obtain a LocationProvider in a desired gpsOne mode. the following logic is followed by RIM:-if costAllowed = FALSE, mode is standalone

-Else if costAllowed = TRUE,

-If horizontalAccuracy = 0, mode is Data Optimal

-If horizontalAccuracy> 0,

-If multipled fixes requested,

-If powerUsage = HIGH, mode is Speed Optimal;

-If powerusage! = High, mode is MS-based

-Else if single fix requested,

-If powerusage = high, mode is accuracy optimal;

-If powerusage! = High, mode is partial calculate

-If powerusage = medium and preferredresponsetime = 0,

Mode is aflt

-If powerusage = low mode is cellsite

 

 

From: http://supportforums.blackberry.com/t5/Java-Development/JSR179-Criteria-gt-gpsOne-Mode-mapping-for-CDMA-devices/m-p/21937

 

 

Setlocationlistener (LocationlistenerListener, int interval, int timeout, int maxage ); 

 


 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.