[android-developers] Re: File permissions for world read/write

2009-01-03 Thread ggcespia
problem solved. package B had a typo in the file name. works fine now. On Jan 3, 9:02 pm, ggcespia wrote: > I'm trying to create file at /sdcard/foobar.tmp from one package that > needs to be readable by another package.  This works fine on the > emulator. However, on the G1, if I create the f

[android-developers] Re: File permissions for world read/write

2009-01-05 Thread Jean-Baptiste Queru
Note that you shouldn't hard-code the path to the SD card. There's an API in the Context class (if I remember correctly) that let's you query it. JBQ On 1/4/09, ggcespia wrote: > > problem solved. package B had a typo in the file name. works fine > now. > > On Jan 3, 9:02 pm, ggcespia wrote:

[android-developers] Re: File permissions for world read/write

2009-01-06 Thread michael m
Aren't the methods in the Context class specific to the files within the application private file store? I've been trying to find a way to export data out of the applications space to the sdcard, the solution above by ggcespia is the only I've found that works. The methods I tried in the Context