13 Replies Latest reply on Oct 14, 2014 1:03 AM by Kutir Mobility

    how to create a file using RhoFile



      I have a newbie question: Can I create a file and write to it using the RhoFile APIs?

      I am able to read the file contents using RhoFile.read() but there is no corresponding write. There is a write instance method, but I cannot figure out how to create a RhoFile instance for the specified path from the documentation.


      Higher level question - I need to store a few settings that are specific to my application, is there a simpler way to do this, instead of the approach of creating my own config file and serializing my settings to it?