• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • craig hlatywayo
    craig hlatywayo
    4,017 Points

    The following code is similar to what you just wrote. Modify this code to only write the file if it does not already....

    Posted September 11, 2017 2:15pm by craig hlatywayo
    craig hlatywayo
    4,017 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    2 Answers

  • Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points

    database write only

    Posted April 25, 2017 10:06am by Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    3 Answers

  • Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points

    write data

    Posted April 25, 2017 7:38am by Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    2 Answers

  • Alwin Lazar V
    Alwin Lazar V
    5,267 Points

    how to modify this code I have stuck this challenge

    Posted December 10, 2016 4:08pm by Alwin Lazar V
    Alwin Lazar V
    5,267 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

  • Elisha Chitate
    Elisha Chitate
    5,770 Points

    ./FileUtilities.java:28: error: cannot find symbol if (fileToWrite.exists() == false) { ^ symbol: variable .

    Posted November 29, 2016 12:45pm by Elisha Chitate
    Elisha Chitate
    5,770 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    0 Answers

  • Nancy Melucci
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nancy Melucci
    Front End Web Development Techdegree Student 34,555 Points

    Code posted in forums doesn't seem to pass...

    Posted January 10, 2016 1:16pm by Nancy Melucci
    .a{fill-rule:evenodd;}techdegree
    Nancy Melucci
    Front End Web Development Techdegree Student 34,555 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    2 Answers

  • Dai Phong
    Dai Phong
    20,395 Points

    Does this quiz setup properly?

    Posted December 26, 2015 1:34am by Dai Phong
    Dai Phong
    20,395 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    0 Answers

  • MUZ141097 Simangele Jogwe
    MUZ141097 Simangele Jogwe
    4,630 Points

    The following code is similar to what you just wrote. Modify this code to only write the file if it does not already exi

    Posted September 24, 2015 1:27pm by MUZ141097 Simangele Jogwe
    MUZ141097 Simangele Jogwe
    4,630 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

  • Fouchimi Ousmane
    Fouchimi Ousmane
    3,349 Points

    How to check whether file exists or not with File object ?

    Posted July 29, 2015 2:31am by Fouchimi Ousmane
    Fouchimi Ousmane
    3,349 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    0 Answers

  • MUZ140854 Gladness Njanji
    MUZ140854 Gladness Njanji
    4,139 Points

    The following code is similar to what you just wrote. Modify this code to only write the file if it does not already exi

    Posted July 16, 2015 1:30pm by MUZ140854 Gladness Njanji
    MUZ140854 Gladness Njanji
    4,139 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

  • MUZ141042 Anesu Chiweshe
    MUZ141042 Anesu Chiweshe
    4,205 Points

    been getting syntax error for the past 2days.please help!

    Posted July 16, 2015 9:43am by MUZ141042 Anesu Chiweshe
    MUZ141042 Anesu Chiweshe
    4,205 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

  • Jose Garcia
    Jose Garcia
    2,166 Points

    Where do I add "if" statement?

    Posted July 13, 2015 3:30am by Jose Garcia
    Jose Garcia
    2,166 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

  • MUZ140820 Immaculate Ncube
    MUZ140820 Immaculate Ncube
    4,611 Points

    The following code is similar to what you just wrote. Modify this code to only write the file if it does not already exi

    Posted June 24, 2015 9:35am by MUZ140820 Immaculate Ncube
    MUZ140820 Immaculate Ncube
    4,611 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    0 Answers

  • MUZ140820 Immaculate Ncube
    MUZ140820 Immaculate Ncube
    4,611 Points

    The following code is similar to what you just wrote. Modify this code to only write the file if it does not already exi

    Posted June 23, 2015 12:04pm by MUZ140820 Immaculate Ncube
    MUZ140820 Immaculate Ncube
    4,611 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    0 Answers

  • Adlight Sibanda
    Adlight Sibanda
    5,701 Points

    Writing files

    Posted May 28, 2015 11:15am by Adlight Sibanda
    Adlight Sibanda
    5,701 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    2 Answers

  • Miguel Angel Rodriguez
    Miguel Angel Rodriguez
    11,280 Points

    Cant fin the error! Please help

    Posted May 3, 2015 1:35pm by Miguel Angel Rodriguez
    Miguel Angel Rodriguez
    11,280 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    2 Answers

  • Eston Burciaga
    Eston Burciaga
    1,729 Points

    Mememaker: What is the method that checks if a file already exisits?

    Posted February 22, 2015 3:38pm by Eston Burciaga
    Eston Burciaga
    1,729 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    3 Answers

  • Shubham Agrawal
    Shubham Agrawal
    7,169 Points

    Using fileToWrite.exists() method of file class doesn't work. Why?

    Posted January 10, 2015 5:28pm by Shubham Agrawal
    Shubham Agrawal
    7,169 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

  • Dalton Coble
    Dalton Coble
    6,489 Points

    writing to internal storage code challenge help

    Posted December 6, 2014 12:01am by Dalton Coble
    Dalton Coble
    6,489 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

  • Refael Ozeri
    Refael Ozeri
    18,274 Points

    file storage code challenge

    Posted November 18, 2014 11:36am by Refael Ozeri
    Refael Ozeri
    18,274 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    4 Answers

  • Irmak Topkaya
    Irmak Topkaya
    1,072 Points

    check to see if a file exists or not - Android data persistence

    Posted November 10, 2014 11:11pm by Irmak Topkaya
    Irmak Topkaya
    1,072 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    0 Answers

  • Raghda Talaa't
    Raghda Talaa't
    2,944 Points

    What is the solution?

    Posted November 9, 2014 7:04pm by Raghda Talaa't
    Raghda Talaa't
    2,944 Points
    • Android
    • Android Data Persistence
    • File Storage
    • Writing to Internal Storage

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.