On Thu, Jun 30, 2011 at 11:04 PM, jotobjects <jotobje...@gmail.com> wrote:

> How can you make two MapViews work independently of each other in the same
> application?
>

AFAIK, you can't. There is an apparent one-to-one relationship with MapView
and MapActivity and there is only one MapActivity allowed per process.

http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapActivity.html

> Only one MapActivity is supported per process. Multiple MapActivities
> running simultaneously are likely to interfere in unexpected and undesired
> ways.


Looks like you found one of the "unexpected and undesired ways".

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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