Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 800263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:16:00+00:00 2026-05-14T23:16:00+00:00

I am using Android emulator with AVD of Android 2.1 and I have the

  • 0

I am using Android emulator with AVD of Android 2.1 and I have the following problem: Trying to load a URL in a WebView using webView.loadUrl causes it to open in the browser instead.

Note: I am talking about the initial opening, not the issue in which links from the WebView open in a browser, though, perhaps it is somehow connected.

I’ve tried several things:

  • I’ve removed <uses-permission android:name="android.permission.INTERNET" /> from the manifest. That actually made it work correctly, i.e, load the html into the webview. However, as one would expect, the only thing it loaded is “unable to connect the internet” error page.
  • I’ve debugged the project to make sure and indeed at loadUrl function, it opens Android browser. The CatLog at this point is as such:

05-23 22:54:06.858:
INFO/ActivityManager(51): Starting
activity: Intent {
act=android.intent.action.VIEW
cat=[android.intent.category.BROWSABLE]
dat=http://m.walla.co.il/ErrorPage.aspx?ReturnUrl=/Default.aspx
cmp=com.android.browser/.BrowserActivity
}

  • I’ve tried downloading a real sample project (“Hello Android” book source files, project – BrowserView). However, it didn’t work just the same.
  • I’ve created a new project and followed the directions at Google’s official tutorial of using WebView and got the same result.

I haven’t find anyone else complaining about it. Why does it happen?

Thanks,
Vitaly

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:16:00+00:00Added an answer on May 14, 2026 at 11:16 pm

    The URL you are trying to visit probably has a redirect. Redirects behave like link clicks and will by default open in the Browser. Make sure the URL you are visiting does not do a redirect (e.g., HTTP 301 response), or use WebViewClient and shouldOverrideUrlLoading() to catch these and re-route them back to the WebView.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to do barcode scanning using Android emulator. Could anyone please tell me
Possible Duplicate: Slow Android emulator I am using Eclipse to load the Android project
I recently started using eclipse and an AVD emulator to develop android apps for
How to open a text file in android.I am using android 1.5 emulator and
I'm trying to record sound using Android Emulator. I know that this question is
I am using the Android AVD SDK File Explorer view, I have the emuator
I am using the Android Emulator to debug my application, first off it is
Starting with Android SDK Tools rev 17 the Android emulator supports using the hardware
I'm using google api 15 on android emulator. I want to specify a country
This is pretty simple: I'm using NetBeans on Linux with Android emulator 1.6. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.