Mark,

This sample is from your book (which I subscribed to)!

Here is AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
    package="com.good.atg.browserSample">
    <uses-permission android:name="android.permission.INTERNET" />
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".BrowserSample" android:label="@string/
app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

Here is main.xml:

<?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"
   >
<WebView android:id="@+id/webkit"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   />
</LinearLayout>

On Sep 5, 11:21 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> RPO wrote:
> > The following code used to work in the 0.5 SDK release... what am I
> > missing now?
>
> > I have
> >    <uses-permission android:name="android.permission.INTERNET" />
> > within my AndroidManifest.xml file.  The browser built into the
> > emulator works fine.
>
> First, what happens when you run this?
>
> Second, can you post your manifest and layout?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Warescription: All titles, revisions, & ebook formats, just $35/year
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to