I'm trying to build a simple iphone webapp. It's only purpose is to process a form, store that data in JSON, and display it on another page. My question is: how do I store this data offline, so that it is not cleared when I relaunch my webapp?
My goal is to visit my app in mobile safari, add it to my homescreen, and start using it.
Use localstorage API of html5 or better use websql. Both are persistent. If you want to create a native app from html5/js code use apache cordova otherwise no need.
Related
is it possible to convert web (social)network made in HTML5 to mobile app? And then enable pop out messages for android and iOs?
If not, what would you suggest?
I'm trying to make some kind of social network and I'm having trobles deciding how to do it. I'd like to make an app and put it on app store or i-store. I know how to do it with html5 and java script, but I don't know how to convert it in to app and give it function of a pop up messages.
you can search for progressive web app(PWA) development which enables you to do this
I'm trying to implement a form of deferred deep linking where a user follows a Universal Link and gets sent to my web site because they do not have the app installed. What I want to do is the following, but I am unsure how to do it:
When they land on the web site, I will create a cookie with information pertinent to how they got there.
I will then direct them to the App Store to install the app.
When they install the app and open it, I should be able to read the previously created cookies to figure out where to direct them in the app.
Step 1 and 2 are easy, but I'm not sure how to read cookies from Safari on iOS and Chrome on Android (presumably no other browser would even be possible) from React Native.
I'm developing a multi-language app with Ionic and angular-translate. I get the translation table from a server with $translateProvider.useStaticFilesLoader.
It works like a charm as long as the app has an internet connection.
The problem is that the client could use the app offline and of course, when you launch the app without internet, it breaks cause translations are not available.
Does anyone knows if it's possible to store the translation table in localstorage (or whatever) and tell angular-translate to use the local translations in order to prevent the app from breaking when there's no internet?
Thank you for your help.
I'm just in the design stage of a new project. I'm wondering what technologies one would use to implement a small Progress (or MySQL) database that would allow browsers (on an iPad/iPhone/android or laptop etc) to download the database after they sign into the web page, then they could edit it while online or offline.
If they're online, changes could be updated immediately, but if they're offline they can modify the data locally and as soon as the connection is restored it can upload the data to the server.
Is there a technology available in HTML5 that would allow this to occur?
Are there limits on file size for the data that can be stored locally?
I believe the database will be small, but it may grow in some areas. Because we only need to fetch the data for that specific user, it should be quite minimal. We really want to do this as a web app to ensure cross platform compatibility, perhaps jQuery Mobile or just HTML5 and JavaScript. We would prefer not to have to develop an iOS app, Windows Form program, android app, etc.
Okay, we talk and hear lot about creating mobile app using javascript and html. I was trying to write one app myself forgetting that some real programs also need to store and access at least, the information stored by the program. I intend to user only the browser of the mobile app and it is offline. Basically, it is just a program written using js. Since the browser is not allowed to create and store the data in the user's disk, how should I approach it? Storing the data in cookies is one of the option, I guess. I am new to web programming so please bear with me if I say something stupid. However, cookies can be inadvertently deleted.
So my question is: How can I manage a 'small storage space' in mobile device if I am using a html and js to create my app?
Web storage is supported by almost all modern browsers
http://caniuse.com/#feat=namevalue-storage
If you are looking for offline web applications, it is not supported from old Internet Explorer
http://caniuse.com/#feat=offline-apps
Here are a couple of useful links:
http://diveintohtml5.info/storage.html
http://diveintohtml5.info/offline.html
I believe all modern phones support LocalStorage.
In HTML5, there are a couple of ways to save information the way you want.
LocalStorage and WebDatabase
Although, if you want to do an App for iOS I recoment Web Apps, that allow you to create offline HTML application that the user see as a normal app.