使用 Google Gears 开发离线应用
Google 在 2007 年 5 月发布了 Gears,它是一种为生成离线网络应用软件而开发的开源技术,Google 希望能在广大开发者的帮助下测试完善功能和发现产品的局限性。简单地说,它是 Google 推出的开源的浏览器插件,而开发者围绕着这个插件进行开发。2008 年 3 月,Google 推出了移动版 Gears,应用进程开始蔓延。
Google的官方网站:http://code.google.com/intl/zh-CN/apis/gears/
一个不错的学习站点:(中文的)https://www6.software.ibm.com/developerworks/cn/education/web/wa-googlegears/index.html
文件缓存位置
Location of cached files
The LocalServer stores files that your application captures in a location determined by the browser and platform.
Windows Vista - Internet Explorer
Location: {FOLDERID_LocalAppDataLow}\Google\Google Gears for Internet Explorer
Example: C:\Users\Bob\AppData\LocalLow\Google\Google Gears for Internet Explorer
Windows Vista - Firefox - Files are stored in the user local profile directory.
Location: C:\Users\<username>\AppData\Local\Mozilla\Firefox\Profiles\{profile}.default\Google Gears for Firefox
Example: C:\Users\Bob\AppData\Local\Mozilla\Firefox\Profiles\uelib44s.default\Google Gears for Firefox
Windows Vista - Chrome - Files are stored in the user local profile directory.
Location: C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Plugin Data\Google Gears
Example: C:\Users\Bob\AppData\Local\Google\Chrome\User Data\Default\Plugin Data\Google Gears
Windows XP - Internet Explorer - Files are stored in the user local profile directory.
Location: C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Google Gears for Internet Explorer
Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Google\Google Gears for Internet Explorer
Windows XP - Firefox - Files are stored in the user local profile directory.
Location: C:\Documents and Settings\<username>\Local Settings\Application Data\Mozilla\Firefox\Profiles\{profile}\Google Gears for Firefox
Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Mozilla\Firefox\Profiles\uelib44s.default\Google Gears for Firefox
Windows XP - Chrome - Files are stored in the user local profile directory.
Location: C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\User Data\Default\Plugin Data\Google Gears
Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Google\Chrome\User Data\Default\Plugin Data\Google Gears
Mac OS X - Safari - Files are stored in the user Application Support directory.
Location: ~/Library/Application Support/Google/Google Gears for Safari
Example: /Users/Bob/Library/Application Support/Google/Google Gears for Safari
Mac OS X - Firefox - Files are stored in the user local profile directory.
Location: Users/<username>/Library/Caches/Firefox/Profiles/{profile}.default/Google Gears for Firefox
Example: Users/Bob/Library/Caches/Firefox/Profiles/08ywpi3q.default/Google Gears for Firefox
Linux - Firefox - Files are stored in the user home directory.
Location: ~bob/.mozilla/firefox/<firefox's profile id>/Google Gears for Firefox
Example: ~bob/.mozilla/firefox/08ywpi3q.default/Google Gears for Firefox
使用 Google Gears 开发离线应用相关推荐
- 离线使用Google Gears书签“保存所有内容”
Here's a little bookmarklet I came up with, I called "SAT", stands for "Save AnyThing ...
- Google Gears 体验(2):本机 web 服务器
GoogleGears 的第二个官方例子: http://code.google.com/apis/gears/samples/hello_world_resourcestore.html 这个例子的 ...
- Google Gears 指南
Gears概述 Google Gears 是一个开源的浏览器插件,它支持用户浏览器能够使用开发者创建的基于 Gears 的离线应用.它提出了一种离线应用的思想,它的三大核心模块将帮助开发者更好地运用这 ...
- 用 Google Gears 增强您的 Web 应用程序
用 Google Gears 增强您的 Web 应用程序 文档选项 未显示需要 JavaScript 的文档选项 打印本页 将此页作为电子邮件发送 样例代码 2009 年 8 月 20 日 本文将简要 ...
- Google Gears
Google Gears是一个开源的跨浏览器插件,让使用者可以离线上网,透过SQLite数据库让本地端能够把资料暂存起来.所以网页是透过暂存区取得的,而不是从实际的网络上取得的. HTML5也算是吸取 ...
- Android Google Map开发指南(三)百度地图、谷歌地图自如切换
如果你是刚开始接触谷歌地图的话,推荐你先看一下文章: Android Google Map 开发指南(一)解决官方demo显示空白只展示google logo问题 Android Google Map ...
- 操作系统:Android(Google公司开发的操作系统)
ylbtech-操作系统:Android(Google公司开发的操作系统) Android是一种基于Linux的自由及开放源代码的操作系统.主要使用于移动设备,如智能手机和平板电脑,由Google(谷 ...
- 使用HTML5开发离线应用 - cache manifest
HTML5 是目前正在讨论的新一代 HTML 标准,它代表了现在 Web 领域的最新发展方向.在 HTML5 标准中,加入了新的多样的内容描述标签,直接支持表单验证.视频音频标签.网页元素的拖拽.离线 ...
- ActiveRecord.JS 与 Google Gears
ActiveRecord是仿照Rails的ActiveRecord写的js orm框架, 我使用它操作gears 的sqlite数据库.看起来不错,但是文档比较恶心,我按照文档的操作ActiveRec ...
最新文章
- Oracle 共享磁盘阵列 双机热备 实战 配置教程 配置手册
- Leetcode-260. 只出现一次的数字 III
- centos7.8源码编译安装nginx1.17.10
- 关于Chrome支持http header最大长度限制的讨论
- 19年8月 字母哥 番外篇:周边技术生态
- SQL横表与纵表互转
- 执行nvidia-smi出错
- 汇编学习(五)——表处理程序
- C Primer Plus 第8章 字符输入/输出和输入确认 8.11 编程练习答案
- PostgreSQL的backuplabel file 初步学习
- 世界质量大师登场,告诉你质量的最大秘密!【优思学院】
- 识别中Excel的空值和空格值
- 国务院办公厅关于2015年部分节假日安排的通知
- 基于SSM的网上手机商城购物系统设计与实现 文档+项目源码及数据库文件+运行说明
- 【Kay】MySQL必会常用函数
- 使用计算机自适应测验大型测验,计算机自适应测验方法与流程
- JS 如何清除页面缓存
- StreamWiki: Enabling Viewers of Knowledge SharingLive Streams to Collaboratively Generate Archival
- idea各种中文乱码问题
- Visual studio 2013安装失败总结
热门文章
- 如何写一个通用的README规范
- 《Pro ASP.NET MVC 3 Framework》学习笔记之十六【示例项目SportsStore】
- 理解 QEMU/KVM 和 Ceph(2):QEMU 的 RBD 块驱动(block driver)
- 【Spring源码分析系列】bean的加载
- 给定二叉树先序、中序遍历序列,求后序遍历
- idea解决打开大文件消耗CPU问题
- wordpress文章发布接口开发
- IOS 6.0+ Autolayout — UITableViewCell 高度调整
- 流API--使用并行流
- wamp如何更改网站根目录DocumentRoot