offline

Cached/offline maps for iPhone?

旧巷老猫 提交于 2019-12-12 12:02:01
问题 I'd like to use use maps in my application, so that there will be as less as possible traffic. Perfect solution would be caching of map slices. I know it's not possible with google maps (license). I took a look on OpenStreetMaps and it seems as good solution. The next: SDK. The only one I've found is from CloudMade. The problem is, I found no related API methods for caching/offline calls. Are there any alternative solutions? 回答1: You might find more information on the Route-Me project Wiki.

Notifications while browser is closed

爱⌒轻易说出口 提交于 2019-12-12 09:56:41
问题 I have a chrome-extension that sends notifications to the user when he visits a specific page. I wish to send the notification when the browser is closed or running in background, similar to the smartphones. Any idea or tip will be great! 回答1: In Chrome extensions, you have 2 tools at your disposal: chrome.gcm API, which allows you to use Google Cloud Messaging to receive push notifications. Conveniently, it's the same system Android apps use. Your server will need to talk to GCM servers to

How to save UIWebView content for offline display?

懵懂的女人 提交于 2019-12-12 08:13:58
问题 I'm using Xcode 7.2 and Swift to create an iOS app, on this app I display the content of my website, however if I was offline the content will not be shown. So I want to cache the webpage and display for offline. After I declared everything I'm using the following code : var URLPATH="http://google.com" let requestURL = NSURL(string: URLPATH) let request = NSURLRequest(URL: requestURL!) WB.loadRequest(request) 回答1: HTML to Data if let url = URL(string: urlString) { person.setValue(try? Data

How to restore a website offline. using XCloner on Joomla thats run on Xampp

瘦欲@ 提交于 2019-12-12 02:43:00
问题 I am totally new to this stuff. I have installed Joomla on my windows pc to test my changes to the site before I try them on the actual site and mess things up. I was given a backup using XCLONER. I installed xcloner but cant seem to restore the website. I am using XAMPP. I am also unsure where to place the directory where the restore file should be. Any help will help. Any tutorials on this? again, just starting out with this stuff. Thank you in advance. 回答1: There are so many references and

Offline Web App not caching on Firefox but ok on Chrome [duplicate]

十年热恋 提交于 2019-12-12 02:32:16
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: HTML 5 Appcache works in safari/opera/chrome but not firefox Hi everyone i was trying to create a offline web app and i Used to be able to do it. But since the last changes when the .appcache extesion was required I am not beeing able to use the manifest file on Firefox. I tested the same file on Chrome and it seems to be running perfect.... Here goes my index.html <!DOCTYPE html> <html manifest="manifest

Sync data with server when app is closed

纵然是瞬间 提交于 2019-12-12 01:52:44
问题 I have smartphone app for Android and iOS. I have data syncronization going on with server. I want to send some data to server when app is closed, for example last activities of user. I know how to do it if app is opened again. In some situations users phone is in offline mode, no network connection is available. So data gets stored in apps local database. User closes app and no data is synced. Later on network connection returns. So my main question. Is it possible to queue syncronization

HTTP Post delayed until online

随声附和 提交于 2019-12-12 00:54:49
问题 The code I currently have submits data successfully to a database when there is a network connection. My app is one that would be used outdoors, frequently in places were cell service is very poor. My question is what would be the best way to delay the HTTP Post until there is an active network connection? Should I create a service that is run if there is no connection that is alerted when a connection is available? The data transmitted is small, around a kilobyte, so I could just have the

Captcha uses offline resources

拥有回忆 提交于 2019-12-11 22:01:03
问题 I want to create a CAPTCHA verification of my application, my application is developed using GWT, which not use online resources. I've tried with reCaptcha, but recaptcha have to access the api hosted in the google.com. Is there any ways to make it working in my local network which totally can not access any resource of the internet? thanks 回答1: You can use a local library like SimpleCaptcha. Here an article that explain how to use it with GWT: http://www.javacodegeeks.com/2010/06/add-captcha

Track a Google Analytics event that occurs when a user isn't on the site

不羁岁月 提交于 2019-12-11 18:53:36
问题 Our site enables users to send money to us via a bank transfer. They 'initiate' the transfer and get a reference code. Then they log in to their bank account and send the money using the reference code. We track when a user promises to send the money but I'm not sure how to track when that money arrives. They won't be logged into the site when it happens which makes it complicated. Is there a way to do this? Thanks in advance! 回答1: It is possible to track events on behalf of a recent user,

How to fix “ Admob offline performance problem”?

隐身守侯 提交于 2019-12-11 16:41:25
问题 Help please. I have created a script to add a resume funtion for users by seeing an reward base ad from Admob in unity. It works fine when user is online. but performance is too slow (not playable) when user device is in offline mode. When the script is disable game works fine in both online and offline. The problem maybe in RequestRewardBasedVideo() funtion. using System; using UnityEngine; using GoogleMobileAds.Api; using UnityEngine.SceneManagement; using UnityEngine.UI; public class