BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-25-2008, 02:19 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Location: atm: Kunming norm: Berlin
Model: 8700v
PIN: N/A
Carrier: ChinaMobile
Posts: 55
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default another gps-simulator-problem

Please Login to Remove!

Hi,
I have a problem running my gps-application in the simulator.
"LocationProvider lp = LocationProvider.getInstance(cr);" allways returns NULL...
criteria = null doesn't change anything...

I have started the "gps-simulation" and added a position....do I have to do anything else? like start gps in the (simulated)device?

and why does getInstance return null and doesn't throw a LocationException which it shoud if no provider was available....

thx in advance
JJ

EDIT: ok, sorry I just noticed that getInstance() does return NULL "If no concrete LocationProvider could be created that typically can match the defined criteria but there are other location providers not meeting the criteria that could be returned for a more relaxed criteria"...
still I don't understand why the default LP is not found in the simulator...?
and if there are other LPs available, how do I get those?

EDIT2: ok,ok problem solved...that was stupid...the pearl doesn't have a gps-module? I just had to switch on the gps bluetooth in range option in the simulator............

Last edited by jenselense : 07-26-2008 at 04:02 AM. Reason: solved...
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

D129649 Cenco HYVAC 45 Vacuum Pump w/ GE Control Motor Starting Switch CR1062
$200.0
D129649 Cenco HYVAC 45 Vacuum Pump w/ GE Control Motor Starting Switch CR1062 pictureEAO 704.900.3 3 Position Maintained Selector Switch 7049003
$19.99
EAO 704.900.3 3 Position Maintained Selector Switch 7049003 picturenew Lutron AY-600P-AL Dimmer Switch, 600W 1-Pole Ariadni Toggle Dimmer
$7.99
new Lutron AY-600P-AL  Dimmer Switch, 600W 1-Pole Ariadni Toggle Dimmer  pictureALLEN BRADLEY 1494V-DS30 DISCONNECT SWITCH, 30 AMP, 600 V
$3.99
ALLEN BRADLEY 1494V-DS30 DISCONNECT SWITCH, 30 AMP, 600 V pictureBryant UFS32 67FSJ30 3 Pole 30 Amp 600 VAC Fusible Disconnect Switch 67HS22RY
$149.99
Bryant UFS32 67FSJ30 3 Pole 30 Amp 600 VAC Fusible Disconnect Switch 67HS22RY picture






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