google-gears

Remove a generated panel in GWT after a button is clicked

I am attempting to create a Google Web Toolkit (GWT) application that also uses Google Gears, but every time I try to remove the panel, I get an exception and the panel stays there. Here is an excerpt from the exception I get (I've only included the relevant bits of the call stack, the rest just descends into the included function below...

Google Gears drag and drop upload

I recently watched the google wave video from google i/o where they said you can drag and drop files from windows explorer to the browser and upload them using gears. Can someone point me in the right direction to do this myself? I've browsed around the gears api page on google code and can't really find any examples that even come close...

Dynamically set value of a file input

Is there a way to set the value of a file input (<input type="file" />) or is that all blocked for security? I'm trying to use google gears' openFiles to make a simple multi-uploader. ...

Reading Google Gears blobs with JavaScript

Does anybody know how to read google gears blob objects within the browser? I'm using gwt on top of gears, but I'm looking for any kind of solutions. The application needs to work fully offline so I can't post the files and process them server side. My files are simple text files that I want to upload and parse in offline mode. ...

Google Gears upload: strange error

Hi guys, I've got this very strange error and I don't know how to deal with it. My setup is a page in which I can select one image file, (gears beta.desktop) and then it should upload. But it doesn't upload, and gives a very strange error which I can't get away. below is my code: var filesToUpload = null; function progressEvent(eve...

How does a script fallback gracefully when Google Gears access is denied by user?

This is a two part question, if I may. First, I need to find a way to make my script to fallback gracefully when a user denies access to Google Gears. This is the way I do it now: try { var workerPool = google.gears.factory.create('beta.workerpool'); } catch (e) { this.gears_forbidden = true; return; ...

Is there a great WYSIWYG html editor component that had Drag n' Drop *like* the Google Waves editor?

Is there a component out there that can be used that provides some of the great capabilities that the Google Waves editor provides (or Google Docs editor)? If it only works on a certain browser, that is fine. If it is part of GWT or some other framework, that is fine. I know that this will probably require Google Gears. I would prefer ...

How can a web application synch a folder of text files on the client's PC?

I want to be able to synchronize several text files on a user's PC in real time from my web application. Basically I want a few data files on the local PC to mirror the state of a user's data in my web application so if the web application or the user's internet connection is lost he can use those data files to get some critical info (p...

Gears complaints about JRE 1.5 in GWT project

I just tried to use Gears in my GWT application and got following error: Jul 12, 2009 6:26:29 AM com.google.apphosting.utils.jetty.JettyLogger info INFO: jetty-6.1.x Jul 12, 2009 6:26:29 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: failed com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@c45809{/,/Users/work/...

detect geode, fire eagle, or google gear installed on browser

is there any demo on how to detect geode ,fire eagle, google gear installed on user browsers and get user location? ...

Difference when using last_insert_row() in Javascript function vs. in DB Query Tool?

I have created a table in Google Gears (Sqlite): db.execute('create table if not exists SPALINKS (link_id int PRIMARY KEY, sid1 int, sid2 int, label text, user text, Timestamp int'); When using the Google Gears Database Query Tool (in FF), INSERT with 'last-insert-rowid' work fine. Inserts from Javascript work fine, as long a I don't...

Upload files using Google Gears and ASP.NET or PHP

Trying to upload files using Google Gears and ASP.NET... I assume you can as the HttpRequest API accepts blobs. I have FileUpload control in the page. <asp:FileUpload runat="server" ID="File1" /> Then the JavaScript var file1 = document.getElementById("<%# File1.ClientID %>"); var desktop = google.gears.factory.create('beta.desktop'...

Performing set of db-transaction using google-gears

While i am trying to sync data from server to client, it took 1 second to fetch 100 rows from server but taking 10 to 20 seconds while inserting to sqlLite. The below code is not fast enough. var db = google.gears.factory.create('beta.database'); db.open('my_database'); db.execute('BEGIN'); try { // do lots of db.executes() here...

Iphone App vs. Offline Web App. Which way is the smartest?

I think about starting from scratch building a small application fullfilling two technical requirements: should be usable on iPhone should work offline There are two obvious alternatives here to choose between A real iPhone application with offline capabilities A web app using HTML5 offline, Google Gears or similar Having no iPho...

Google Gears Geolocation Simulator

I'm trying to do something with Google Gears to get my GPS location and display some directions on a map, and I can make my changes, upload and then test on my Android phone, but it would be much easier if I could install Gears and then have some way to "simulate" a location on my desktop. Has anyone done a Firefox Extension to override...

Client Side Persistence (Storage)

In my demos, I'd like to avoid using traditional DBs and store all the data on the client side, e.g. information submitted via a form. What alternatives do I have for that. I've heard about Gears but I don't have any practical experience. Can I also store binary information besides strings, e.g. an image? ...

Stroring binary files in Google Gears DB?

Can I store binary files in the Google Gears DB? For example an image file from the users hard drive. ...

Google Geolocation API library

Hey all, Is there a library out there that will get you your approximate location using the google service (https://www.google.com/loc/json)? Google Gears has support for it as described here http://code.google.com/p/gears/wiki/GeolocationAPI There is also good doco on the web service request/response schema. Firefox and iPhone Safari...

Webkit.framework and Google Gears drag and drop support

I would like to support drag and drop from Google Gears in my MacOS application (Google Wave client Waveboard - http://www.getwaveboard.com). Although the Gears plugin seems to work in my WebView it does not respond to drag and drop actions like it should. In Safari and Fluid this works fine. Question: Does someone know if I need to set...

Can I access Gears from a Chrome extension?

Developing extensions for Google Chrome 4.x. I'd like to keep a couple of parameters persistent, and thought about using Google Gears' Database object - since it's always installed with Chrome.But I couldn't find any documentation that will tell me if it's possible. The only relevant sentence I could find was Data is stored using th...