Thanks for your advices Kostya.I will try to do them...

2011/4/11 Kostya Vasilyev <kmans...@gmail.com>

> 11.04.2011 2:41, bahtiyar kara пишет:
>
>  I know that if ı create a file in internal memory, it s saved under
>> /data/data directory.
>> Is it wrong?
>>
>
> No, that's correct. Just don't hard-code "/data/data/<package>" - rather
> use Context.openFileInput  / openFileOutput / getFilesDir.
>
>
>  and when ı list files in my application, for example ı want to open an
>> image or an mp3 file in internal directory in this folder.
>> I think ı need to access there? or I think wrong?
>>
>
> An application has access to its own files.
>
> But not to files of other applications. Other applications don't have
> access to your files either.
>
>
>
>> What ı want to do:
>>
>> I want to create some directories and files in android and then
>> I want to list them a file browser firstly.
>>
>
> Depends on where "some directories and files" are.
>
>
>  What do you should me?
>> Do you should I need to do them in sd card?
>>
>
> If  you need to have files that are visible by other applications, then
> yes, using the memory card is a simple way to achieve that. Make sure you
> read this:
>
>
> http://developer.android.com/guide/topics/data/data-storage.html#filesExternal
>
> -- Kostya
>
>
>> Many thanks for helping...
>>
>
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Bahtiyar Kara
İstanbul University-Computer Engineering
0554 797 45 37

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to