It really helpful.

Thank you for reply all question that i asked.

On Sat, Jul 3, 2010 at 3:31 PM, Mark Murphy <[email protected]> wrote:

> On Sat, Jul 3, 2010 at 12:40 AM, choi <[email protected]> wrote:
> > Today, i tried to read and write file on the android. but it seems
> > that file write mode is only provided for SD card?
>
> With the WRITE_EXTERNAL_STORAGE permission, you can write to the SD card.
>
> > most of article is asked about SD card written. Is there no way to
> > save data internal side?
>
> You can call getFilesDir() from your Activity or Service to get a
> directory in the on-board flash that you can read and write to.
>
> > So when i install the application to real device. then its application
> > installed in SD card or internal space?
>
> For Android 2.1 and earlier, it is installed in internal space.
>
> For Android 2.2 and beyond, you have the option of allowing the user
> to install it on the SD card or internal space.
>
> > So, how do we write the file to SD card and specified the absolute
> > path where we saved? to load this file.
>
> Use Java file I/O. Use Environment.getExternalStorageDirectory() to
> get a File object pointing to the root of the SD card.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training...At Your Office: http://commonsware.com/training
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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