Yes, I do

On 7月10日, 下午4時46分, Ashok Jeevan <[email protected]> wrote:
> Did you add the permission(s) like 'INTERNET' in the manifest file?
> If no, you have to give the permission to access the internet.
>
>
>
> On Fri, Jul 10, 2009 at 1:37 PM, Victor Lin <[email protected]> wrote:
>
> > Hi,
>
> > I am building a application that use MapView.
>
> > This is the map.xml file I create in layout folder:
>
> > "<?xml version="1.0" encoding="utf-8"?>
> > <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
> > android"
> >    android:id="@+id/MapLayout"
> >    android:orientation="vertical"
> >    android:layout_width="fill_parent"
> >    android:layout_height="fill_parent" >
>
> >    <com.google.android.maps.MapView
> >        android:id="@+id/MapView"
> >        android:layout_width="fill_parent"
> >        android:layout_height="fill_parent"
> >        android:clickable="true"
> >        android:apiKey="**************************"
> >    />
>
> > </RelativeLayout>"
>
> > And I set it as content view in onCreate:
>
> > setContentView(R.layout.map);
>
> > Then once I start up the program, I got a exception:
>
> > android.view.InflateException: Binary XML file line #8: Error
> > inflating class java.lang.reflect.Constructor
>
> > I do add "uses library" in manifest. It seems there is nothing wrong
> > in xml file. What am I doing wrong? How to fix it?
>
> > Thanks.
> > Victor Lin.
>
> --
> Ashok Jeevan
> +91 9895401278
--~--~---------~--~----~------------~-------~--~----~
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