Hey guys,

M trying to write a file using openFileOutput, using the following snippet:

              // open myfilename.txt for writing
              OutputStreamWriter out = new
OutputStreamWriter(openFileOutput("myfilename.txt",0));
              // write the contents on mySettings to the file
              out.write(sa_lt);
              // close the file
              out.close();

I have to use this file, myfilename.txt, later in my native code. To
reference it I must know it's path.

Anyone knows where does openFileOutput create the file and if it can be
opened in my native code using the path, as in would there be any permission
issues.

Please guide me

Abhyudai

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