On Tue, Sep 13, 2011 at 6:38 PM, Shruthi Varma
<[email protected]> wrote:
> But I am not supposed to store those images in my app folder as per my
> client's requirements.
>
> This is achievable in Iphone.

I don't think the iPhone has an SD card, but if you say so. You can
get a 'private'
directory for your app on the SD card (external storage, actually) and
store files there.
There's an API for that:

http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()

However, external storage is shared and other applications will be able to
access your files (there are no file permissions, hence no access control).
If you are OK with that, you have fulfilled you requirement. If not, either
store them in a private directory, or obfuscate/encrypt them so it's not too
easy to access them from other applications.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to