I followed the instructions in the Android WebView tutorial (at http://developer.android.com/resources/tutorials/views/hello-webview.html). When I deploy it to the emulator, it just displays a blank (white) page. The 3G icon is present in the emulator. I have the “INTERNET” permission set in my manifest, exactly as described in the tutorial.
And to more clearly confirm that I did it right, when I deploy it to my device (Droid2), it works perfectly fine. immediately displaying the web page specified in the app (www.google.com).
Following this is the relevant Android console output. I would think the last line might be relevant, but I don’t know what it means.
[2010-11-27 19:45:18 – HelloWebView]
Android Launch! [2010-11-27 19:45:18 –
HelloWebView] adb is running normally.
[2010-11-27 19:45:18 – HelloWebView]
Performing
com.example.hellowebview.HelloWebView
activity launch [2010-11-27 19:45:18 –
HelloWebView] Automatic Target Mode:
Several compatible targets. Please
select a target device. [2010-11-27
19:45:20 – HelloWebView] WARNING:
Application does not specify an API
level requirement! [2010-11-27
19:45:20 – HelloWebView] Device API
version is 8 (Android 2.2) [2010-11-27
19:45:23 – HelloWebView] Application
already deployed. No need to
reinstall. [2010-11-27 19:45:23 –
HelloWebView] Starting activity
com.example.hellowebview.HelloWebView
on device emulator-5554 [2010-11-27
19:45:24 – HelloWebView]
ActivityManager: Starting: Intent {
act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER]
cmp=com.example.hellowebview/.HelloWebView
} [2010-11-27 19:45:24 – HelloWebView]
ActivityManager: Warning: Activity not
started, its current task has been
brought to the front
Probably one of these are helpful: