Im fairly new to Android and Java but i've worked my way through a
number of guides and tutorials.

Im building an app that consists of a main activity and a surfaceview
which is updated via a thread.

I want to use location data (best of GPS and network) and sensor data
to animate my surfaceview, however I also want to use the data in my
main activity in some textviews.

What the best way to structure my app?
Should I get the data in the main activity and somehow pass it to the
surface view?
Should I get the data in my surface view and pass it make to the main
activity?
Should I get it in my thread?

I appreciate any help or examples.

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