![]() ![]() Tried several things, like deleting "locks" or creating ".lock" on Android, to no avail. The OneSync app says that the invisible ".lock" is ignored. Could that be the source of the problem ? Only the "visible" locks is copied to the Android phone. I just realised that there is both a ".lock" and a "locks" directory in my Joplin directory. It would be good however to know I can export or backup or at least manually copy files from Android if you can tell me how in slightly more detail please. I simply want to start from scratch and sync from PC to Android and then work from there - hoping I can backup from PC, relying on successful sync. When I tap the orange banner "Press to set the decryption password" it says "Master password: Loaded". (There is a permanent message below the Sync button saying "Created remote items: 1, Completed, Last Error. Tried Configuration > Sync target: File System, set up a folder ("SD Card/Sync Joplin", hit Synchronise: nothing happens, no files in the folder I created and set as sync target. I realise this would probably not have exported the notes themselves anyway - just trying to be proactive and thorough. Tried Configuration > Export Profile - "Could not export files: Directory could not be created". Tried searching Android phone for *.md - no results. In the Joplin help pages it says you can export in Android but it doesn't say how and I can not find an option to do so. I simply want to export all Notes as there are plenty of posts about attempting to sync deleting all existing notes. I don't understand what the "config screen" is - is that a developer thing? In fact a search for "Joplin" returns no results. If (!Environment.MEDIA_MOUNTED.I have no folder named "Joplin Notes" in Documents folder - either in Internal or SD. ![]() String state = Environment.getExternalStorageState() * Remember that the external storage is not necessarily the sd card. **First of all we check if the external storage of the device is available for writing. Here you can download the code in a more readable format.ĭateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, Locale.getDefault()) In the following example we use the java.io.FileWriter class, because we want to create a text file writing one character at a time (2 bytes), and the java.io.PrintWriter class as a Decorator (remember the Decorator pattern in Java?), because we want to write one line at a time in the file. csv file, while the fields of each record are separeted by commas.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |