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.

-- 
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

Reply via email to