BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-24-2012, 07:03 AM   #1
narasinga
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9630
PIN: N/A
Carrier: Reliance
Posts: 29
Default programmatically Select Default GPS Data Source

Please Login to Remove!

Hi friends,

currently i m working on GPS tracking application. while developing this application i found some problem in GPS Selection some times it gives Blackberry app Error 603.

In my mobile i have paired with some blackberry devices using bluetooth. these items are (which are paired with this Device Bluetooth) are visible in GPS Device Selection option.

I have attached my problem to this post and please check that image to solve. by default bluetooth device was selected (instead of Device GPS).

i want to change that value to Device GPS (From Blackberry 9300).
Attached Images
File Type: jpg BBScreenie2012_09_24_17_25_24.jpg (32.2 KB, 6 views)

Last edited by narasinga; 09-24-2012 at 07:18 AM..
Offline  
Old 09-24-2012, 09:17 AM   #2
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default Re: programmatically Select Default GPS Data Source

It is not entirely clear what you are asking. Do you want to select the GPS Data Source to be Device GPS from an application, or are you trying to do something else?
__________________
My other Blackberry is a PlayBook.
Offline  
Old 09-24-2012, 10:02 AM   #3
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: programmatically Select Default GPS Data Source

The typical way to get the *default* provider is to provide a null criteria.
Offline  
Old 09-24-2012, 10:45 PM   #4
narasinga
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9630
PIN: N/A
Carrier: Reliance
Posts: 29
Default Re: programmatically Select Default GPS Data Source

yes exactly hrbuckley. i want to select the GPS Data Source to be Device GPS from my Application but in my device Blackberry 9300 has selected as default how would i change it programatically. ??
Offline  
Old 09-25-2012, 12:54 PM   #5
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default Re: programmatically Select Default GPS Data Source

I don't believe it is possible to change that option through the API. If you want to use the device GPS you will have to select it on that Options page.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 09-27-2012, 10:26 PM   #6
narasinga
Knows Where the Search Button Is
 
Join Date: Sep 2011
Model: 9630
PIN: N/A
Carrier: Reliance
Posts: 29
Default Re: programmatically Select Default GPS Data Source

hi atleast can we delete paired devices in Bluetooth because if i delete them then the default GPS Source will be the Device GPS..
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: programmatically Select Default GPS Data Source
Thread Thread Starter Forum Replies Last Post
Unable to view WebConsole airalex BES Admin Corner 0 09-20-2010 11:00 AM
BB Bold GPS...assisted? Skeets General 9000 Series Discussion - Bold 21 07-30-2008 07:08 PM
Cant publish my application to MDS MetDox Developer Forum 9 02-27-2008 01:54 PM


For iPhone 5 5s 6 Plus 6S 6 6S Plus 7 8 Plus LCD Display+ Touch Replacement OEM picture

For iPhone 5 5s 6 Plus 6S 6 6S Plus 7 8 Plus LCD Display+ Touch Replacement OEM

$29.88



NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$35.90



NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015 picture

NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015

$49.90



OEM Battery for MacBook Pro 17

OEM Battery for MacBook Pro 17" A1309 A1297 Early 2009 Mid 2009 2010 MC226

$42.80



A1417 OEM Battery for Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 US picture

A1417 OEM Battery for Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 US

$45.90



A1618 NEW OEM Battery for MacBook Pro 15

A1618 NEW OEM Battery for MacBook Pro 15" Retina A1398 Mid 2015 020-00079

$49.90







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