Now I am now getting a new error, but on the bright side its not crashing: "error occurred while creating xml file" new logcat posted – DefZep Jul 13 at 16:48.
Don't call the method out of a method. Declare File dataDir where you did, and call dataDir = getDir("DataDir",0); inside onCreate. Same for the next statement.
// Snip File dataDir; final String fileLoc; private ArrayList strings = new ArrayList(); /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super. OnCreate(savedInstanceState); setContentView(R.layout.
Main); dataDir = getDir("DataDir",0); fileLoc = dataDir.getPath()+"/stringfile. Xml"; // snap.
This worked up to a point. I am now getting an error: "error occurred while creating xml file" – DefZep Jul 13 at 16:46 new logcat posted – DefZep Jul 13 at 16:46 we'll need to see stringfile. Xml – MByD Jul 13 at 17:10.
07-13 12:03:02.499: ERROR/AndroidRuntime(7531): at android.content.ContextWrapper. 07-13 12:03:02.499: ERROR/AndroidRuntime(7531): at sample.matt.filemanip.MainActivity. 07-13 12:03:02.499: ERROR/AndroidRuntime(7531): at java.lang.Class.
07-13 12:03:02.499: ERROR/AndroidRuntime(7531): at java.lang.Class.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.