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

  • Home
  • SEARCH
  • 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 8474055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:31:18+00:00 2026-06-10T17:31:18+00:00

I am working on a mobile application with phonegap and jquery mobile for android.

  • 0

I am working on a mobile application with phonegap and jquery mobile for android. It is working properly but it takes so much time to get data from server.

I want to cache its pages so if user come back on same page he can view same page.
I am using jquery mobile caching code but it is not working.

I am using this code data-dom-cache="true" for cache

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.appView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
        super.loadUrl("file:///android_asset/www/find.html");
    }
  • 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-06-10T17:31:19+00:00Added an answer on June 10, 2026 at 5:31 pm

    Cache is not working in my app so I stored all json data in localstorage by doing this

    window.localStorage.setItem("ALL_USERS",JSON.stringify(data));
    

    where data is json object I retrieve from server.

    And next time i retrieve data from localstorage

    window.localStorage.setItem("ALL_USERS",JSON.stringify(data));
    users = JSON.parse(users);
    

    This solution solved my problem hope it will help others.
    Thanks

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

Sidebar

Related Questions

I'm developing an application using jQuery Mobile, Phonegap. The function below I get data
So here's my problem. I'm currently working on a PhoneGap application using jQuery Mobile
Created a phonegap application using jQuery Mobile. Everything is working great for the most
I am busy working on a mobile application that retrieves data from a web
Working on a mobile application using jquery mobile and phonegap framework. My question is
I am working on a PhoneGap application using jQuery Mobile. Currently I am only
I'm currently working on a PhoneGap application that uses jQuery, jQuery mobile and a
I'm working on a mobile application where I'm trying to combine jQuery UI's draggable
I am working on a JQuery Mobile application. Each of my .html files basically
I'm working on an MVC3 (with Razor) / jQuery Mobile application and am having

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.