Hello anel91,
You will have to use
file io API's[
^]. Following sample should get you started.
private void save(String filename, String data)
{
try
{
FileOutputStream fos = openFileOutput(filename, Context.MODE_PRIVATE);
fos.write(data.getBytes());
fos.close();
toast("File successfully saved.");
}
catch (Exception ex)
{
toast("Error saving file: " + ex.getLocalizedMessage());
}
}
You will also find
this[
^] particular tutorial very useful.
Regards,