+ Reply to Thread
Results 1 to 2 of 2

Thread: How to display a web page in android app?

  1. #1

    How to display a web page in android app?

    I dont want to use browser to display the page but i want to embed the funtionality into my know android app .is it possible.

  2. #2
    Junior Member
    Join Date
    Aug 2012
    The simplest case is displaying an HTML page or image by supplying the URL of the
    resource to the WebView. The following are a handful of practical uses for this technique
    in your applications:

    1. Provide access to your corporate site without leaving the application
    2.Display a page of live content from a web server, such as an FAQ section, that can be changed without requiring an upgrade to the application.

    public class MyActivity extends Activity { 
    public void onCreate(Bundle savedInstanceState) { 
    WebView webview = new WebView(this); 
    //Enable JavaScript support 

+ Reply to Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts