perumal316 wrote:
> Sorry for asking,
> 
> But after doing
> 
> File file = new File(Environment.getExternalStorageDirectory(),
> "alert.txt");
> 
> I thought of doing something like
> file.append(string) or file.write(string) but there is no such
> methods.
> 
> How do I use the file to write to the "alert.txt"?

new FileWriter(file);

You may wish to spend a few weeks learning Java outside of Android. I
fear that you will find learning both at the same time to be frustrating.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.0
Available!

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to