BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-15-2010, 03:47 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: 8530
PIN: N/A
Carrier: Sprint
Posts: 48
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to switch the cellsite mode if Autonomous is not availabe?

Please Login to Remove!

I need to switch to the Cellsite mode if there is no Autonomous mode available. And if GPS mode is available, it needs to switch back to autonomous mode. So, switching back and forth efficiently.
Would you please someone guide me?
Offline  
Old 12-15-2010, 05:49 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: 8530
PIN: N/A
Carrier: Sprint
Posts: 48
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How to switch the cellsite mode if Autonomous is not availabe?

I tried this code. In this, once it gets the cellsite mode, it doesnot return to other modes.
I need few code to switch back to assist/autonomous mode and continously gets gps fix if available; otherwise switch to cellsite.

Code:
criteria.setMode(GPSInfo.GPS_MODE_ASSIST);
criteria.setSubsequentMode(GPSInfo.GPS_MODE_AUTONOMOUS);
criteria.setFailoverMode(GPSInfo.GPS_MODE_CELLSITE, 1, 120);

Last edited by romah : 12-15-2010 at 05:50 PM.
Offline  
Closed Thread


Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: How to switch the cellsite mode if Autonomous is not availabe?
Thread Thread Starter Forum Replies Last Post
8703e guide techman1 BlackBerry Guides 3 09-28-2006 09:24 AM
8703e guide and all other series of bb techman1 BlackBerry Guides 1 09-21-2006 09:12 PM
7250 switch to vibrate mode bblwink General Legacy Device Discussion 1 07-30-2006 03:30 PM
Can't switch to other apps while in phone mode ShaneToronto General BlackBerry Discussion 6 03-02-2006 01:33 AM
Is there anyway to switch from Vibrate/Discreet mode... phone_caller RIM Software 1 02-11-2006 11:34 AM

IOTech ADC488/16 Measurement Computing Analog-Digital Converter ADC
$121.28
IOTech ADC488/16 Measurement Computing Analog-Digital Converter ADC pictureMeasurement Computing PCI-DAS08 Board Card DAQ 8-Channel 12-Bit Analog Input
$45.0
Measurement Computing PCI-DAS08 Board Card DAQ 8-Channel 12-Bit Analog Input   pictureExtron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface **NEW In Box**
$125.0
Extron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface **NEW In Box** pictureInstrument Computer Analog Number Readout German 24 Volt FS066 National Lab Lot
$200.0
Instrument Computer Analog Number Readout German 24 Volt FS066 National Lab Lot pictureMeasuring Computing PCIM-DAS1602/16 Analog/Digital Channel T71890
$400.0
Measuring Computing PCIM-DAS1602/16 Analog/Digital Channel T71890  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.