Projects tagged ‘gears’


[95 total ]

1 Users

PubTools is a simple collection of JavaScript files that make it easy for content authors to work with Gears without having to delve into JavaScript themselves. PubTools includes two different ... [More] libraries and features: - PubTools Search - A JavaScript library that drops a client-side search engine into your page. You configure it with basic HTML + a list of URLs to index, and a search form that uses the local Gears full-text search abilities will appear in your page to quickly locally search over the documents in real time as a user types into the search field. - PubTools Offline - A simple JavaScript library that makes it easy to take static content offline using just basic HTML added to your page, along with a utility bookmarklet for developers to quickly generate Gears manifest files for a given web page. Please note that PubTools is not an official Google project or Gears API; it is a project Brad Neuberg created on his own to teach and help developers. The Gears team does not support this project. However, email Brad if you have questions, concerns, or patches while working with the code. [Less]
Created about 1 year ago.

0 Users

Location based mobile websitesGoal is to provide a usable geo location framework for mobile websites/widget applications. It wraps the underlying platform specific implementation through a simple ... [More] JavaScriptAPI that is aligned to the W3 Geolocation API Specification.. //determine if the handset has client side geo location capabilities if(geo_position_js.init()){ geo_position_js.getCurrentPosition(success_callback,error_callback); } else{ alert("Functionality not available"); }Usage ScenarioThe framework provides two key methods, it determines if the handset has client side geo location capabilities and one method to retrieve the location (of course only after a request for permission). So a mobile web site that provides location based services can first determine if the client has client side geo capabilites and ask him to assist him in finding his location. If no geo capabilities are given or they are disabled the site can fallback on a manual location input method and use a geodata database/service to map the input to a pair of latitude/longitude coordinates. Supported platformsiPhone OS 3.x, Browsers with Google Gears support (Android, Windows Mobile) Blackberry Devices (8820, 9000,...) Nokia Web Run-Time (Nokia N97,...) webOS Application Platform (Palm Pre) Torch Mobile Iris Browser Mozilla Geode Details... SimulationTo assist engineers in the development phase it provides a simple mechanism to simulate users locations and movements without being there in the real world. What do the numbers say?The most used cellphones in the US are iPhones with OS3, iPhones with OS2.x, Palm Centro, BlackBerry 9530, 8130, 8310, 8330 and the G1. Only the Palm Centro is not supported, the iPhones with OS2.x will convert to OS3 sooner or later. So yes it makes sense to use such a library, especially with Palm Pre, Nokia Web Runtime and more Android phones on the horizon. (Disclaimer: Stan Wiechers(whoisstan) is co-founder of the mobile analytics service PercentMobile who provided those numbers. ) Sample Web PagesVery simple page that provides a status alert box Show the users location in an embedded google map(v3), requires advanced browsers Simulates a moving user in an embedded google map(v3), requires advanced browsers Sample AppsNokia Web Run-Time Sample - download and transfer to the device [Less]
Created 4 months ago.

0 Users

Yet another javascript library. It aims lightweight, module separated, robust, well-tested, objective and ready for cloud, offline age.
Created 8 months ago.

0 Users

The offline version of the WYSIWYG HTML text editor FCKEditor, based on Google Gears or Adobe AIR.
Created 4 months ago.

0 Users

It's a web application that allow you to use Youtube offline. It's also a web application that runs on Google App Engine. With Google Gears future, it stores the flv file in you computer!! If you are ... [More] interesting in this project also, welcome to download the code. I'll be glad to receive your feedback!! Here is the web application on Google App Engine: http://coolyulab.coolyu.twbbs.org/ Thanks to your feedback. Here are my email and blog: Email : bob61016@gmail.com Blog : http://blog.coolyuonline.com/ [Less]
Created 4 months ago.

0 Users

A serverless timesheet application using javascript with the help of jQuery, saving to the browser's local sqlite database supplied by Gears.
Created 12 months ago.

0 Users

This library abstracts from HTML5 and Google Gears on various devices. For example, Safari on iPhone supports the HTML5 offline cache and local storage whereas the browser on Android-based devices ... [More] does not, but it supports Gears. The aim of this library is to provide a simple implementation of offline cache, local storage, and geolocation services which would work in HTML5-compliant browsers as well as in browsers with the Gears plugin. As for local storage, an object-oriented wrapper around SQL has been implemented so developers can easily persist native (JSON) objects. There are the following objects in the global E5 object: UI - methods for UI manipulation, Core - JS runtime methods, DB4O - object-oriented wrapper around local SQL database, Sync - an automatic data synchronization service running (optionally) in the background, Auth - an authentication (user service) wrapper for Google Accounts & Facebook, GeoLoc - geolocation services provided by HTML5/Gears. [Less]
Created 3 months ago.

0 Users
 

Minerva is a Python web application that provides an open 'Noun Space' for collaborative authoring of various, rich content types that may be interwoven. The concept of a 'Noun Space' is derived from ... [More] the REST architectural style. Under REST, each segment (or noun) in a URL path should act as an identifier for a specific object. For example, if a user types '/foo/bar/baz' into her location bar and no object is found, she is given an opportunity to create something new there. There is no requirement for objects to previously exist at either '/foo' or '/foo/bar'. The initial implementation is on Google App Engine, but ports onto Twisted/Axiom and CouchDb are planned. [Less]
Created about 1 year ago.

0 Users

JsWorker is a small JavaScript library that wraps current implementations of worker thread in browsers. It contains three sub workers: Google Gears WorkerPool Web Workers Simulated worker thread ... [More] using window.setTimeout Every Worker object created by JsWorker has the same API. JsWorker has shielded you from different APIs exported by different worker thread implementations. Details of these three sub workers are listed below: Name Supported browsers Can be created from text? Can be created from url? Google Gears WorkerPool Those supported by Google Gears Yes Yes Web Workers Firefox 3.1 (since beta 1), Safari 4.0 No (future) Yes Simulated worker Any browser Yes Yes Worker objectFunctions of Worker are: postMessage postMessage(message) is used to send a message to the scope inside a worker terminate terminate() is used to stop a worker. When a worker is created, you can provide two callback functions: onmessage onmessage is called when worker sends some messages back to the main thread. onerror onerror is called when any error has occurred during the execution of worker. For more details, see API document. Inside a workerCode run inside a worker can use postMessage to send messages to the main thread. It also can provide a onmessage function that will be called when main thread has sent it some messages. For more details, see API document. UsageCreate a worker from JavaScript textTo create a worker from JavaScript text, use JsWorker.createWorkerFromText(jsText, onmessage, onerror). Create a worker from JavaScript urlTo create a worker from JavaScript url, use JsWorker.createWorkerFromUrl(jsUrl, onmessage, onerror). SampleThis sample demonstrates how to use worker thread to calculate fibonacci numbers. More samples can be found at Samples. Main page: var onmessage = function(message) { alert("Worker finished with result -- " + message.data); }; var worker = JsWorker.createWorkerFromUrl("fib.js", onmessage); worker.postMessage("10");Worker (fib.js): function fib(n) { if (n < 0) { return; } if (n == 0 || n == 1) { return 1; } return fib(n - 1) + fib(n - 2); } onmessage = function(message) { var num = parseInt(message.data); postMessage(fib(num)); } [Less]
Created 7 months ago.

0 Users

var timer = new MooGears('beta.timer'); var timer2 = new MooGears('beta.timer'); if(timer.factory){ // If Gears install timer.factory.setTimeout(function() { $$('div p').set('html','Hello, from the ... [More] future! (call from timer)'); },1000); timer2.factory.setTimeout(function() { $$('div p').set('html','Back to the future ! (call from timer2)'); },2000); } [Less]
Created 12 months ago.