I have no idea about the winimage tool, but Android provides the mksdcard
command in the tools directory of your SDK installation.
Make an SD card with that command, run your program and if that works, there
is some difference in the sd card image generated by winimage that Android
does not like (whatever it may be).

Always best to first stick with things that are known to work.

Ludwig



2008/10/29 Thao <[EMAIL PROTECTED]>

>
> Hi,
>
> Sorry for the mistake, I check again my launching option :  -sdcard "E:
> \_sources\android\filesystem\mySDCARD.ima"
>
> I created my image with "winImage" tool, and it was formatted to
> FAT32.
> I have also tried to create some text files on the sdcard, then read
> it.
> One thing is weird : When I create some text files on the SDCARD with
> only "Hello android" for example. The "cat" shell command (adb shell)
> prompt me with a "invalid length" message.
> If I create the same file, with the same text in my application
> folder, I can read "Hello android" with cat command.
>
> Maybe all my problem come from the incorrect SDCARD format with
> winImage ?
> These are the parameters for the image creation :
>
> File system : FAT 32
> Bytes per sector ; 512
> Sector per cluster (size in bytes) : 128
> total number of sectors : 25545600 --> 121MB
>
> What do you think ?
> >
>

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