Yeah Mukesh , Even i tried that way.. no use. Same exception
<com.google.android.maps.MapView
android:id="@+id/mapView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="0aaOjcXTpAupegMXRF0rhA0kAgMbx4AKlyZJJjQ"
android:clickable="true"
android:enabled="true" />
My doubt is where is this MapView Class..
Thanks,
KIRANKUMARKENDOLE
On Wed, Dec 28, 2011 at 6:30 AM, Mukesh Srivastav <[email protected]>wrote:
> The Map tag is incorrect. it should start with your application pacakge
> with activity name, that solve your issue.
>
> some thing like this.
>
>
>
> <com.kiran.map. AndroGMapActivity
> android:id="@+id/mapView"
> android:layout_width="fill_parent"
> android:layout_height="fill_parent"
> android:apiKey="0tgffhTpAupegMXRF0rhA0kAgMbx4AKlyZJJjQ"
> android:clickable="true"
> android:enabled="true" />
> try that, this will solve your probelm.
>
>
>
> On Wed, Dec 28, 2011 at 4:44 PM, Kiran Kumar Kendole <
> [email protected]> wrote:
>
>> Theres nothing in the Activity.. I am just adding main to the activity
>> layout.
>>
>>
>> Code :
>>
>> public class AndroGMapActivity extends Activity {
>> /** Called when the activity is first created. */
>> @Override
>> public void onCreate(Bundle savedInstanceState) {
>> super.onCreate(savedInstanceState);
>> setContentView(R.layout.main);
>> }
>>
>> }
>>
>>
>> Thanks,
>> KIRANKUMARKENDOLE
>>
>>
>>
>> On Wed, Dec 28, 2011 at 6:10 AM, Mukesh Srivastav
>> <[email protected]>wrote:
>>
>>> can u please also show the cod snippet of the activity that will help us
>>> to understand.
>>>
>>> Warm Regards,
>>> *Mukesh Kumar*,
>>> Android Consultant/Freelancer,
>>> India,Hyderabad.
>>>
>>> On Wed, Dec 28, 2011 at 4:37 PM, Kiran Kumar Kendole <
>>> [email protected]> wrote:
>>>
>>>> Hey All ,
>>>>
>>>> I have generated my google API key and tried to run the app, but i see
>>>> some exceptions..
>>>>
>>>> ERROR :
>>>> *12-28 06:03:42.462: E/AndroidRuntime(305):
>>>> java.lang.RuntimeException: Unable to start activity
>>>> ComponentInfo{com.ta.coe/com.ta.coe.AndroGMapActivity}:
>>>> android.view.InflateException: Binary XML file line #6: Error inflating
>>>> class MapView*
>>>> *
>>>> *
>>>> *main.xml code: *
>>>> <?xml version="1.0" encoding="utf-8"?>
>>>> <RelativeLayout xmlns:android="
>>>> http://schemas.android.com/apk/res/android"
>>>> android:layout_width="fill_parent"
>>>> android:layout_height="fill_parent" >
>>>>
>>>> <MapView
>>>> android:id="@+id/mapView"
>>>> android:layout_width="fill_parent"
>>>> android:layout_height="fill_parent"
>>>> android:apiKey="0tgffhTpAupegMXRF0rhA0kAgMbx4AKlyZJJjQ"
>>>> android:clickable="true"
>>>> android:enabled="true" />
>>>>
>>>> </RelativeLayout>
>>>> *
>>>> *KIRANKUMARKENDOLE
>>>>
>>>> --
>>>> 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
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> --
>>> 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
>>
>>
>> --
>> 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
>>
>
>
>
> --
> Warm Regards,
> *Mukesh Kumar*,
> Android Consultant/Freelancer,
> India,Hyderabad.
>
> --
> 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
>
--
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