Posted: 11th Oct 2011 9:06
Hi all, fails to write data to a memory card in a live phone.
the path is valid ..
ideas, suggestions


+ Code Snippet
// writing to a file
SetCurrentDir( "Storagecard/Media/Others/" )
OpenToWrite ( 1, "Storagecard/Media/Others/myfile.txt", 0 )
WriteInteger ( 1, 10 )
WriteFloat ( 1, 1.23 )
WriteString ( 1, "hello" )
CloseFile ( 1 )


do

    Print ( GetWritePath() )

    // update the screen
    Sync ( )
loop
Posted: 11th Oct 2011 23:33
SetCurrentDir( "Storagecard/Media/Others/" )
OpenToWrite ( 1, "Storagecard/Media/Others/myfile.txt", 0 )

is redundant since the path has already been set, try

SetCurrentDir( "Storagecard/Media/Others/" )
OpenToWrite ( 1, "myfile.txt", 0 )

or simply

OpenToWrite ( 1, "Storagecard/Media/Others/myfile.txt", 0 )
Posted: 12th Oct 2011 0:36
does not work.
Posted: 15th Oct 2011 6:18
Please post this bug in the issues board so I can assign it to Paul: http://code.google.com/p/agk/issues/list