Search code examples
androidpythonsl4a

Writing to file with SL4A Python


Is there an API call for opening, reading and writing to text files on an Android device using SL4A and Python? If not, what options are available for persistent storage? e.g. database, preferences, dropbox, google drive.


Solution

  • Ok, so I was silly to look for a droid command to write files. The standard Python open, write, read, close commands work fine.