An android application for Bear.
This app can browse notes from an SQLite database which was edited using the Bear MacOS app.
- Copy the Bear database file to the downloads folder of your phone.
- In the Eisbär app, select the database file in the settings.
- In the main search view, type anything into the search field. This will refresh the view.
- View notes
- Search notes
- Rendered Markdown
- List of tags
- Support for images and attachments
- Edit notes
- View encrypted notes
There is currently no sync functionality built into Eisbär. To sync data between the android phone and the desktop app, you will need to update the sqlite database file either manually, using a third-party solution such as Syncthing, or by copying it to Google Drive.
On startup and then every 10 seconds, Eisbär checks the database file for changes, i.e., different size or modification date. If changes are detected, the external database file is copied into the private app data directory and the internal database is reopened. In the note list view, you can also use swipe-to-refresh to tell the document provider which provides the external database file, e.g. Google Drive, to refresh / download the file.
Working with an external sqlite database file appears to not be possible in android. Android apps can only open sqlite databases located in a specific folder in the private app data directory. That's why Eisbär copies the sqlite database when it detects changes to the external file. This may take a few seconds if you have a lot of notes.
This app uses requery to read the SQLite database because it supports partial models. With Room, the model entities must match the exact table specifications or the database cannot be opened.
copyright: CC BY 4.0, based on an image from creativetail