Tuesday, April 3, 2012

Re: [android-developers] How to put a MapView (Google API) in a layout?

On Tue, Apr 3, 2012 at 7:52 AM, Alexandre LOCTIN <loctin.alexandre@gmail.com> wrote:
I maybe not using the right way to do it. Is it possible to do it?

Read the stack trace - it tells you the exact problem:

04-03 14:40:33.670: E/AndroidRuntime(414): Caused by: java.lang.IllegalArgumentException: MapViews can only be created inside instances of MapActivity.

-------------------------------------------------------------------------------------------------
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate