Giter Club home page Giter Club logo

gwt-mobile-webkit's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gwt-mobile-webkit's Issues

IE 6/7 typo

What steps will reproduce the problem?
1. Run under IE 7 (or IE 8 as IE 7)
2.
3.

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

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


Please provide any additional information below.


The problem is there is a typo in StorageImplIE6.getItem()


The fix that worked for me is:

@Override
  public native String getItem(String storage, String key) /*-{
    // clean key
    var cleanKey = $wnd.Storage.esc(key);
    [email protected]::load()();
    return $wnd.ieLocalStorageEl.getAttribute(cleanKey);
  }-*/;

Original issue reported on code.google.com by [email protected] on 5 Jun 2013 at 11:39

Not able to read blob object stored from sqlite database using gwt-html5-database api

What steps will reproduce the problem?
1. We are able to insert a value as blob like below
2. I could see in SQLite Explorer that my blob object getting stored. 
3. Now, on SQLResultSet, we do not have anything called getBlob. We could see 
that only getString, double, float and int are there. 
How do I get the stored blob object?

What is the expected output? What do you see instead?
I was expecting a mechanism to read blob object stored in sqlite database using 
gwt-html5-database api.

What version of the product are you using? On what operating system?
gwt-html5-database v1.0




Original issue reported on code.google.com by [email protected] on 23 Jul 2012 at 8:00

cannot checkout from subversion

typing the following (using svn 1.5 on OS X)
svn co http://gwt-mobile-webkit.googlecode.com/svn/trunk/gwt-
mobile-webkit

I get this output...



gwt-mobile-webkit/template/template/src/com/google
A    gwt-mobile-webkit/template/template/src/com/google/code
A    gwt-mobile-webkit/template/template/src/com/google/code/gwt
A    gwt-mobile-
webkit/template/template/src/com/google/code/gwt/template
A    gwt-mobile-
webkit/template/template/src/com/google/code/gwt/template/MobileWe
bkitTemplate.gwt.xml
A    gwt-mobile-
webkit/template/template/src/com/google/code/gwt/template/client
A    gwt-mobile-
webkit/template/template/src/com/google/code/gwt/template/client/Te
mplate.java
A    gwt-mobile-webkit/template/template/build.xml
A    gwt-mobile-webkit/template/build.xml
A    gwt-mobile-webkit/build.xml

Fetching external item into 'gwt-mobile-webkit/iui/http:/google-web-
toolkit.googlecode.com/svn/trunk/build-tools'


Original issue reported on code.google.com by [email protected] on 17 Aug 2009 at 10:39

GWT compiler warnings related to missing validation jar in classpath

What steps will reproduce the problem?
1. Compiling any module from sources against GWT 2.3

What is the expected output? What do you see instead?
No compiler errors/warnings.

NOTE: The code will compile just fine in the end, this validation jar is not 
used in any module.

Original issue reported on code.google.com by bguijt on 25 Jun 2011 at 2:42

IE6,7 Storage Support

Attached is a patch that will allow the gwt-mobile-webkit storage library to 
work with IE6 and 7. Those browsers do not have localStorage or sessionStorage 
capabilities but they do have an early implementation of localStorage using the 
userData behavior. This patch allows developers to continue to the storage 
engine without reverting to cookies or developing an independent solution to 
deal with these ancient browsers.

http://msdn.microsoft.com/en-us/library/ms531424%28VS.85%29.aspx

Original issue reported on code.google.com by [email protected] on 10 Dec 2010 at 12:25

Attachments:

Is this still being supported?

I am looking for offline database/storage support. GWT-MOBILE-WEBKIT looks like 
a good option.

But for the past two years, I do not see much activity and developments on 
these libraries. So I am concerned about the ongoing support and developments. 
If these packages are discontinued, could some one point me to some other 
options. The GWT's HTML5 Storage API is very basic and it does not support SQL.

Thanks in advance.

Original issue reported on code.google.com by [email protected] on 21 Mar 2013 at 7:24

Add 'isSupported()' for both the localStorage and the sessionStorage individually.

Run the Storage API sample in a Chrome4 browser, or in Opera10.50b1. The 
localStorage is operational, while the sessionStorage is not (see 
http://www.w3.org/2010/01/results-wctmb2).

This 'feature' should be distinguishable in the API by adding 
'isLocalStorageSupported()' and 'isSessionStorageSupported()' to the Storage 
class.

Original issue reported on code.google.com by bguijt on 25 Feb 2010 at 1:08

StorageEvents are NOT emitted from the Storage API.

What steps will reproduce the problem?
1. Add a StorageEventHandler to a Storage instance
2. Perform transactions on said Storage
3. No events are emitted.

What is the expected output? What do you see instead?
We expect to have a StorageEvent emitted from the Storage.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by bguijt on 10 Jun 2009 at 11:47

IE8 Local Storage Crashing

What steps will reproduce the problem?
1. Eclipse Helios 32-bit, Win7, GWT 2.0.4 
2. Hosted Mode (I think... Run as Web Application
3. IE8

What is the expected output? What do you see instead?
When IE8 comes to Storage.getLength(), or 
localmail = Storage.getLocalStorage();
    if(localmail.getLength()>0){
.....}
When IE8 comes to the getLength part, it crashes on the client side.

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


Please provide any additional information below.


com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1731)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset by peer: socket write 
error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    at java.io.BufferedOutputStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at com.google.gwt.dev.shell.BrowserChannel$FreeMessage.send(BrowserChannel.java:789)
    at com.google.gwt.dev.shell.BrowserChannel.sendFreedValues(BrowserChannel.java:1863)
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1716)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by [email protected] on 15 Aug 2010 at 9:35

performing a select statement with a single parameter does not seem to work

whenever I try to invoke something like

        Object[] arguments = {1};
        tx.executeSql("select * from foo where bar = ?", arguments, callback);

I get an error when running against Safari 4.0.3 (5531.9) of this

"number of '?'s in statement string does not match argument count"

I've tried passing in 2, 3, 4 arguments instead and no joy.

I was going to try patch your DatabaseTest.java to demonstrate the issue, 
but I've not yet figured out how to run your test case as I can't check out a 
proper version of your source code with the build tools etc :)

Original issue reported on code.google.com by [email protected] on 17 Aug 2009 at 10:43

Build support for GWT's UncaughtExceptionHandler

According to the documentation of [http://code.google.com/p/google-web-
toolkit/source/browse/trunk/user/src/com/google/gwt/core/client/GWT.java#26 
GWT.UncaughtExceptionHandler], we need to catch Exceptions before they can 
escape to the 
browser. The Gears Geolocation implementation for instance 
[http://code.google.com/p/gwt-
google-
apis/source/browse/trunk/gears/gears/src/com/google/gwt/gears/client/geolocation
/Geolocation
.java#69 shows how it should be used].

Original issue reported on code.google.com by bguijt on 20 Jul 2009 at 1:59

Fix StorageMap implementation errors, as revealed by the StorageMapTest

What steps will reproduce the problem?
Run the Storage test on Selenium (e.g. `ant test 
-Dgwt.hosts.web.selenium=localhost:4444/*safari 
-Dgwt.useragents.web.selenium=safari`)

What is the expected output? What do you see instead?
No JUnit failures/errors (from the StorageMapTest testcase)

Original issue reported on code.google.com by bguijt on 25 Jan 2010 at 10:31

onTransactionStart() in not called sometimes after Database.transaction()

What steps will reproduce the problem?
- from onModuleLoad() it works, ie onTransactionStart callback function is 
always called after database.transaction()
- from onModuleLoad (in SzemleOffline.java) I start a new RootPanel using a 
composite Login window (Login.java), from constructor of Login it works
- from onClick event of a buttons of the Login window onTransactionStart 
callback function is not called, but onTransactionSuccess is always called

What is the expected output? What do you see instead?
onTransactionSuccess always should be invoked

What version of the product are you using? On what operating system?
Win XP SP3, Chrome 7.0.517.44, GWT 2.0.4, gwt-html5-database-1.5.1

Please provide any additional information below.
It seems that from events, database.transaction (javascript) does not work as 
it should (HTML5-Chrome error?), because its first callback function is never 
called, or the javascript->java mapping does not work sometimes. I doubt the 
latter one, because onTransactionSuccess is always found/executed. I have found 
no similar problem reported, despite I had searched the internet for it.

gwt-log:
(SzemleOffline.java:49) 2010-11-16 10:30:46,630 [DEBUG] 
com.bpc.karszakerto.client.SzemleOffline$1: onTransactionStart
(SzemleOffline.java:57) 2010-11-16 10:30:46,724 [DEBUG] 
com.bpc.karszakerto.client.SzemleOffline$1: onTransactionSuccess
(Login.java:90) 2010-11-16 10:30:54,099 [DEBUG] 
com.bpc.karszakerto.client.Login$3$1: onTransactionSuccess
(CommonQueryHandler.java:316) 2010-11-16 10:30:54,146 [DEBUG] 
com.bpc.karszakerto.client.integration.handler.CommonQueryHandler$1: 
onTransactionSuccess

Original issue reported on code.google.com by [email protected] on 16 Nov 2010 at 10:45

Attachments:

JSO to Java class cast exception, HelloDatabaseSample (and doc)

Database API

What steps will reproduce the problem?
1.run HelloDatabaseSample
2.click 'Add Click'
3.

What is the expected output? What do you see instead?
see: java.lang.ClassCastException: com.google.gwt.core.client.JavaScriptObject$ 
cannot be cast to java.util.Date at ...ClickRow$.getClicked$(ClickRow.java)

What version of the product are you using? On what operating system?
gwt-html5-database-1.5.1.tar.gz; Safari Version 5.0.2 (6533.18.5); GWT2.0.4; 
OSX10.6.4

Please provide any additional information below.

ClickRow contains illegal JS native to Java cast, in return type. Cannot cast 
JSO Date to java.util.Date.

    public final native Date getClicked() /*-{
        var dateClicked = new Date();
        dateClicked.setTime(this.clicked);
        return dateClicked;
    }-*/;

replace with:
    public final Date getClicked() {
        return new Date(getTime());
    }


    public final long getTime() {
        return (long) doubleTime();
    }

    private native double doubleTime() /*-{
        return this.clicked;
    }-*/;

Original issue reported on code.google.com by [email protected] on 17 Sep 2010 at 8:53

Firefox calls Geolocation callbacks twice (sometimes)

What steps will reproduce the problem?
1. Open the HelloGeolocation.html page in Firefox 3.5
2. Click on the 'get location' button
3. Sometimes, you get two responses with a single click

What is the expected output? What do you see instead?
Firefox should respond with exactly *one* call in the callback (either success 
or failure)

Original issue reported on code.google.com by bguijt on 11 Jan 2010 at 11:35

invalid arguments count error when running an update query in debug mode

What steps will reproduce the problem?
1.when pressing a button on the form that will run an update table query on 
the DB will fail due to invalid count of arguments passed.
2. running the same form on regular mode (without "?
gwt.codesvr=127.0.0.1:9997" in the address line) will work fine.

What is the expected output? What do you see instead?
should update the table

the expected output is a message which appear onSuccess, instead an error 
is thrown and a message which appear onFailure (see attached images and 
code).


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

using WTK 2.0.3, app engine 1.3.1 on Eclipse 3.4.0
on windows XP 32it SP3

Please provide any additional information below.

 methods that will use the query are attached as methods.txt.

also an error appears when first loading the page (in development mode tab 
in eclipse) that i could not find it's source, may be connected to this 
problem attached as error.txt



Original issue reported on code.google.com by [email protected] on 9 Mar 2010 at 3:13

Attachments:

HostedModeException when calling getInt on a column with a null value

What steps will reproduce the problem?
If ran in hosted mode, calling getInt() on a column with a null value creates a 
HostedModeException. Functions as expected when deployed to server.

Please see attached project.

What is the expected output? What do you see instead?
expected: return a null value, what happens: HostedModeException

What version of the product are you using? On what operating system?
GWT 2.0.4
gwt-mobile-webkit 1.5.1
Win7 x64


Please provide any additional information below.
extract the archive and run the file HelloDatabase-compile.cmd in the 
launch-scripts folder. then run HelloDatabase-shell.cmd. load app, click 
button, check shell window for exception.

alternatively, to see it function correctly, run HelloDatabase-run.cmd and 
navigate to url.

Original issue reported on code.google.com by [email protected] on 22 Jul 2010 at 3:26

Attachments:

Add shell scripts to run the samples in production (compiled) mode

Describe the feature and its purpose:

There are two types of shell scripts right now: One to compile the samples, and 
one to run the 
samples in Development Mode (a.k.a. HostedMode).

There is a need to have a shell script to run the samples in Production Mode 
(compiled).

Original issue reported on code.google.com by bguijt on 21 Jan 2010 at 2:37

position.getTimestamp() should return long instead of int

What steps will reproduce the problem?
1.in the positionCallback call position.getTimestamp();
2.
3.

What is the expected output? What do you see instead?
For Java, DOMTimeStamp is bound to the long type. For ECMAScript, DOMTimeStamp 
is bound to the Date type because the range of the integer type is too small. 
(this comes from 
http://www.w3.org/TR/DOM-Level-3-Core/core.html#Core-DOMTimeStamp)

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

I am using 0.9.5 
Please provide any additional information below.
Great work guys ! i love it ! 

Original issue reported on code.google.com by [email protected] on 16 Dec 2010 at 10:20

implement the Database API on top of the Google Gears Database API...

it would be cool if the gwt-mobile-webkit API could reuse the Google Gears 
GWT API under the covers if the browser does not support HTML5's database 
API but does have Gears installed

http://code.google.com/p/gwt-google-apis/

then gwt-mobile-webkit's Database API could become the universal API for 
GWT for databases; be it HTML5 or Gears

Original issue reported on code.google.com by [email protected] on 17 Aug 2009 at 11:00

Add a library for W3C's Indexed Database API

Describe the feature and its purpose:
The library would implement the W3C spec http://www.w3.org/TR/IndexedDB/ 
like the Web Storage and Web Database specs are implemented.

Microsoft and Mozilla are *never* going to implement the Web Database spec 
due to its dependency on SQL and/or SQLite. Therefore they submitted their 
own spec called "Indexed Database API" which in summary provides a fast 
searching, asynchronous and transactional API on a KEY/VALUE store.

WebKit is also implementing this API, as of recently:
- http://groups.google.com/a/chromium.org/group/chromium-
dev/browse_thread/thread/82891f1ab423df1d
- http://trac.webkit.org/browser/trunk/WebCore/storage

Original issue reported on code.google.com by bguijt on 10 Mar 2010 at 10:21

database disappears on history actions

I have a GWT application that uses gwt-mobile-webkit to access the sqllite 
web database supported by chrome. It works extremely well, except for one 
issue.

If the user clicks on the browser back button, then the database
totally vanishes and my application freezes as accesses to the
database cannot complete.

What do I need to do to make sure that any interaction with history
(within my webapp) does not break access to the database?

Thanks,

   -- Pierre

Original issue reported on code.google.com by [email protected] on 12 May 2010 at 5:57

Provide convenient access to local database using SQL-annotated interface methods.

Currently, querying the local database is quite hard and even less 
straightforward than JDBC. I 
propose to introduce a new method to query a local database, using annotated 
interfaces and a 
custom GWT generator.

The annotated interface might look like this (the example is 'ported' from 
http://code.google.com/p/gwt-mobile-webkit/wiki/DatabaseApi):

@DatabaseService(name="ClckCnt", version="1.0", description="Click Counter", 
maxsize=10000)
public interface MyDatabaseService {

  @SQL("SELECT clicked FROM clickcount")
  void getClickCounts(StatementCallback<ClickRow> callback);

  @SQL("INSERT INTO clickcount (clicked) VALUES ({timestamp})")
  void insertClick(long timestamp, StatementCallback<Void> callback);
}


The interface should be used much like we use an RPC service:

MyDatabaseService service = GWT.create(MyDatabaseService.class);


and the service methods can be invoked like:

service.getClickCounts(new StatementCallback<ClickRow>() {
  public boolean onFailure(SQLTransaction transaction, SQLError error) {
    return false;  // don't roll back
  }
  public void onSuccess(SQLTransaction transaction, SQLResultSet<ClickRow> resultSet) {
    clickedData.clear();
    for (ClickRow row : resultSet.getRows()) {
      clickedData.add(new Label("Clicked on " + row.getClicked()));
    }
  }
});

Thoughts?

Original issue reported on code.google.com by bguijt on 22 Oct 2009 at 8:26

Doubling number of permutations

Hi, I read most of the deferred binding docs, I read your blog posts about 
mobile.user.agent. It doesn't make any sense, but inheriting MobileSafari 
doubles number of compiled permutations on mobile.user.agent property.

I can clearly see

    <set-property name="mobile.user.agent" value="none" >
        <none>
            <when-property-is name="user.agent" value="safari" />
        </none>
    </set-property>

in your MobileSafari.gwt.xml

Using GWT 2.1.1

Original issue reported on code.google.com by [email protected] on 25 Jan 2011 at 4:24

Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected

What steps will reproduce the problem?
1. Running application in DevMode with latest GWT version

What is the expected output? What do you see instead?
I would expect the service to be generated, get error instead:
Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was 
expected

What version of the product are you using? On what operating system?
GWT 2.5.1
gwt-html5-database 1.5.1

Please provide any additional information below.
It appears to be an issue with Google changing some things. Here are similar 
issues with other libraries:

http://code.google.com/p/gwt-platform/issues/detail?id=292
http://code.google.com/p/gwt-dmesg/issues/detail?id=5
http://stackoverflow.com/questions/12630987/found-interface-com-google-gwt-core-
ext-typeinfo-jclasstype-but-class-was-expec


Original issue reported on code.google.com by [email protected] on 2 May 2013 at 3:05

Fallback option for Storage API: Database API

Some browsers (e.g. Opera at the moment) don't implement the Storage API, yet 
they do implement 
the other storage option: the Database API.

In this case, it would be convenient to implement the Storage API using the 
Database API as the 
actual storage.

The result would be a Storage API as primary, broadest-supported storage 
mechanism for web 
applications.

Original issue reported on code.google.com by bguijt on 22 Oct 2009 at 8:08

Add accelerometer / gyroscope support

Although not (yet) part of the HTML 5 spec it is possible to detect 
accelerometer / gyroscope events in JavaScript. It would be great if there was 
a GWT wrapper for this.

More info on how it can be done: 
http://stackoverflow.com/questions/4378435/how-to-access-accelerometer-gyroscope
-data-from-javascript.

Oh and the sample site is awesome: http://isthisanearthquake.com/.

Original issue reported on code.google.com by [email protected] on 28 Jun 2011 at 8:37

Optional attributes in Coordinates object are either NULL or ZERO when not used

What steps will reproduce the problem?
1. Run the Geolocation sample in Firefox3.5 and you see ZERO's;
2. Run the Geolocation sample in the iPhone simulator and you see NULLs.

What is the expected output? What do you see instead?
Expected is that all optionals return NULL when not in use.


Please use labels and text to provide additional information.
Tried the Double wrapper to 'help' get NULL values -- no effect. Conversely, 
unsupported optional 
attributes using standard 'double' primitive type return NULLs instead of 
zeroes...

Original issue reported on code.google.com by bguijt on 10 Aug 2009 at 9:33

GWT 2.2 and gwt-html5-database incompatiblity

Compiling a project that uses GWT 2.2 and gwt-html5-database, the following 
error is thrown.

[ERROR]  Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
       at com.google.code.gwt.database.rebind.DataServiceGenerator.generate(DataServiceGenerator.java:71)

Shawn

Original issue reported on code.google.com by [email protected] on 3 Apr 2011 at 10:57

provide native mozilla/gecko support?

I spotted this today...

https://developer.mozilla.org/en/Storage

I wonder if its possible to implement the GWT API on top of this for use in 
Firefox/Mozilla?

Original issue reported on code.google.com by [email protected] on 1 Dec 2009 at 10:00

getCurrentPosition does not work on Safari (Windows or iPhone)

What steps will reproduce the problem?
1. Call if (Geolocation.isSupported()), it returns true
2. Call Geolocation.getGeolocation().getCurrentPosition(callback);
Bug: Neither methods implemented in the PositionCallback are called

What is the expected output? What do you see instead?
Expect either onSuccess or onFailure to be called

What version of the product are you using? On what operating system?
Using gwt-html5-geolocation-0.9.5 with GWT 2.2.0 on Windows XP, though I've 
tried on Windows 7 & an iPhone. Safari 5.0.3 on Window XP. 

Please provide any additional information below.
This works on Chrome & Firefox

Original issue reported on code.google.com by [email protected] on 24 Feb 2011 at 2:46

GeographicalArea Contains Some Major Flaws

GeographicalArea class contains the Integer radius, which, by definition is 
the radius of the area.  Therefore, a larger radius implies a greater 
potential difference between the min latitude and max latitude.  

Given that the latitudeDiff calculation is "latitudeDiff = Math.PI * 
units.getEarthRadius() / radius * 180d;" The larger the radius, the smaller 
the difference between the min and max latitude.  This calculation should 
change.

Original issue reported on code.google.com by [email protected] on 29 Mar 2010 at 10:04

'no such table' error, but table exists (DataService)

1. I copied your example with DataService code in my project but altered some 
data.
2. Then putted "CREATE IF NOT EXISTS" command just like in your example.
3. After that I created few methods with SELECT command and one for inserting 
data in table.
4. For getting data from table I used GenericRow class.
5. I use Windows.alert() for messages in success and failure callback functions.
6. And finally refreshed page in browser.

Expected behavior is to get alert messages with ID of inserted row in database 
or data retrieved with SELECT command.
Instead alert showed me DataServiceException that table which I created doesn't 
exist.

I use Chrome 5.0.375.70 on Windows XP. I tried FF 3.6.3 and Safari 5 but I was 
alerted that Web SQL API is not supported.

The strange thing is that when I call "SELECT count(*)" for that table and it 
always returns me count 1.

Later I tried exact copy of your example code, but I got the same error message 
(no such table 'clickcount').

I need help with this as soon as possible.

Thank
JD

Original issue reported on code.google.com by [email protected] on 15 Jun 2010 at 4:49

Release archive out of date

What steps will reproduce the problem?
1. download the storage API bundle
2. try to use it with the sample code provided in HelloStorage.java
3. methods Storage.isLocalStorageSupported() && 
Storage.isSessionStorageSupported() are not in the API.

What is the expected output? What do you see instead?
I would expect the sample code to work.


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

1.0.1 on linux


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Sep 2010 at 2:54

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.