farmerbb / Notepad

A simple, bare-bones, no-frills note taking app for Android.
Apache License 2.0
337 stars 98 forks source link

Where notes are saved #12

Open kosibakonrad opened 8 years ago

kosibakonrad commented 8 years ago

Could you tell me in what location are saved notes?

farmerbb commented 8 years ago

Saved notes are stored in the app's internal data folder, usually /data/data/com.farmerbb.notepad/files

You can export notes to any location you'd like (on Android 4.4+) by long-pressing the notes in the note list and pressing the Export button (SD card).

poobah88 commented 7 years ago

Farmerbb, First let me thank you for an awesome program. There are so many notepads out there and I was looking for a simple one to replace AK Notes (since it's unsupported now.) Yours in the near perfect replacement.

It would be nice to be able to export all my many, many notes at once, if you're looking for ways to upgrade in the future. :-) (That's a must have for backing up... a nice to have would be bold and italics.)

Thanks again,

Bill

farmerbb commented 7 years ago

@poobah88 As mentioned in the above comment, you can export multiple notes at once by long-pressing the notes in the note list and pressing the Export button (SD card icon).

I know a lot of people are wanting a "select all" button or an "export all" feature to be implemented, it's on my to-do list.

poobah88 commented 7 years ago

You've done so much already... a big thanks.  Actually, if that's on your to do list, it migh be faster if you just made it so we can save in our own directory (on SD card.) Then I wouldn't have to back up! :-) Thanks again.

On Wednesday, August 23, 2017, 1:16:28 PM CDT, Braden Farmer notifications@github.com wrote:

@poobah88 As mentioned in the above comment, you can export multiple notes at once by long-pressing the notes in the note list and pressing the Export button (SD card icon).

I know a lot of people are wanting a "select all" button or an "export all" feature to be implemented, it's on my to-do list.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

eestrada commented 6 years ago

Saving all notes to a custom location would be a huge feature for me personally. It would completely negate the need for any import/export.

@poobah88 If I implemented this and made a pull request for it, would it be a feature that would be accepted?

moriel5 commented 6 years ago

This is probably something that many people, including you @farmerbb, had already thought of, but as to how to export all (or some) of the notes, how about saving them in a .7z or .zip (should Android already have the necessary libraries built in) archive wherever the user asks?

I too was looking for an notes editor (as well as a generic text editor, though that is a completely separate story, since I use MiXplorer and am extremely happy with it) to replace my current choice, Just Note, and I too think that Notepad is an almost perfect replacement.

mehdisadeghi commented 5 years ago

Saving anything to sd card would need storage permission, and means the app would have access to other files and folders there. I think that's why the author hasn't done it. Which is fine.

dragonmaus commented 5 years ago

@mehdisadeghi Having the app request and use storage permission is fine. Being able to save directly to storage (especially to a custom path) would be a huge boon.

farmerbb commented 5 years ago

As @mehdisadeghi mentioned, Notepad not requesting the storage permission is a big reason why this feature hasn't been implemented yet. I could add the permission as well as an option in settings to set the storage path, but there are a few holdups that I have with doing so:

That having been said, this feature could in theory be implemented using Android's Storage Access Framework (for Android 4.4+) without the app having to request permissions. This is the same method that Notepad currently uses to import/export notes. Another option would be to only request the permission (and therefore limit the feature's availability) on Android 6.0 and up, thus preserving auto-updates on older versions.

Rbagman commented 5 years ago

I recover Android 4.4.2 using TWRP; this app was affected.

The data is stored in /storage/emulated/0/data/data/com.farmerbb.notepad/files?

I don't see anything in /storage/emulated/0/data/ There are no subfolders.

Also, I cannot navigate out of Downloads when I try to import.

farmerbb commented 5 years ago

Data is stored in /data/data/com.farmerbb.notepad/files, not /storage/emulated/0/data/data/com.farmerbb.notepad/files.

As for navigating out of Downloads when importing notes, make sure you've enabled access to the internal storage via the overflow menu in the top-right corner of the document picker.

bjlockie commented 5 years ago

@farmerbb

I know a lot of people are wanting a "select all" button or an "export all" feature to be implemented, it's on my to-do list.

Add that to the import also or let the user import everything in the selected directory.

Data is stored in /data/data/com.farmerbb.notepad/files, not /storage/emulated/0/data/data/com.farmerbb.notepad/files.

Could the "about" show where files are being saved?

PS! Nice app, thanks.

bjlockie commented 5 years ago

Found the select-all in the import and the export. :-)

Birgittaway commented 5 years ago

@bjlockie: https://github.com/farmerbb/Notepad/issues/12#issuecomment-509027053

My notepad version doesn't have an "export" option in the upper right hand menu bars?

bjlockie commented 5 years ago

Tge export is on the ... menu when you're editing a specific note. On the main page with the list of notes, click the note selector button in the top right and then click the disk icon to save the notes you selected by long clicking on.

cbadoud commented 4 years ago

Hi! I would be VERY NICE if there was an option for moving notes to SD card, because the internal storage of some phones are very small.

WiliTest commented 4 years ago

I was able t export all notes by: 1) pressing the select button 2) press the select all (square button) 3) press the button on the right (look like a sim card) 4)you are now in a "download" panel, click on "select all" 5) my files will be in the download folder

Debbahadur commented 3 years ago

All my notes now reside in Phone/Download. How should I set up an exclusive directory for them? My O/S is Android 8.0.0.