kabit999 / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Method to test for Gears availability #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. View app without Gears, or click "Deny" when the Gears security alert
appears.

What is the expected output? What do you see instead?

n/a

What version of the product are you using? On what operating system?

gwt-google-apis 1.0, GWT 1.4.10

Please provide any additional information below.

Can we get a method to test for Gears?  There are ways to do this, but a
boolean test method seems reasonable.

if (Gears.isAvailable()) {
  // ...
}
else {
  Window.alert("Please install Gears");
}

Original issue reported on code.google.com by IamRober...@gmail.com on 2 Jun 2007 at 8:58

GoogleCodeExporter commented 9 years ago
here's the patch for this one too

Original comment by jason.es...@gmail.com on 4 Jul 2007 at 2:37

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by gwt.team...@gmail.com on 2 Sep 2007 at 5:38

GoogleCodeExporter commented 9 years ago

Original comment by gwt.team...@gmail.com on 2 Sep 2007 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by gwt.team...@gmail.com on 7 Sep 2007 at 5:42

GoogleCodeExporter commented 9 years ago

Original comment by gwt.team...@gmail.com on 7 Sep 2007 at 1:45

GoogleCodeExporter commented 9 years ago
A deferred-binding property would allow more sophisticated behavior to be 
implemented.

Original comment by gwt.team...@gmail.com on 27 Sep 2007 at 7:58

GoogleCodeExporter commented 9 years ago
We had discussed that possibility originally but it slipped past the net.  
Thanks for
bringing it back up!

Original comment by gwt.team...@gmail.com on 28 Sep 2007 at 2:11

GoogleCodeExporter commented 9 years ago
Renamed the method to Gears.isInstalled since Gears can be installed but 
unavailable
to create the Gears classes if the site is blocked.

Committed as r84.

Original comment by gwt.team...@gmail.com on 24 Jan 2008 at 7:39

GoogleCodeExporter commented 9 years ago

Original comment by mmendez+personal@google.com on 22 Apr 2008 at 2:44

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 9 Jun 2008 at 11:31

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 6 Nov 2008 at 6:27

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 6 Nov 2008 at 6:32

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 21 Dec 2009 at 1:57