[android-developers] Re: send nmea data to android emulator

2009-04-02 Thread malt

Hera are some of my nmea records, all RMC-records have status 'A':

$GPGSV,2,1,08,26,64,173,40,09,49,277,41,29,49,161,39,28,40,058,43*78
$GPGSV,2,2,08,07,35,109,37,18,31,287,34,05,10,224,25,08,06,089,*75
$GPRMC,060738.799,A,5219.5448,N,01022.2971,E,5.11,25.65,090104,,*3D
$GPGGA,060740.799,5219.5491,N,01022.2976,E,1,06,1.6,145.4,M*05
$GPGSA,A,3,07,26,29,18,05,09,,,2.6,1.6,2.1*3F
$GPGSV,2,1,08,26,64,173,42,09,49,277,44,29,49,161,40,28,40,058,43*71
$GPGSV,2,2,08,07,35,109,35,18,31,287,34,05,10,224,24,08,06,089,*76
$GPRMC,060740.799,A,5219.5491,N,01022.2976,E,7.82,8.70,090104,,*02
$GPGGA,060742.799,5219.5560,N,01022.2974,E,1,06,1.6,143.4,M*0C
$GPGSA,A,3,07,26,29,18,05,09,,,2.6,1.6,2.1*3F
$GPGSV,2,1,08,26,64,173,41,09,49,277,41,29,49,161,40,28,40,058,42*76
$GPGSV,2,2,08,07,35,109,34,18,31,287,31,05,10,224,21,08,06,089,*77
$GPRMC,060742.799,A,5219.5560,N,01022.2974,E,11.52,3.83,090104,,*30
$GPGGA,060744.799,5219.5654,N,01022.2969,E,1,06,1.6,142.0,M*07
$GPGSA,A,3,07,26,29,18,05,09,,,2.6,1.6,2.1*3F
$GPGSV,2,1,08,26,64,173,41,09,49,277,41,29,49,161,39,28,40,058,42*78
$GPGSV,2,2,08,07,35,109,34,18,31,287,35,05,10,224,19,08,06,089,*78
$GPRMC,060744.799,A,5219.5654,N,01022.2969,E,14.85,2.31,090104,,*39
$GPGGA,060746.799,5219.5764,N,01022.2964,E,1,06,1.6,140.9,M*01

On Apr 1, 3:18 pm, David Turner di...@android.com wrote:
 Do you have example sentences that demonstrate the problem.
 For the record, the emulator-specific GPS support in the system will only
 record GPRMC sentence with a fix status of 'A'



 On Tue, Mar 31, 2009 at 1:51 PM, malt alt.mi...@googlemail.com wrote:

  I'm writing a Android gps application using locationmanager with
  locationlistener and I'm only testing with the emulator. This is my
  problem.
  - When sending only $GPGGA nmea sentences to emulator by telnet,
  everything works fine.
  - When sending only $GPRMC nmea sentences to emulator by telnet, the
  first location is recognized by locationmanager, the gps provider goes
  into status 2, next $GPRMC sentence is not recognized.

  This happens not only with my application, the Google Maps application
  and also others show the same behaviour: they get only the first
  $GPRMC location.

  When sending a $GPGGA sentence after the $GPRMC, the locationlistener
  gets controll and location is shown.- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: send nmea data to android emulator

2009-04-01 Thread David Turner
Do you have example sentences that demonstrate the problem.
For the record, the emulator-specific GPS support in the system will only
record GPRMC sentence with a fix status of 'A'

On Tue, Mar 31, 2009 at 1:51 PM, malt alt.mi...@googlemail.com wrote:


 I'm writing a Android gps application using locationmanager with
 locationlistener and I'm only testing with the emulator. This is my
 problem.
 - When sending only $GPGGA nmea sentences to emulator by telnet,
 everything works fine.
 - When sending only $GPRMC nmea sentences to emulator by telnet, the
 first location is recognized by locationmanager, the gps provider goes
 into status 2, next $GPRMC sentence is not recognized.

 This happens not only with my application, the Google Maps application
 and also others show the same behaviour: they get only the first
 $GPRMC location.

 When sending a $GPGGA sentence after the $GPRMC, the locationlistener
 gets controll and location is shown.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---