Hi,
thanks.... i see.
but how would it looks in my code

String baseDir = 
Environment.getExternalStorageDirectory().getAbsolutePath();

String fileName = DATABASE_TABLE + ".myd";

File f = new File(baseDir + File.separator + fileName);

FileWriter gpxwriter = new FileWriter(f);

BufferedWriter out = new BufferedWriter(gpxwriter);

        out.write("<data>\n");


out.flush();

        // tried

//gpxwriter.getFD().sync();
//out.getFD().sync();
        // both give me error as i am not using FileOutPutStream
        // how would i have to change my above code so it works?

        cursi.close();


thx

chris


 

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

Reply via email to