{"id":1732,"date":"2022-08-30T15:18:59","date_gmt":"2022-08-30T15:18:59","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/29\/issue-with-using-localstorage-in-phonegap-for-android-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:18:59","modified_gmt":"2022-08-30T15:18:59","slug":"issue-with-using-localstorage-in-phonegap-for-android-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/issue-with-using-localstorage-in-phonegap-for-android-collection-of-common-programming-errors\/","title":{"rendered":"Issue with using LocalStorage in PhoneGap for Android-Collection of common programming errors"},"content":{"rendered":"<p>To resolve : Application error &#8211; A network error occurred. (file:\/\/\/android_asset\/www\/messagedetails.html?Id=29) in Android 4.0,I am using LocalStorage. This approach gave me the solution for the problem.But when the App is not run for long time or kept on hold., I am facing the issue again. I am not able to navigate from one page to another page. \ud83d\ude41<\/p>\n<p>I added the code to clear the App cache , is it the right approach???<\/p>\n<p>Thanks in advance.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-29 12:22:45. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>To resolve : Application error &#8211; A network error occurred. (file:\/\/\/android_asset\/www\/messagedetails.html?Id=29) in Android 4.0,I am using LocalStorage. This approach gave me the solution for the problem.But when the App is not run for long time or kept on hold., I am facing the issue again. I am not able to navigate from one page to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1732","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1732"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1732\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}