Connecting the Android application to the GPS device


I'm building an android app which will have Google map embedded.

This app should display in the map a number of buses in an area.

I understand I need to install GPS devices on the buses and then connect each device to my app.

My question is; How do I connect the android app to a GPS device?

Really need info. Thanks!

You wouldn't, directly. You'd have the GPS device report over the internet to a central server via a webservice. Then you'd have a second web service provide that data to Android devices which request it.