Dear Anil,

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 <anil...@gmail.com> 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 <chihchun.ch...@gmail.com>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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs 
> > cr...@googlegroups.com>
> > 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 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

Reply via email to