Maybe you can visualize my suggested solution better with some code:

                if (demo) {
                        demoLocationManager.requestLocationUpdates(provider, 
min, distance, this);
                } else {
                        locationManager.requestLocationUpdates(provider, min, 
distance, this);
                }

The question then is if the demoLocationManager would send precanned
upadates or if you need to use some other kind of input, such as a
sensor, to create live interactive updates.

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