1. Download our Official Android App: Forums for Android!

Apps How to show HTML page in browser?

Discussion in 'Android Development' started by StevenHu, Mar 10, 2011.

  1. StevenHu

    StevenHu Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    91
    Joined:
    Feb 8, 2011

    Feb 8, 2011
    91
    0
    15
    Male
    Webmaster
    Orange County
    I used the Javascript code on this page to make a browser database:
    HTML5 Rocks - A Simple TODO list using HTML5 WebDatabases

    When I double-click on the HTML file containing the above code in my Mac, it opens in a browser window. I click in the field and type a word, then hit the submit button. Then the content I typed appears on the page, pulled from the database, which is powered by the HTML5-compatible browser.

    I added the HTML page to my Android SDK/Eclipse/PhoneGap project, but it does not work. It needs to display in a browser, not just a window or a WebView. How do I make the page appear in a browser within Android/PhoneGap so the database elements will engage properly?

    Thanks!
     

    Advertisement

Share This Page

Loading...