Now i am totally confused.
Mark does write... implement
Feign does write: you cannot use in manifest.
anyhow.. i have a big prob now.
when i made my first app version i was able to write to sdcard easy.
it was compiled with 1.6 minsdk 2
now i compile with 2.2 minsdk2
and when i save to sdcard... it does save the filename.. but ZERO bytes.
can anyone of you guys give me a proper source on my above example
that i just can keep my code: out.write("<data>\n");
the init should just access the EXTERNAL SDCard and not the internal
is there a way to proof check he does write to the external?
here again my two inits i am playing now with
/*
// version 0.9
File gpxfile = new File(root, DATABASE_TABLE + ".myd");
FileWriter gpxwriter = new FileWriter(gpxfile);
BufferedWriter out = new BufferedWriter(gpxwriter);
*/
// version 0.92
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);
// ------------
but BOTH compiles on 2.2 does create a file on my external SDcard.. but with
a later out.write("<data>\n"); i get ZERO FileLength (no data in)
its quiet a mess always to save and than to put the sdcard out to look
manual if something is saved in it.
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 [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