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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:36:46+00:00 2026-06-13T03:36:46+00:00

I am developing an Hybrid Mobile app using Windows Phone 7 sdk and phonegap.

  • 0

I am developing an Hybrid Mobile app using Windows Phone 7 sdk and phonegap. Using Cordova local storage I am storing value. The stored value does not persist If I close the app and launch again in windows phone emulator. Anybody used local storage or alternative persistant storage in windows phone shares idea would be great.

window.localStorage.test = "Some test data";
console.log(window.localStorage.test) //It prints result but does not persist
  • 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-13T03:36:47+00:00Added an answer on June 13, 2026 at 3:36 am

    I believe the correct syntax is:

    window.localStorage.setItem("test", "Some test data");
    
    console.log(window.localStorage.getItem("test"));
    

    Assigning properties appears to work simply because javascript allows you to attach new properties to objects.

    Original Answer Are you closing the emulator between executions? The emulator clears its user state when you close it.

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

Sidebar

Related Questions

I am currently developing a Hybrid App for iPhone using Cordova and Xcode. It
We are developing a hybrid mobile app (code is written in HTML and runs
I'm investigating the feasibility of developing a native (hybrid) app based on HTML/Javascript (using
I am developing hybrid application by using webview and native both. I am using
Developing a VSS writer app: see this error during backup, initiated by windows backup
I'm developing smartphone hybrid applications. I'm trying to hide/show a <div> with slideDown /
While developing an application using gwt in ecliplse crashed. Now the server is running
We are developing a hybrid iPhone application. It has a webview that loads some
Greetings. I am developing an animated homepage for a Flash-HTML hybrid website, and for
Developing an app where all tabular data is returned as an object. Some cells

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.