1. Are you ready for the Galaxy S20? Here is everything we know so far!

project folder path from a java class wihin an android project

Discussion in 'Android Development' started by FredTheIntern, Apr 25, 2012.

  1. FredTheIntern

    FredTheIntern Lurker
    Thread Starter

    I am making an android application which is using a java class full of static data. I want to save some of that data in an xml file within the project. I made a test xml file which is currently in my assets file, but I can't seem to find a way to access that file from within the java class. is there a way to get to reaccess that folder path using code so I can read and write in the xml file?
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...