How to use/modify Google Gears
Is there anyone here with enough familiarity with the Gears code-base to give me an estimate of the effort required to bring Gears up to date? ...
Is there anyone here with enough familiarity with the Gears code-base to give me an estimate of the effort required to bring Gears up to date? ...
Hello, I use JavaScript for rendering 20 tables of 100 rows each. The data for each table is provided by controller as JSON. Each table is split into section that have "totals" and have some other JavaScript logic code. Some totals are outside of the table itself. As a result JavaScript blocks browser for a couple of seconds (especially...
I have an application in asp.net MVC (C#), which has some basic user registration to maintain their contacts and also some other information of the users in various tables. I need to implement Google gears to my asp.net mvc website using google gears' database API to make the website work offline and also faster. Is there any good ref...
Basically, i want to implement Offline/Online XUL application with ability to upload data to server. Yes, i know there is Mozilla Storage API, but it looks like it is much more easier with Gears to have local database and to upload local changes to server using WorkerPool. Without Gears, i have no ideas how to upload local changes to r...
With this code: var db = google.gears.factory.create('beta.database'); db.open('cominar'); db.execute('CREATE TABLE IF NOT EXISTS Ajax (AJAX_ID INTEGER PRIMARY KEY AUTOINCREMENT , MODULE TEXT, FUNCTION TEXT, CONTENT_JSON TEXT);'); db.execute('VACUUM;'); // nettoye la DB I'm trying to clean the database (VACUUM) at each initialisation ...
Hi, I understand that these are client-side apps, but all three must be based on some component of the computer itself. Which component is this, and how can I utilize it programmatically for a C# app (NOT FOR WEB)? ...
We're using jQuery to get a JSON-string from our server (UTF-8 response, also UTF-8 request through jQuery) and put this JSON into a Google Gears WorkerPool. This workerpool processes the JSON and stores it into a Gears database (SQLite). It turns out that, apparently, SQLite stores data using iso-8859-1 rather than UTF-8. Since we're t...
I created a database via javascript using Google Gears on Android 1.5 and I'd like to access directy the sqlite file to look inside it whitout using Gears. I found several "File Browser" but they only browse the SD card. Is there a way to fetch it from the phone file system? I have an HTC Dream running Androis 1.5. Thank you! ...
I have been reading about creating offline websites using Gears and using HTML 5. Im curious as to advantages and disadvantages of the two in regards to an ASP.Net MVC2 applcation with a SQL Database Backend. It seems to me that since Gears supports offline Database functionality. It would be the only way to go. But with some creativ...
Our web application has a feature which uses Flash (AS3) to take photos using the user's web cam, then passes the resulting byte array to PHP where it is reconstructed and saved on the server. However, we need to be able to take this web application offline, and we have chosen Gears to do so. The user takes the app offline, performs his...
Our code was written based on the example from Google Gears' own docs. We're using an unmanaged resource store. So we declare the files in an array, create the store, and capture all the files. Trouble is, the capturing process hangs. It always hangs on a random file (no discernible pattern has emerged), and when you reload the page, it...
I am using Gears to cache files locally for an intranet application and I have run into a problem. In Chrome when I update the manifest file it does not seem to get the updates. I checked the server and the new version of the file is definitely there, however in the server logs it is showing up with a status of 304 unchanged. So gears n...
Hi all, Could someone please tell me why the following foreign key constraint (although executes fine) is not enforced by SQLITE? Could someone pleasse provide an example of how I can go about enforcing the relationship? CREATE TABLE User (UserID TEXT Unique NOT NULL PRIMARY KEY, FirstName TEXT NOT NULL, LastName TEXT NOT NULL, Usernam...
When running code in the context of a "thread" in the Google Gears API you do not have access to the "document" object and therefore createElement cannot be used to dynamically load a script. Does anyone have any ideas about how I might go about "injecting" code in such a scenario? The only method I can think of is using a webservice an...
I made a javascript class that let me use gears or html5 (if available) storage to store an stringified json object. the code is ment to be use on Android 1.5 and 2.0. When I save many objects into gears, it's very slow even on a PC (google chrome / gears). The CPU doesn't go high but the page gets unresponsive for 45 sec. On a cellphone...
What's the best way to do this? Note that this is the sqlite version packaged with Google Gears, also. ...
Hi all, I have recently made my first attempt at using Google Gears and performing replication to the local Sqlite database after many weeks of trial and error everything seemed to be sweet as candy. I have accomplished this using approximately 10 worker threads each of which intermittently poll a webservice and update the database as ...
How Gmail creates localcache for supporting offline? I found by check the http requests while syncing that it is done by simulating the http requests like webclient, is it correct? If yes, is this a documented method? can any other plugin use this? ...
Hi there we need an online offline wiki type app that is basically a number of pages with documentation in, but that also would need to link to a number of files .. words docs/ pdfs/ ppts etc that are on a synched mapped drive on the users laptop.. could anyone suggest whether or not google gears would be a reasonable solution to this,...
There seems to be increasing demand for Silverlight skills, but out of the many new technologies that Microsoft has punted, I've never felt as if it was the next big thing! Am I wrong? Should I be gaining those skills? There's obviously a well-established competitor in Flash, and there's a host of other Rich Internet toolkits out there,...