I either download the e-books via the browser (Google Chrome), e.g. Orell Füssli, or the Onleihe app directly, where I usually get the e-books from.
It's an Android device and apps can be installed accordingly.
The Onleihe app is supported by many libraries in Switzerland and the cantons.
You just have to have a subscription in the library of the municipality.