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 to this.
我最近观看了来自谷歌i / o的google wave视频,他们说你可以将文件从Windows资源管理器拖放到浏览器并使用齿轮上传它们。有人能指出我正确的方向来做这件事吗?我浏览了谷歌代码上的齿轮api页面,无法找到任何甚至接近这个的例子。
5 个解决方案
#1
You have some info here: http://fvisticot.blogspot.com/2009/06/google-gears-desktop-drag-and-drop.html
你在这里有一些信息:http://fvisticot.blogspot.com/2009/06/google-gears-desktop-drag-and-drop.html
#2
You may want to try plupload, it allows you to upload files using HTML5 Gears, Silverlight, Flash, BrowserPlus or normal forms, providing features such as upload progress, image resizing and chunked uploads. (See http://www.plupload.com/)
您可能想尝试使用plupload,它允许您使用HTML5 Gears,Silverlight,Flash,BrowserPlus或普通表单上传文件,提供上传进度,图像大小调整和分块上传等功能。 (见http://www.plupload.com/)
#3
i've also been looking - the best i've found so far is this but it's not very well documented
我一直在寻找 - 到目前为止我发现的最好的是这个,但它没有很好的记录
http://code.google.com/p/jquerymultiupload/
Josh
#4
Here is a good post about gears drag-drop upload with ASP.NET
这是一篇关于使用ASP.NET进行齿轮拖放上传的好文章
http://coderbag.com/Web-Development/Drag-Drop-file-Upload-With-Google-Gears-and-ASP-NET
#5
I ended up finding a different solution.
我最终找到了一个不同的解决方案。
I just used SWFUpload (found it on Google). Not as slick as drag and drop, but it's a lot easier to set up and allows users to do multiple files at once.
我刚刚使用了SWFUpload(在Google上找到它)。不像拖放那样光滑,但设置起来要容易得多,并允许用户一次执行多个文件。
#1
You have some info here: http://fvisticot.blogspot.com/2009/06/google-gears-desktop-drag-and-drop.html
你在这里有一些信息:http://fvisticot.blogspot.com/2009/06/google-gears-desktop-drag-and-drop.html
#2
You may want to try plupload, it allows you to upload files using HTML5 Gears, Silverlight, Flash, BrowserPlus or normal forms, providing features such as upload progress, image resizing and chunked uploads. (See http://www.plupload.com/)
您可能想尝试使用plupload,它允许您使用HTML5 Gears,Silverlight,Flash,BrowserPlus或普通表单上传文件,提供上传进度,图像大小调整和分块上传等功能。 (见http://www.plupload.com/)
#3
i've also been looking - the best i've found so far is this but it's not very well documented
我一直在寻找 - 到目前为止我发现的最好的是这个,但它没有很好的记录
http://code.google.com/p/jquerymultiupload/
Josh
#4
Here is a good post about gears drag-drop upload with ASP.NET
这是一篇关于使用ASP.NET进行齿轮拖放上传的好文章
http://coderbag.com/Web-Development/Drag-Drop-file-Upload-With-Google-Gears-and-ASP-NET
#5
I ended up finding a different solution.
我最终找到了一个不同的解决方案。
I just used SWFUpload (found it on Google). Not as slick as drag and drop, but it's a lot easier to set up and allows users to do multiple files at once.
我刚刚使用了SWFUpload(在Google上找到它)。不像拖放那样光滑,但设置起来要容易得多,并允许用户一次执行多个文件。