>     out = new BufferedWriter(new OutputStreamWriter(
> new FileOutputStream(file), "UTF-8"
>     ));

Why are you using FileOutputStream AND OutputStreamWriter AND
BufferedWriter?

>     out.write(result.toString());

What is the type of result? How did you put content in it?

You are not checking the returnvalue of your write statement.

> I indeed see that the text is not correct.

Please explain exactly what is wrong with it.

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