Hi,
could anyone help with architecture of application that would gather info
from sensors and send it or save it to database.
My idea was to make service that would gather data from
GPS,accelerometer,orientation and send it to my web service while also
saving it to database on phone.
Service would run in background and fronted (Activity) would be used to
communicate with service (ie. shut it down or start it) , show data from
service.
Is this good approach?
What are means of communication with activity from service? (that are fast
enough for this type of task)
Thanks for help.