Questions tagged [offline]

0

votes
0

answer
4

Views

Cordova iOS - WkWebView offline

Application cache is deprecated which means we'll need to switch to service worker but I've done research it was mentioned.. 1) "It is not possible to use a ServiceWorker in a Cordova app because the ServiceWorker API is not available to WKWebView and is not implemented in UIWebView. It is available...
y-dolem
4

votes
0

answer
21

Views

leaflet display .mbTiles files in the map

I have downloaded UAE mbtiles from openmaptiles site. I need to show the map in offline for UAE. I'm using angular 4. I have converted that mbtiles into png image using mbutil. But it shows the image was damaged. Also converted to pbf and tried. it shows the error "Error: Unimplemented type: 3" eve...
Jegan
1

votes
1

answer
5.5k

Views

Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script

I am creating a progressive web application (pwa) and try to register service worker to test offline feature. The folder structure is like below: -- views -- index.pug -- sw.js -- public -- js -- main.js -- index.js index.js file is server file, main.js is the file that being link in each .pug file...
phc
1

votes
0

answer
5

Views

Why does AppCache not work on IE11 mobile?

I have a website which utilises App Cache and IndexedDb in a secure context (ie https://) to enable use offline. This works fine for most of the devices I have tested on. However on a Nokia Lumia 920 using IE11 mobile (which does support app cache), I get an error when trying to access the website o...
Michael Hancock
1

votes
1

answer
380

Views

How to enable offline support when using HTML5 history api

What are the best practices (and how to go about doing it) to support offline mode when using html5 history api for url rewrites? For example, (hypothetically) I have a PWA SPA application at https://abc.xyz which has internationalization built in. So when I visit this link, the Vue router (which id...
Sohail
1

votes
2

answer
745

Views

How to debug Serverless Offline in Visual Studio Code using another port?

I have two Serverless Offline "servers" which I need to run locally at same time. So I need to change the port of one of the servers. I run a server using Visual Studio Code debugger. The configs of the servers are in launch.json files. How can I change the port of a Serverless Offline application...
Natanael
0

votes
0

answer
16

Views

How to save login details for “offline” login on a php/mysql system

I have a php/mysql login system that also has service workers incorporated for offline functionality, i would like to be able to save login details so that the user can login when they are offline. How can I achieve this on the client? I have done some reading and research but haven't found anythin...
John
1

votes
1

answer
338

Views

svn diff offline

dueto historical reason, I do have a very old vm with eclipse 3.2 running and a lot of uncommited code. The source code management was svn, but this server doesn't exist any more. Now everything is located in a git repository. My question is, is there any way to run the svn diff or something compar...
Christian Lutz
1

votes
2

answer
1.1k

Views

C# desktop app with frequent online synchronization [closed]

I'm going to develop a patient management system and its going to be a desktop application built in c# .Net The problem is that many doctors are going to use it and there cannot be a networking between different rooms as its a government hospital and doctors or doing it on their own, so they cannot...
user1536935
1

votes
3

answer
5.7k

Views

Run single page HTML and JavaScript page offline in iPad 1 safari

I am coaching my son's flag football team this winter and I'd like to make a little one pager app with jquery which will display and animate for the team some plays during huddles. I have been researching this quite a bit and it seems there is no way for safari to load local files. Some have suggest...
phirschybar
1

votes
1

answer
1.9k

Views

Android Offline and online Apps using cache & Phonegap

my experience with cache in Android using Phonegap . 1. I want to create one app which should work online as well as offline. 2. If internet connectivity is there it should use otherwise use the history. Now it working with the online ..but i need to work my app in off line too. for the checking...
sherin
1

votes
2

answer
579

Views

How long does web SQL data persist?

I'm starting to work on an hybrid application which rely on web sql capabilities. The application works with a local database (web SQL) which may be synchronized to a distant database if the device is online. Off course, it is important for the application to be quickly available, and therefore to h...
Yako
1

votes
2

answer
97

Views

What technology should I use for sometimes connected forms on mobile devices?

I want to fill in questionnaires/survey on mobile devices and send the answers back to a database. I am an experienced web application developer using asp.net/mvc and sql server. I want a cross-platform mobile solution that will cope with being sometimes disconnected. The questionnaires are relati...
Colin
1

votes
2

answer
4k

Views

Highcharts Export without internet

In my project/setup, both client & server doesn't have Internet connectivity. Any idea how to export data as .PNG or .JPG since export.highcharts.com wont be accessible.
user2451282
1

votes
1

answer
857

Views

Why does HTML5 offline re-cache the entire manifest, and only when the manifest file changes?

I have been reading the chapter on offline in Dive Into HTML5, and it has left me with some questions. It says Every time you make a change to one of the resources in your offline web application, you’ll need to change the cache manifest file itself. This can be as simple as changing a single char...
Maarten
1

votes
2

answer
1.6k

Views

How can I download an Eclipse plugin as a zip archive using an update site?

I have Eclipse installed on a box which is off the Internet. I found this package I want to install, but I only have an update URL for it, not an archive file I can copy to the disconnected machine and put in its Eclipse' dropins/ folder like with some other extensions. On a machine connected to t...
einpoklum
1

votes
2

answer
220

Views

Cache Google AppEngine documentation locally for offline use

The biggest problem when developing offline is the unavailability of documentation. Google AppEngine used to provide a downloadable tar ball of its documentation, but doesn't seem to do so any more. So how do I get a local version of the AppEngine documentation, along with the ability to update it w...
markvgti
1

votes
1

answer
406

Views

Network requests with callback functions, how to process results from queued requests

Using Volley or other networking libraries, there may be needs to add network requests to a queue so that the requests are sent later. The problem with sending these objects to a queue is that when the objects do get sent, there doesn't seem to be an obvious way to process the results of the network...
CQM
1

votes
1

answer
634

Views

Offline IIS Inetmgr slow to expand server node (2 minutes)…

I've got a couple of IIS servers running Win2k8R2 and IIS 7.5. Whenever I open inetmgr and expand the server node, there is about a 2 minute delay before I can do anything. Once the server node expands, I can perform all tasks normally. I have other offline servers with similar setups which expand t...
Ibraheem Saleh
1

votes
2

answer
305

Views

Kalman filter: Do I need to compute P in real time? It seems like its evolvement only depends on its initial state

When I look at the standard equations, e.g. http://en.wikipedia.org/wiki/Kalman_filter#Details it seems as if the 'Predicted (a priori) estimate covariance' P_(k|k-1), as well as the 'Updated (a posteriori) estimate covariance' P_(k|k) do only depend on constant parameters (F, H, Q, R) and the initi...
user1323995
1

votes
1

answer
195

Views

skobbler how i can save in my app a json downloaded from my profile?

I'm trying to use skobbler to create an app that download and then works offline with some predefinited maps. I have created this maps in my developer account , i can download a Json after a click on "Use" Button beside the map. Now don't know how i can use this json, i'm using the skobbler demo ios...
user31929
1

votes
1

answer
786

Views

Nginx redirect to static html when Proxy NodeJS server not working (offline)

I have setup a NodeJS server on an Amazon Instance serving some king of web app. I am using Nginx server to handle and route requests internally to the Node server. Everything is working correctly with this setup I am using for Nginx: server { listen 80; server_name mydomain.com; location / { proxy_...
mitsos1os
1

votes
1

answer
16.3k

Views

How to bring back offline database in SQL Server 2008

I wanted to restore a database, so I tried to take current database offline, but it was taking too long to get offline, hence I stopped the process. But now when I try to access the database, it says database inaccessible. Does that means it's lost forever now? I even tried to kill active connection...
Abbas
1

votes
2

answer
1.9k

Views

Get error: Application Cache Error event: Resource fetch failed (2) myvideo3.mp4

I'm getting an error in Chrome for an offline web app. Google Chrome always fails on the third video, despite the URL being correct and clicking on the URL in the Google Dev Tools' error message, opens and plays the video in a new tab. (It's always the third, even if I change the order of the videos...
Don Rhummy
2

votes
1

answer
17

Views

How to disable Firebase Realtime Database iOS write offline

I had a case where firebase database return success when call setValue() without internet. After success, the value is not updated at the database. I'm using the code as followed (in Swift): Database.database().reference().child("key").setValue("something") { (error:Error?, ref:DatabaseReference) in...
kkl
-2

votes
0

answer
19

Views

how to login offline on a php/mysql system

i have a php/mysql based login system.Is there any way of caching the login details while user is online so the user can still log back in when they are offline? when user logs in i compare the username and pin stored in the db and what the user enters and if it matches,they go through.the site has...
Blessing Dongo
2

votes
2

answer
71

Views

Saving local copy of text area entry

Previously when covering events I've typed my reports into an html file and ftp'd it to the server. If I lose connectivity or the laptop crashes, I've got the last saved copy. We just switched our event coverage area to a database holding Textile-formatted entries done via a web form text area. Is i...
Ian
5

votes
3

answer
2.8k

Views

OsmDroid and MapQuest: How can I use JPEG tiles?

I am new to OSM and OSMdroid. I was following this pretty good tutorial to show offline maps. So basically what I have done is: Created a tile package in zip format with Mobile Atlas Creator Used MapQuest source, JPEG format Put the zip into the right folder: /mnt/sdcard/osmdroid/ The problem was th...
raver99
11

votes
17

answer
1.7k

Views

Has anyone built web-apps that can run totally off-line? [closed]

I'm building an app that authors would (hopefully) use to help them, uh.. author things. Think of it like a wiki but just for one person, but cooler. I wish to make it as accessible as possible to my (potential) adoring masses, and so I'm thinking about making it a web-app. It certainly doesn't have...
SCdF
3

votes
4

answer
461

Views

Manage iPhone app both online and offline

I am stuck to a point, I am managing my app offline also. first time i get all profile data from a webservices and store its path into sqlite, I am facing problem in updating those data, like if images are changed how should I notify into my app, I searched it on Google and only solution is to send...
Sree
2

votes
2

answer
879

Views

HTML5 Offline: browser loads cached index page even when online

When a page is requested, it is cached as per the manifest file. However, when the page is updated, and the device is online, the file is not updated even though the computer is offline (it's online). How can we work around this? Is there any way to tell the client to load the page from the server a...
mark
2

votes
2

answer
2k

Views

HTML5 Offline app always sending “error” event on iPod Touch iOS 4.2.1

I have an issue in iOS with a HTML5 Offline app. My app works fine offline in Firefox, Chrome and Android 2.2, but not on my iPod Touch running iOS 4.2.1. Here is my manifest (a JSP), called "1.cache.manifest.jsp". I use a "no-cache.jsp" JSP to ask that the manifest is not cached. I also add "index....
Paul Grime
2

votes
2

answer
1.9k

Views

HTML5 offline problem: Show a different page when offline

Using HTML5 offline cache, I want to display another page when I'm offline, compared to when I'm online. Shouldn't be too hard, but it doesn't work for me and after a few hours, I'm still not seeing what's going wrong. This is my Manifest: CACHE MANIFEST # v15 Minute: 18 CACHE: /Scripts/jquery-1.4.4...
TinkerTank
2

votes
2

answer
875

Views

How can I get rid of the HTML5 offline cache?

I have an application which used to use the HTML5 offline cache. Now I've decided to not use it anymore and removed the manifest attribute from the index.html file. However, browsers still regard this site as cached and refuse to update the index.html file. Even updating the manifest doesn't help. H...
Fabian Jakobs
2

votes
1

answer
64

Views

Is there a way to execute a function when user tries to delete an indexedDB database?

Is there anything like ondelete event handler, or way to warn user before they want to clear the indexedDB database. Background: There is a offline first app, that works by saving most of the data on indexedDB while offline. Now, when the user goes online, it tries to sync the data to the server, b...
user3330840
17

votes
2

answer
1.1k

Views

Offline Cache of Map

I have a big need to do an offline map for my app, as it is made mostly for Thailand, where internet connection is often hard to come by. I am using OpenStreetMap right now for my MKTileOverlay but am having issues implementing it for offline use. I have found a tutorial that says to subclass MKTil...
user717452
17

votes
5

answer
3.3k

Views

HTML5 Offline app on Android devices

This is regarding HTML5 offline apps on Android devices. We are running into an issue where bookmarking an offline capable HTML5 app (with a complete cache manifest file) fails to load on the Android browser under the following conditions: Bookmark the app on the browser Switch off all wireless con...
Luthfur
17

votes
2

answer
15k

Views

Build Gradle repository for offline development

I am working on implementing a Gradle build system for a piece of software that has parts that are developed in area without Internet connectivity or the ability to install a Maven/Ivy server (like Nexus). To support development in these environments, I am putting together a Gradle plugin that allo...
Chris Lieb
17

votes
5

answer
13.9k

Views

Using GIT on USB stick for “travelling code”

I have exhaustively searched for answers to my question here and on Google. I have found some great resources and learning tools for understanding Git and what it does, but I need to get some clarification, and assistance. What I am doing is working on a side-project for work both at my office and a...
bovineone
3

votes
2

answer
5.5k

Views

How to alert users when connection is gone using Offline.js

I'm trying to alert users when they are offline, and show a simple message. I'm using Offline.js as a library (Offline.js website). I want to write JS and not use Eager to install it automatically. Here is what I wrote, but it doesn't seem to be working. Can someone help me with more details? I coul...
Stranger B.

View additional questions