Hi,
I have some questions concerning the communication between an Activity and a Service. I'd like to write a speedmeter application, where the UI is constantly updated with new data derived from the GPS sensor.
So far, I have an LocationListener running in a service. What is the best practice in Android:
1) Access the service from an Activity, let's say every second and update the UI. Or,
2) Let the service update the UI.
Could you provide some helpful links for case 2), please?.
Case 1) shouldn't be a problem with a LocalService and an IBinder interface, right?
Thanks!