• Forums
  • >
  • Apps
  • >
  • Satellite info on the Samsung Rugby 2 phones
Reply to Post
Expert Spy
swamiiyer
4 Posts
Member since ‎04.03.2011

Satellite info on the Samsung Rugby 2 phones

Hi,

The JSR 179 (location) object does not have methods to retrieve satellite and the 

 


 

String nmea = location.getExtraInfo("application/X-jsr179-location-nmea");

 

returns null. How do we get satellite information for the Samsung Ruby 2 phones?

 

Can someone point me to the right direction?

 

Thanks,

Swami

AT&T Support
76 Posts
Member since ‎05.09.2005

Re: Satellite info on the Samsung Rugby 2 phones

Hi Swami,

 

Are you ensuring the device has a GPS fix before calling getExtraInfo()? If not, getExtraInfo() is sure to return null.

Karim Varela
AT&T Developer Support
Expert Spy
swamiiyer
4 Posts
Member since ‎04.03.2011

Re: Satellite info on the Samsung Rugby 2 phones

Hi Karim,

Yes. I also found that the method using which it got the position was Terminal assisted, which makes me wonder could be the issue. 

 

But I have been searching hi and low to get some evidence on whether someone has been successful in getting this to work.

AT&T Support
76 Posts
Member since ‎05.09.2005

Re: Satellite info on the Samsung Rugby 2 phones

Hi Swami, I've confirmed w/ Samsung that the Rugby II doesn't support Location.getExtraInfo(“application/X-jsr179-location-nmea”). In fact, there is no way to get satellite info from a MIDlet on the Rugby II.

Karim Varela
AT&T Developer Support
Expert Spy
swamiiyer
4 Posts
Member since ‎04.03.2011

Re: Satellite info on the Samsung Rugby 2 phones

Hi Karim,

Thanks for the information. May be I will ask this question in a different way, the reason we are looking for satellite information is to find the accuracy of GPS and/or the quality of the GPS.

 

Can you recommend any other means using which I can find the quality of the GPS?

AT&T Support
76 Posts
Member since ‎05.09.2005

Re: Satellite info on the Samsung Rugby 2 phones

Have you tried using Location.getQualifiedCoordinates()?

Karim Varela
AT&T Developer Support
Expert Spy
swamiiyer
4 Posts
Member since ‎04.03.2011

Re: Satellite info on the Samsung Rugby 2 phones

Karim,

Yes I used the getQualifiedCoordinates to get the latitude and longitude. There has been occassions where we have got 0.0 with the above calls, hence we need to determine the accuracy of the latitude and longitude. I have struggeled with this for a long time and have found no way out. 

 

To rephrase my question, what can I do to ensure that I get valid lat/long from the samsung rugby ii? 

 

I have tried using the horizontal accuracy greater than 500 metres and vertical accuracy greater than 500 metres, it returns the lat/long but I cannot get the vertical and horizontal accuracy assoicated with the GPS points. I have tried the other way of setting 0 for both and it returns GPS but I cannot get the vertical and horizontal accuracy associated with the GPS.

 

 

Any help?

  • of 1