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 4052294
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:18:08+00:00 2026-05-20T14:18:08+00:00

Within my application I would like to show a web page within a view

  • 0

Within my application I would like to show a web page within a view in the application.

I am not sure how to apply the view on just a part of the application and open a web page within the view.

The web page within the view will open when the user clicks a button.

The webview will be on the right hand side of the screen like in the image below:

enter image description here

Is this possible?

Please help. Thanks

Edit:

I have included a tablelayout within the relative layout I already had.

<TableLayout android:layout_width="200dip"
        android:layout_height="100dip" android:stretchColumns="1"
        android:background="#000000" xmlns:android="http://schemas.android.com/apk/res/android"
         android:layout_marginLeft="250px"
         android:layout_marginTop="80px">
<TableRow>
<WebView  xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/webview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
/>
</TableRow>
</TableLayout>  

I then call the webview in my application like this within an onclick button:

mWebView = (WebView) findViewById(R.id.webview);
            mWebView.getSettings().setJavaScriptEnabled(true);
            mWebView.loadUrl("http://www.google.com");

But nothing happens when I click this?

  • 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-20T14:18:09+00:00Added an answer on May 20, 2026 at 2:18 pm

    Try: http://developer.android.com/reference/android/widget/TableLayout.html

    Make one of the cells your web view.

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

Sidebar

Related Questions

Within my application I would like to have a dialog box or a form
I'm going to be building an application within the next six months that will
I am using Tiles within my web-application. I have a standard-layout (standard.jsp) within the
Inside my ASP.NET application, I would like to add an iframe where I can
I am to build a web application which will accept different events from external
I have a complex input form within a PHP based web application. To structure
Within an application, I've got Secret Keys uses to calculate a hash for an
There is an actual running Java ServerPages (JSP) application within a *NIX box which
If I need to throw an exception from within my application which of the
Can both WPF and Windows forms controls be used within one application? How difficult

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.