I have tried out the Mini MAP application from this page (http://www.anddev.org/googlemaps_mini-t256.html) but i get this error while running: "Error inflating class google.android.maps.MapView (line 14)".
I have been searching for this error and some on google group forum said i should in stead create an instance of the MapView in the main class. After doing so, i get the same error but this time for google.android.ToolBar$ToolBarView.
Anyone know why i get this error?
Here is my layout XML file:
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- <AutoCompleteTextView android:id="@+id/address"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/search_term"
- android:completionThreshold="1"
- android:selectAllOnFocus="true" />
- <view android:id="@+id/mapview"
- class="google.android.maps.MapView"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1"/>
- <view class="google.android.ToolBar$ToolBarView"
- android:id="@+id/toolbar"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"/>
- </LinearLayout>
Parsed in 0.003 seconds, using GeSHi 1.0.8.4

