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 10:24 AM
8703e guide and all other series of bb techman1 BlackBerry Guides 1 09-21-2006 10:12 PM
7250 switch to vibrate mode bblwink General Legacy Device Discussion 1 07-30-2006 04: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





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