Hi frog, I'm trying to do something seemed to yours, I think. I'm doing a gwt application that has an online editor for files allocated in server. What I need is allow users to edit files while offline. I'm trying to do this by Gears, but I don't get the way to save a file on client computer. Have you got this?? How?
I'd be very grateful if somebody can help me. Thanks On Apr 6, 9:41 am, frog <[email protected]> wrote: > Hi Eduard, > I already try these functions but they don't give a path tolocal > files. With this, i can just add to mylocalstore, files the user > chose on his computer. > Yes i tried a solution with this function: > the user choose a place on his computer tosaveafile, he edits it > and after with a call to the function openFile() he can just add thefileto > thelocalstore of Gears. > The problem is that is not a good solution because a user can loose > the directory where he put thefile, it's better to just click to edit > thefiledirectly,saveit, and that's all. > Thanks for your response. > > On 6 avr, 08:36, Eduard Martini <[email protected]> wrote: > > > I think this is what you need: > > >http://code.google.com/apis/gears/api_desktop.html > > > On Apr 3, 4:24 pm, frog <[email protected]> wrote: > > > > Hi again, > > > I was wondering now if it's possible to get thelocalpath to the > > > store by a specific method from Gears which give me directly thelocal > > > path without doing it by myself because i will have to treat all > > > different cases depending on the OS and the browser... > > > I can do it but it's quit annoying and i would like to know if Gears > > > has already implemented that? > > > thanks > > > > On 2 avr, 16:27, frog <[email protected]> wrote: > > > > > hello, > > > > my web application contains files which can be edited while online > > > > with a client-side program using WEBDAV ( just by clicking an 'edit' > > > > button, they can open the remotefilewith alocalprogram andsaveit > > > > as if it was on his desktop) Now i need to do the same while offline, > > > > that is to say, i need to open afilewhich is in mylocalstore with > > > > a client-side program. > > > > I managed to do it using a signed java applet (so i can access to > > > >localresources) and reading thefiledirectly from the path to the > > > > google Gearslocalstore. I don't think it's really clean to do it > > > > like that so > > > > Do you see an other way to do it?
