- - GPS location on Curve
|OttoKruger ||09-29-2009 03:19 PM |
GPS location on Curve
I use the code presented below for getting GPS location on Storm. When I launch my app on Curve I cannot get location. I was waiting for 10 minuts and then I stopped app. Does Curve or any other non-touchable devices requre somthing else for getting location?
Criteria criteria = new Criteria();
criteria.setHorizontalAccuracy( 1000 );
criteria.setVerticalAccuracy( 1000 );
criteria.setCostAllowed( false );
criteria.setPreferredPowerConsumption( Criteria.POWER_USAGE_MEDIUM );
QualifiedCoordinates qualifiedCoordinates = null;
LocationProvider locationProvider = LocationProvider.getInstance( criteria );
Location location = locationProvider.getLocation( -1 );
qualifiedCoordinates = location.getQualifiedCoordinates();
|OttoKruger ||09-30-2009 10:53 PM |
This model has GPS and I set it ON. I am not sure about PDE. What I know when I invoke getLocation( -1 ) method it never returns. I see that device sends some reqests (moving arow in right top coner) but no response.:-(
|OttoKruger ||09-30-2009 10:54 PM |
By the way provider is T-Mobile.
|Dougsg38p ||10-01-2009 07:56 AM |
T-Mobile does not restrict the on-board GPS, so it should work.
Are you outdoors? You won't get an autonomous fix inside your building.
Also, it may take up to 3 minutes to get a first fix, once you get a line-of-sight to the satellites.
|Dougsg38p ||10-01-2009 02:10 PM |
One other comment - all of that Criteria code is a waste of time in this case.
There is only one provider on this device - the chip. It can only do certain things, so asking for ANYTHING that it cannot do wil cause a failure, since it will pass and say "can't do that".
Just pass null as your criteria, it will give you the "default" provider, which in this case is the only one.
|OttoKruger ||10-01-2009 03:10 PM |
I tried outdoor and I tried passing criteria as null. Effect is the same as getLocation never returns. I was waiting more than 5 min.
How can I detect if device has autonomous chip. How can I switch to cellsite or assisted? How can I be sure that chip is not damaged?
Too many questions.
|Dougsg38p ||10-01-2009 06:40 PM |
|OttoKruger ||10-01-2009 06:57 PM |
Any BlackBarry devices like Curve, Storm etc.
|Dougsg38p ||10-01-2009 07:23 PM |
I'm looking for a specific model number on the Curve.
|OttoKruger ||10-02-2009 02:20 AM |
|Dougsg38p ||10-02-2009 07:38 AM |
The 8320 has no on-board GPS. I pointed this out in an earlier post (see the attachments post #2).
You will have to attach a Bluetooth GPS puck to get GPS on this device.
|OttoKruger ||10-02-2009 03:35 PM |
I do not like autonomous because it does not work in buildings. Can I switch to cellsite or assisted and how can I do it?
|Dougsg38p ||10-02-2009 04:21 PM |
T-Mobile provides no assisted GPS that I am aware of.
You'll have to find a 3rd-party service that you can hit with your tower ID for a poor-mans assisted fix.
I haven't done that but I've think I've seen forum traffic from those who have.
|All times are GMT -5. The time now is 07:40 PM. || |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.