1. Download our Official Android App: Forums for Android!

Apps Missing file

Discussion in 'Android Development' started by Petr Franz, Mar 30, 2016.

  1. Petr Franz

    Petr Franz Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Mar 29, 2016

    Mar 29, 2016
    1
    0
    5
    Male
    Hello.
    In my code i have a part for writting to the file.

    OutputStreamWriter outputStreamWriter = new OutputStreamWriter(this.getBaseContext().openFileOutput("MyFile.txt", Context.MODE_APPEND));
    outputStreamWriter.write(data);
    outputStreamWriter.close();

    Now i am looking for this file in my device, but i cannot find it. Do you anyone know, where is this file saved??

    Thanks for respons.
    PF
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,275
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,275
    10,375
    1,988
    Male
    Software developer
    South West of England

Share This Page

Loading...