Home / GitHub Page

Note storage location - Android


#1

I’d like to be able to store Joplin notes in my Android phone’s SD card. Is this currently possible?


#2

android allow you to move data of app to a sd card (in the details of the application, from applications menu list)
did you try that ?


#3

That was just about the first place I looked.

Thanks for the help.


#4

Damned


#5

When you press “Storage” some apps provide an option to change to SD card, but Joplin dioesn’t.


#6

I’d like to know the developer’s reasoning behind that decision.


#7

@laurent could soon


#8

it’s one line in the manifest. If it’s ok with @laurent I can create a PR.


#9

I would take a PR for it. We just need to keep in mind that it’s less secure to put the data into the external storage because someone can eject the SD card and read its content in any computer. Personally I wouldn’t put my personal data there, but I don’t mind if the application allows it.


#10

Can’t files on a SD card can be encrypted?


#11

As far as I know there’s no Android option to encrypt the external storage.


#12

I thought there’s an option to encrypt the external SD card. I think to remember I had that option on my S3.

Anyway, here’s the API description:

When your application is installed on the external storage:

  • There is no effect on the application performance so long as the external storage is mounted on the device.
  • The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory.
  • The unique container in which your application is stored is encrypted with a randomly generated key that can be decrypted only by the device that originally installed it. Thus, an application installed on an SD card works for only one device.
  • The user can move your application to the internal storage through the system settings.

Therefore I do not think the app will be less secure by allowing to install the app on an external card.

I’ll create a PR.


#13

#14

Maybe I misunderstood, but is there a distinction between storing the app on SD, or its data?
The quote from the API describes storing the app on SD.


#15

Yes, there is. If one wanted to put the app data on the SD card, it would have to be explicitly implemented in the app.


#16

This feature is now part of the latest release thanks to @tessus.


#17

Allowing the app to use the SD card as storage will be very useful. Many devices have limited main memory and this will allow users to keep that more of that precious space free.


#18

@ebonair my change only allows the app itself to be moved to the SD card. It does not move the data!

This would be a much larger change…


#19

I see that now. Does moving the app to card storage break anything, for example reminders? I am just recently starting with Joplin, coming from Evernote and so far I really like it. It would be handy if you could specify the storage location for the data. I only had a few notes in Evernote with larger attached files so it does not affect me much at this point. Does Joplin on Android have any size limitation for resources?