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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:10:57+00:00 2026-05-29T06:10:57+00:00

i am building a phonegap(v1.3) android(for 3.1 sdk) app. i load the index.html page

  • 0

i am building a phonegap(v1.3) android(for 3.1 sdk) app. i load the index.html page as in the sample app

public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    super.setIntegerProperty("loadUrlTimeoutValue", 60000);
    super.loadUrl("file:///android_asset/www/index.html"); 
}

this works fine. now later on i want to load another abc.html file in the webview when i call for it from the js through a plugin. How to achieve a function like this which we can call from a Phonegap plugin.

public void loadUrl(String file){
     super.setIntegerProperty("loadUrlTimeoutValue", 60000);
     super.loadUrl("file:///android_asset/www/"+file+".html");   
}

Or if not this way, how to load another html in the phonegap webview?

  • 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-29T06:10:58+00:00Added an answer on May 29, 2026 at 6:10 am

    a simple

    window.location.href = "file.html";
    

    was the way. 🙁

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

Sidebar

Related Questions

We are building a PhoneGap app (both for iOS and Android) that has a
I am building a Android HTML5 App using phonegap - Is it possible to
I'm building an Android with PhoneGap 1.4 app in Mac OSX 10.7.3 using Eclipse.
Currently I am building an app using phonegap for the Android and iOS systems.
I am building a mobile app using jquery mobile and phonegap for both android
I'm building an Android application that's based around an enhanced WebView (based on PhoneGap).
Helo. I am building an application for kids using Phonegap. On Android I have
I am building a cross-platform mobile app in jQueryMobile and PhoneGap and am currently
Tested on Android, Samsung Galaxy S, phonegap version: 1.3.0 I´m building a user based
Building a sample ASP.NET MVC app. Using the Membership API for authentication. For whatever

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.