Here is the solution about the GpsStatus and GpsSvStatus that I fixed the original problem. http://nelsonchunglife.blogspot.com/2010/12/android-gps-porting-hal-code-fix.html
On 12月27日, 上午11時04分, nelsonchung <[email protected]> wrote: > Hi all, > > I found that I need to implement other functions follow by gps.h in > order to see the information of gps nmea. > > Here is the solution I described on my blog about how to fix gps nmea > issue.http://nelsonchunglife.blogspot.com/2010/12/android-gps-porting-hal-c... > > Please let me know if you have any question. > > On 12月24日, 下午5時12分, nelsonchung <[email protected]> wrote: > > > > > > > > > Dear Anil, > >http://nelsonchunglife.blogspot.com/2010/12/android-gps-porting-hal-c... > > I follow your comment to implement HAL. > > > AP - LocationManager can read Location information now. > > > Very appreciate for you help. > > > I have another problem. > > > How can I let GpsStatus.Listener() and GpsStatus.NmeaListener() work > > fine? > > > I think I must implement something in HAL too, but I have no idea > > about this. > > > In HAL, I implement the following function. > > > nmea_reader_init > > nmea_reader_set_callback > > nmea_reader_update_time > > nmea_reader_update_date > > nmea_reader_update_latlong > > nmea_reader_update_altitude > > nmea_reader_update_bearing > > nmea_reader_update_speed > > nmea_reader_parse > > > What else function should I implement? > > > Very appreciate for any help or comment. > > > On 12月13日, 下午3時00分, Anil Sasidharan <[email protected]> wrote: > > > > Hi, > > > > You need to implement gps HAL to hook this data up into Android's > > > LocationService JNI. > > > > Warm Regards, > > > Anil > > > > On Mon, Dec 13, 2010 at 12:27 PM, nelsonchung > > > <[email protected]>wrote: > > > > > I can read gps nmea from /dev/ttymxc1 under linux shell command mode > > > > like this - cat < /dev/ttymxc1. > > > > But, I want to know how/where to set in order to let AP level > > > > application - LocationManager can get gps nmea via JNI/Android. > > > > How/Where should I set? > > > > Should I implement some codes followed gps.h? > > > > Or Can I redirect the nmea from /dev/ttymxc1 to somewhere? > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected]<android-developers%2Bunsubs > > > > [email protected]> > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

