Hi Eduard, I already try these functions but they don't give a path to local files. With this, i can just add to my local store, files the user chose on his computer. Yes i tried a solution with this function: the user choose a place on his computer to save a file, he edits it and after with a call to the function openFile() he can just add the file to the local store of Gears. The problem is that is not a good solution because a user can loose the directory where he put the file, it's better to just click to edit the file directly, save it, 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 the local path to the > > store by a specific method from Gears which give me directly the local > > 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 remote file with a local program and save it > > > as if it was on his desktop) Now i need to do the same while offline, > > > that is to say, i need to open a file which is in my local store with > > > a client-side program. > > > I managed to do it using a signed java applet (so i can access to > > > local resources) and reading the file directly from the path to the > > > google Gears local store. I don't think it's really clean to do it > > > like that so > > > Do you see an other way to do it?
