title: Upgrading from PhoneGap to Native
body: <p>I have a PhoneGap application and i use HTML5 LocalStorage so save user data (like user token, username, etc.).</p>
  
  <p>The thing is, that recently we decided to move from PhoneGap to Native Android application. But there is one thing i need to solve:</p>
  
  <p>Is it possible to fetch the data from HTML5 LocalStorage using java code? We don't want users to be logged out after the update, so i need a way to fetch the user token from that LocalStorage and save it in the SharedPreferences.</p>
  
  <p>Thanks in advance!</p>