A basic client to access an existing nextcloud instance via Pocketbook.
Download and Unzip:
Placement:
nextcloud.app
file from the unzipped folder.Transfer to Pocketbook:
Move the App and Add cacert.pem
:
nextcloud.app
file into the "applications" folder of your Pocketbook device.cacert.pem
from here and add it to the "applications" folder to ensure secure communication within the application.Disconnect and Launch:
To log in, follow these steps:
Enter the server name (e.g., https://domainname
) or the WebDAV URL (e.g., https://domainname/remote.php/dav/files/UUID
). You can find the WebDAV URL in the Files app under settings.
Provide your username and password. If you have 2FA (Two-Factor Authentication) enabled, you need to set up an App-specific password. You can learn more about this process here.
After logging in, you'll be prompted to select a location to save the Nextcloud files.
To download a file, simply click on it.
To sync a folder, click on it until a menu appears. Then, select "sync" from the menu. The folder sync feature will only synchronize files that are "newer" on the server side, ignoring .sdr
files.
Currently there are multiple methods to build the application. It is recommended to use the Dockerimage.
The easiest way to build applications as of now to use the Dockerimage. (https://github.com/JuanJakobo/Pocketbook-dev-docker)
First you need to install conan and the basic build tools for linux.
Then you have to download the Pocketbook SDK (https://github.com/pocketbook/SDK_6.3.0/tree/5.19).
In the CMakeLists.txt of this project you have to set the root of the TOOLCHAIN_PATH to the location where you saved the SDK.
First you have to create the default profile by:
conan profile detect
Furthmore you have to add an conan profile for pocketbook to the profiles directory:
[settings]
arch=armv7
build_type=Release
compiler=clang
compiler.cppstd=gnu17
compiler.version=7.0
os=Linux
[buildenv]
CXX=arm-obreey-linux-gnueabi-clang++
CC=arm-obreey-linux-gnueabi-clang
LD=arm-obreey-linux-gnueabi-ld
STRIP=arm-obreey-linux-gnueabi-strip
AR=arm-obreey-linux-gnueabi-ar
AS=arm-obreey-linux-gnueabi-as
NM=arm-obreey-linux-gnueabi-nm
RANLIB=arm-obreey-linux-gnueabi-ranlib
On the first run you have to setup conan by:
conan install . --build=missing -pr=pocketbook
cmake --preset conan-release
After this to rebuild the application you have to run:
cmake --build build/Release
Use as your own risk! Even though the possibility is really low, the application could harm your device or even break it.