Forum Replies Created
-
AuthorPosts
-
TheDemitriusParticipant
Hi Piotr, I’m sorry that I’ve not been clear! Let me try again:
I’m using a Java-based interpreter that uses Local Storage in order to save user data, but data doesn’t seem to be persistent (it will store during sessions, but if I close and reopen the app, the data is gone.)
What I need is for the data to stay in place, even if the app is closed and reopened. If I’m understanding correctly, it should work as-is?
Thanks
~
DemiTheDemitriusParticipantHi Piotr,
I want to add local storage support that will last after the app is closed.
I think that on iOS this is done by adding:
void _OpenInAppBrowser(char *URL, struct DisplayOptions displayOptions) { [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"WebKitStoreWebDataForBackup"]; NSString *urlAsString = [NSString stringWithUTF8String:URL]; _ShowURLWithDisplayOptions(urlAsString, displayOptions); }
But I don’t know how to add this to Android
TheDemitriusParticipantHi Piotr,
I’ve been browsing the forum searching for solutions, I stumbled upon a post (https://www.kokosoft.pl/forums/topic/localstorage-support/) where you discuss local storage support. Would it be possible to add this for android on here? I can’t edit the compiled .jar, but is there a patched version available I could use?
Thanks
~
Demi- This reply was modified 4 years, 6 months ago by TheDemitrius.
- This reply was modified 4 years, 6 months ago by TheDemitrius.
TheDemitriusParticipantHi Piotr,
At a risk of sounding horribly inexperienced, I can’t find any reference to LocalStorage that I can use – Is it an option that I can enable?
Thanks
April 23, 2018 at 3:10 pm in reply to: Keyboard Opens/Closes when trying to input to a web javascript app #1011TheDemitriusParticipantUpdate: I’ve solved the back-button issue I was having (I missed that part when I read through the instructions the first time!). Added “options.hidesTopBar = true;”.
As a random development involving the keyboard issue: If I scroll up on the page during the keyboard flickering, the keyboard will sit still. Not sure how to get the flickering to stop permanently though.
April 23, 2018 at 2:18 pm in reply to: Keyboard Opens/Closes when trying to input to a web javascript app #1010TheDemitriusParticipant-Forgot to mention (because I’m awful) –This is on Android, I haven’t tested iOS yet!
-
AuthorPosts