Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-14 Thread Thomas Broyer


On Wednesday, April 13, 2011 8:56:15 PM UTC+2, nino ekambi wrote:

 Hi  Thomas.
 I m aware of the  File API in HTML5. But   as you can see the API is 
 supported in different  level by the broswer providers. IE  does not support 
 it at all.  So the only  cross  browser solution will be a plug in


No, the cross browser solution will be GWT's deferred binding: use the File 
API when available and fallback to Flash and/or Silverlight otherwise. ;-)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-14 Thread nino ekambi
I Agree :)

Even dough that File API still have a long way to go  to reach the level the
plug in hav. I m still waiting  for a decent HTML5 library  to read and
write Excel  and PDF files on the client.

2011/4/14 Thomas Broyer t.bro...@gmail.com



 On Wednesday, April 13, 2011 8:56:15 PM UTC+2, nino ekambi wrote:

 Hi  Thomas.
 I m aware of the  File API in HTML5. But   as you can see the API is
 supported in different  level by the broswer providers. IE  does not support
 it at all.  So the only  cross  browser solution will be a plug in


 No, the cross browser solution will be GWT's deferred binding: use the File
 API when available and fallback to Flash and/or Silverlight otherwise. ;-)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

GWT API for the Flash Platform
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread Diego Lovison
hello,
each browser have your api for create and read files or to access data
on disk storage
So I would like to create an api to make this...
http://code.google.com/p/gwtapi/

Will have an interface that will be create by deffered binding, and an
implementation for each browser...

for example
ReadFile read = GWT.create(ReadFile.class);
String[] lines = read.thisFile();

make sense create this api?

thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread Ben Imp
As far as I am aware, the browser wont let you read/write local files
like that.

-Ben

On Apr 13, 9:53 am, Diego Lovison diegolovi...@gmail.com wrote:
 hello,
 each browser have your api for create and read files or to access data
 on disk storage
 So I would like to create an api to make 
 this...http://code.google.com/p/gwtapi/

 Will have an interface that will be create by deffered binding, and an
 implementation for each browser...

 for example
 ReadFile read = GWT.create(ReadFile.class);
 String[] lines = read.thisFile();

 make sense create this api?

 thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread nino ekambi
To do that  there s no way around a pluging(Flash , silverlight) for now.

2011/4/13 Ben Imp benlee...@gmail.com

 As far as I am aware, the browser wont let you read/write local files
 like that.

 -Ben

 On Apr 13, 9:53 am, Diego Lovison diegolovi...@gmail.com wrote:
  hello,
  each browser have your api for create and read files or to access data
  on disk storage
  So I would like to create an api to make this...
 http://code.google.com/p/gwtapi/
 
  Will have an interface that will be create by deffered binding, and an
  implementation for each browser...
 
  for example
  ReadFile read = GWT.create(ReadFile.class);
  String[] lines = read.thisFile();
 
  make sense create this api?
 
  thanks

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

GWT API for the Flash Platform
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread Thomas Broyer
That's not quite true actually: http://www.html5rocks.com/features/file
See https://developer.mozilla.org/en/using_files_from_web_applications for 
some sample code.

It's far from the level of support of Flash though...

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread Diego Lovison
Yes
Chrome have the api too...
I dont know about safari, ie and opera

On 13 abr, 13:08, Thomas Broyer t.bro...@gmail.com wrote:
 That's not quite true actually:http://www.html5rocks.com/features/file
 Seehttps://developer.mozilla.org/en/using_files_from_web_applicationsfor
 some sample code.

 It's far from the level of support of Flash though...

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread nino ekambi
Hi  Thomas.
I m aware of the  File API in HTML5. But   as you can see the API is
supported in different  level by the broswer providers. IE  does not support
it at all.  So the only  cross  browser solution will be a plug in

2011/4/13 Diego Lovison diegolovi...@gmail.com

 Yes
 Chrome have the api too...
 I dont know about safari, ie and opera

 On 13 abr, 13:08, Thomas Broyer t.bro...@gmail.com wrote:
  That's not quite true actually:http://www.html5rocks.com/features/file
  Seehttps://developer.mozilla.org/en/using_files_from_web_applicationsfor
  some sample code.
 
  It's far from the level of support of Flash though...

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

GWT API for the Flash Platform
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.