zoukankan      html  css  js  c++  java
  • 使用 Google Gears 开发离线应用

    Google 在 2007 年 5 月发布了 Gears,它是一种为生成离线网络应用软件而开发的开源技术,Google 希望能在广大开发者的帮助下测试完善功能和发现产品的局限性。简单地说,它是 Google 推出的开源的浏览器插件,而开发者围绕着这个插件进行开发。2008 年 3 月,Google 推出了移动版 Gears,应用进程开始蔓延。

    Google的官方网站:http://code.google.com/intl/zh-CN/apis/gears/

    image

    一个不错的学习站点:(中文的)https://www6.software.ibm.com/developerworks/cn/education/web/wa-googlegears/index.html

    image

    文件缓存位置

    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

  • 相关阅读:
    168. Excel Sheet Column Title
    171. Excel Sheet Column Number
    264. Ugly Number II java solutions
    152. Maximum Product Subarray java solutions
    309. Best Time to Buy and Sell Stock with Cooldown java solutions
    120. Triangle java solutions
    300. Longest Increasing Subsequence java solutions
    63. Unique Paths II java solutions
    221. Maximal Square java solutions
    279. Perfect Squares java solutions
  • 原文地址:https://www.cnblogs.com/chenxizhang/p/1472319.html
Copyright © 2011-2022 走看看