[android-developers] Re: How can i access the /data/data//files/my_file.txt on a real android device
You do not have permission to browse a listing (read) of the /data
directory, but you do have permission to access it contents (execute
for a directory). And you may have the r permission on the
directories and files your app creates.
So if you use something that lets you type in the full path, such as
the adb shell, you may be able to get down to a directory that you can
see.
On Sep 17, 5:10 am, Lidia <lidyp...@yahoos.com> wrote:> Hello to all,
>
> I wrote a file o the phone from my application in the following path:
> /data/data/<my_project_name>/files/my_file.txt
> If i run the application in emulator, i can see my file created in
> this path.
> but if i run the application on a real device, i can't see this file.
>
> Using DDMS from the eclipse the "data" folder from the phone has
> permissions drwxrwx--x - what does this mean?
> and when i try to expend the "+data" , it seems to be empty.
>
> I use the "Astro" programm to access the "data" folder from the phone,
> and it seems to be empty.
>
> Is the content hidden of this folder, and there is not a way to see
> what it contains?
>
> Thanks
> Lidia
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home