I have tried the below skill and it works.
The problem is closed.

<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>


On 10月16日, 下午1时42分, chen ji <[email protected]> wrote:
> Hi,
>
> Current I just use Android 1.6 emulator. I am writing a simple code
> which needs write one result file to SD card.  But It is failed to
> open one file to write (Reading is ok). I tried to use C level API and
> Java level  API but both of them are failed.
> Furthermore, I tried to use chmod comand in the shell but it is still
> useless.
>
> It is known in the Android 1.5 or befor, it should be OK. Is it a new
> feature of 1.6 or it is just my emulator's issue?  If it is a new
> feature, can someone figure out how to write the data into SD card?
>
>  Thanks,
>
> Ji Chen
--~--~---------~--~----~------------~-------~--~----~
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