Back to project page timeflash.
The source code is released under:
Apache License
If you think the Android project timeflash listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.derlethtully.timeflash; /* w w w .j av a 2 s .c o m*/ import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class EditListActivity extends Activity { String vocabList; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_edit_list); vocabList = getFilesDir().toString() + "/vocabList.txt"; try { FileWriter overWrite = new FileWriter(vocabList, false); overWrite.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } finish(); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.edit_list, menu); return true; } }