18 messages in com.googlegroups.google-gearsRe: Programmatically retrieve DB file...| From | Sent On | Attachments |
|---|---|---|
| seriouslynonamesleft | 21 Feb 2008 08:39 | |
| Jeremy Moskovich | 21 Feb 2008 08:56 | |
| seriouslynonamesleft | 21 Feb 2008 21:56 | |
| Ben Lisbakken | 21 Feb 2008 22:04 | |
| Jeremy Moskovich | 22 Feb 2008 00:34 | |
| Aaron Boodman | 22 Feb 2008 01:15 | |
| seriouslynonamesleft | 22 Feb 2008 19:10 | |
| Jeremy Moskovich | 22 Feb 2008 19:14 | |
| seriouslynonamesleft | 22 Feb 2008 19:14 | |
| seriouslynonamesleft | 22 Feb 2008 19:25 | |
| Chris Prince | 22 Feb 2008 19:52 | |
| rsac...@gmail.com | 23 Feb 2008 08:34 | |
| Sarah Allen | 23 Feb 2008 10:44 | |
| Sarah Allen | 23 Feb 2008 22:32 | |
| Aaron Boodman | 23 Feb 2008 23:06 | |
| Sarah Allen | 24 Feb 2008 08:56 | |
| Aaron Boodman | 24 Feb 2008 10:05 | |
| Sarah Allen | 24 Feb 2008 16:13 |
| Subject: | Re: Programmatically retrieve DB file path?![]() |
|---|---|
| From: | seriouslynonamesleft (seri...@gmail.com) |
| Date: | 02/22/2008 07:14:17 PM |
| List: | com.googlegroups.google-gears |
Yeah, this is what I was going to do. However, this does require some maintenance when new browsers/platforms get added. Not that it's such a big deal, but it'd be awesome if we could just grab it from script and always be sure that, no matter the platform, we were getting the right path.
On Feb 21, 10:04 pm, "Ben Lisbakken" <lisb...@google.com> wrote:
You can find a list of the paths to the files
here:http://code.google.com/support/bin/answer.py?answer=82853&topic=11630
Those are the Google Gears directories for the respective browsers/OS's
Inside those directories, there will be a directory for each domain that has been allowed to use Gears. WIthin those directories will be the LocalServer and database files.
You could just link them to that article, however there's no way to programatically detect their path through Gears.
Hope that helps, Ben
On Thu, Feb 21, 2008 at 9:57 PM, seriouslynonamesleft
<seri...@gmail.com> wrote:
I just want to display the path to the user for their administrative purposes and convenience.
On Feb 21, 8:57 am, "Jeremy Moskovich" <play...@google.com> wrote:
Hi,
As applications running in the web browser have no direct access to the file system, we do not expose an API to access this information.
It would help if you could provide some more details on what exactly your trying to achieve.
Best regards, Jeremy
On Thu, Feb 21, 2008 at 8:40 AM, seriouslynonamesleft <
seri...@gmail.com> wrote:
It's easy enough to figure out where the DB file is based on the documentation, browser and OS. It'd be easier still if there were an API call that just returned the absolute path on the client machine.




