Thank you Jack,
It works.
On Aug 11, 5:16 pm, Jack Ha wrote:
> Context.openFileOutput() opens a private file associated with this
> Context's application package for writing and the name of the file to
> open can not contain path separators.
>
> Try this:
>
> try {
> File root
Context.openFileOutput() opens a private file associated with this
Context's application package for writing and the name of the file to
open can not contain path separators.
Try this:
try {
File root = Environment.getExternalStorageDirectory();
if (root.canWrite()){
2 matches
Mail list logo