fmgasparino / gwt-phonegap

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

FileEntry.createWriter() problem on Motorola XOOM w/ Android 4.0.4 #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the sample file attached to init() phonegap and to test File procedures.

2. On the Motorola XOOM with Android 4.0.4, the save() method consistently 
fails after going from Network to Airplane mode at the second log statement, no 
errors are given. It is not recoverable, after it fails you can not use the 
File any longer. You have to close down the app and open again.

3. This same sample works fine on the Google Nexus Phone with 4.0.4, a Motorola 
Droid Phone w/ 2.3.4 and two different Samsung Galaxy Tabs with 3.2.

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

It should work on the XOOM as it does on the other devices.

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

GWT 2.4, cordova-1.8.1.js, cordova-1.8.1.jar, gwtphonegap-1.8.1.0.jar

Please provide any additional information below.

See methods in attached file that work as described above and fails on the XOOM.

Original issue reported on code.google.com by da...@sauvier.com on 2 Jul 2012 at 8:26

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Daniel, I'm not sure what this issue is, seems device specific. It's 
happening on both XOOM tablets we have and not the other devices. Any 
suggestions where I should submit it? 

Thanks!
David S.

Original comment by da...@sauvier.com on 2 Jul 2012 at 8:33

GoogleCodeExporter commented 8 years ago
this looks indeed very strange.

so you are saying calling testFile.getFullPath() just fails on the zoom after 
using airplane mode?

Are you getting some kind of exception if you compile with full stack trace 
support and an uncaught exception handler in place?

Original comment by katharin...@gmail.com on 3 Jul 2012 at 9:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Check out this log file. You can see it successfully write a few times, then a 
java.net.SocketException: sendto failed and then you can see it stops working 
from that point forward? 

Original comment by da...@sauvier.com on 3 Jul 2012 at 1:42

Attachments:

GoogleCodeExporter commented 8 years ago
Could be this?

https://issues.apache.org/jira/browse/CB-587

Original comment by da...@sauvier.com on 3 Jul 2012 at 1:48

GoogleCodeExporter commented 8 years ago
I haven`t had the time yet to take a look, but this one seems like it can be 
the cause.

The problem in europe is that we still are not getting any updates from 
motorola so currently I am stuck on 3.2, so right now I can`t test myself.

I will take a look myself and try to dig something up.

Original comment by kurka.da...@gmail.com on 3 Jul 2012 at 9:39

GoogleCodeExporter commented 8 years ago
I just got around to look for myself and there is no way of producing anything 
on android 3.2 with a motorola xoom. I would suggest we move this to the 
cordova issue tracker, since this seems to me like a general issue with the 
Xoom and ICS 4.0.4 and not something gwt phonegap releated.

Original comment by kurka.da...@gmail.com on 10 Jul 2012 at 6:35

GoogleCodeExporter commented 8 years ago
Thanks Daniel, I opened an issue on the Cordova tracker. 

https://issues.apache.org/jira/browse/CB-1029

Original comment by da...@sauvier.com on 11 Jul 2012 at 5:22

GoogleCodeExporter commented 8 years ago
CB-1029 was determined to be a duplicate of CB-587, still a big problem, now 
something similar is also happening on my unlocked Nexus with 4.1.1 

https://issues.apache.org/jira/browse/CB-587

Original comment by da...@sauvier.com on 8 Aug 2012 at 2:59

GoogleCodeExporter commented 8 years ago
the bugtracker assumes that this should not be an issue anymore since the 
standard callback server is no more..

Original comment by kurka.da...@gmail.com on 22 Feb 2013 at 2:56