guradio Posted November 9, 2013 Share Posted November 9, 2013 im currently doing an android web based application any idea how to deal with local database im not really that proficient in databases so suggestions will be appreciated. 1 Link to comment Share on other sites More sharing options...
justsomeguy Posted November 11, 2013 Share Posted November 11, 2013 The Android browser supports the HTML5 localStorage methods, you should be able to use that like you do with any other browser. https://www.google.com/search?client=opera&q=android+local+storage&sourceid=opera&ie=UTF-8&oe=UTF-8#q=html5+local+storage Link to comment Share on other sites More sharing options...
guradio Posted November 16, 2013 Author Share Posted November 16, 2013 encounter another problem with my app.as we all know mobile device has 2 orientation landscape and portrait when i tried to change orientation from portrait to landscape the data didnt fit so what i did was to make a different html file for the landscape and portrait.i was able to make the change the porblem is when i have stared using portrait and input date on the app and suddenly make a change in orientation the app starts from the start and all the data are lost. how can i change orientation without the loss of data and to continue where i make the change Link to comment Share on other sites More sharing options...
justsomeguy Posted November 18, 2013 Share Posted November 18, 2013 It needs to all run on the same page. You should be using a layout that can handle the adjustment. Link to comment Share on other sites More sharing options...
thescientist Posted November 19, 2013 Share Posted November 19, 2013 look into responsive web design. A popular CSS framework available is Bootstrap. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now