I've successfully created an android phonegap project and I'm capable of loading a remote web app.
The point is, I need to cache remote resources on the device so that my phonegap app will work when the device has no connectivity.
Cache manifest is working correctly if visiting the web from a desktop pc.
I need to cache remote resources, and not to include them with my apk in the assets folder (because of client requirement, I don't want to have to mass distribute a new apk everytime a single javascript/html file changes).
Is there any way to do this? Thanks.
Edit: Found the answer:
Check these links:
Application cache in HTML5 doesn't work in Android PhoneGap application
http://tmkmobile.wordpress.com/tag/phonegap/
Related
I have a web app and have built a respective Electron app for Windows. I want to do the same thing for both IOS and Android without dealing with stores. The app is fully web but it will be hosted only locally, both front-end and back-end. So every client will have its own server in its own intranet.
The problem is that I do not want to open the local IP in every client browser and do 'Add to homescreen' manually.
The ideal approach would be to have an automated way to create and install the PWA on various local IOS, Android devices just as you would install an application in Windows.
My question: Is it possible to automatically create a PWA without having to go through the manual 'Browser' way?
A Chrome Packaged Application under Windows 10 doesn't seem to be using my public proxy settings under Internet Options. I'm trying to monitor this application's network activity via Fiddler installed on another computer. Every HTTP and HTTPS requests are successfully monitored there, except the ones from this packaged application.
I'm pretty sure it uses HTTP requests behind, because I generated it from an Android APK file, using ARC Welder. And I can see HTTP requests from Android application itself on my phone. But not from generated packaged chrome application on Windows. Is there anything I can do with the manifest file or something else?
Thank you.
chrome.sockets API does not use the Chrome browser proxy settings.
On ChromeOS, chrome.sockets will respect the system-wide VPN settings, however.
I have accidentally killed one of my WP projects in VS2013. I receovered the source code from the backup, but now, if I try to recompile it and deploy to my device for further debugging, all my app data in the app IsolatedStodage area will be wiped (see this post).
The problem is that I have gathered some important data in my app, and need to save them for later use with newer versions of my app. Is there a way to access the file system on a WP device unlocked for development and save the corresponding IsolatedStorage files for the app? I know that it's possible for the WP8/8.1 emulator (we can mount the .vhd files), but what about a WP device? And if it it's possible, what files/folders do we need to save?
Try IsoStoreSpy.
It allows you to browse the IsolatedStorage of application on both emulator and device. You need to copy all the files from IsolatedStorage and upload them to device after updating the application.
I am writing a web application that is meant to me utilized "sometimes" offline using the iPad's home bookmarked feature of Safari . By "sometimes", I mean that the app should work if the iPad is offline and data has been cached. If the iPad is online and the cache manifest has changed, the app should update the contents of the cache. The web page is protected through https.
Currently, I can get my app to work correctly using Chrome, Firefox, and Safari. I have tested them all in windows 7 and windows XP. The app also works correctly in the iPad's "normal" way of using Safari, but when I run the bookmarked version of the app (created by specifying the special standalone apple metas and then bookmarking) it does the initial password prompt and correctly moves on to download all the data specified in the cache manifest file. The trouble is that any subsequent runs of the standalone app do not seem to have access to the manifest file and thus any later updates to the manifest file do not get reflected.
So my question is this: does HTML5 specific caching work on the iPad (ios6) with https on a stand alone (bookmarked) web app?
Application Caching on iPad will not cache website data or pages
I was having the same problem. This answer worked. Hope it does for you too!
I am confused about Chrome hosted app vs packaged app.
Hosted app
- is where we hosted our web in server side
- Required internet
Packaged app
- hosted the website in client site
- Just like a native app
- No internet require.
I am interesting in Packaged app but can I make the packaged app just like drive.google.com or gmail?
When they are offline then using packaged app and when they are online and start syn the pending offline files to server. Or packaged app is just everything in offline?
This might help you out.
https://developer.chrome.com/webstore/choosing
Anyway you will have to host Packaged App if you want it cross platform i.e. web, mobile etc.
If you want any functionality offline and online you want to go with the Packaged App. One way you can think about it is Packaged App download all the files required to run to the local machine. With Hosted Apps, all those files live on a web sever somewhere.
Packaged Apps are just like like regular web apps, but they have extra capabilities that allow them to run offline.
Also, Packaged Apps are not required to support offline.