rnote icon indicating copy to clipboard operation
rnote copied to clipboard

Android Version

Open memtech3 opened this issue 1 year ago • 9 comments

It would be super cool if there was an Android version of the full rnote. In another feature request (#245) , a commenter mentioned compiling to webassembly to bring android support. I think as long as the compiled webassembly version was distributed as a PWA that could be installed and used offline that would satisfy this feature request

Some context: I am a college student and my day to day loadout is a laptop (non touch) and android tablet with stylus (Galaxy Tab S6 Lite) as it is more convenient than carrying my wired Wacom tablet around to classes.

memtech3 avatar Dec 04 '22 03:12 memtech3

As a first step of checking doability of this task it should be checked whether base libraries (like GTK4) can be compiled into webassembly.

To check convergence and web browser compatibility you can run the current application with GTK4 Broadway backend.

The GDK Broadway backend provides support for displaying GTK applications in a web browser, using HTML5 and web sockets.

phoronix news about broadway

pktiuk avatar Dec 04 '22 13:12 pktiuk

I can help with Kivy if this is helpful!

Shahin-rmz avatar Mar 31 '23 11:03 Shahin-rmz

@Shahin-rmz How using Kivy is supposed to help? Kivy is Python framework, but Rnote is written with Rust and GTK4.
Do I miss something?

pktiuk avatar Apr 01 '23 10:04 pktiuk

I'm uncertain if this would help: https://github.com/tauri-apps/tauri-mobile

dbrandonjohnson avatar May 27 '23 02:05 dbrandonjohnson

I wonder if there can be a file-format compatible side project for android. I haven't taken a look at the source code yet but if the core logic and gtk bindings are modularly implemented, maybe a rust+flutter branch can be maintained without too much effort. (High likely much easier than trying to get any gtk on android?)

I don't have enough knowledge in either of them but in the case of no interest/time, perhaps I can try to step up and contribute, saving students from searching endlessly for a proper but cross platform foss annotation software, myself included, at some time in the future (next year?), together :3

Beryesa avatar Aug 22 '23 21:08 Beryesa

How is this going? Is there a android/web version in development?

DeltriDev avatar Mar 18 '24 21:03 DeltriDev

Trying to build this in version 0.8.2 where most of the dependencies in termux are available without manually building the dependencies. I'm currently stuck with the package gettext-sys. I pasted the logs here, hopefully someone more knowledgeable can help debug this. https://github.com/termux/termux-packages/issues/17655#issuecomment-2016687563

EDIT: Tried compiling in a Fedora environment but seems Termux crashes during the last package to be compiled.

EDIT2: Somebody compiled this for aarch64 and just installed it from there.

EDIT3: Running this on Termux-x11 + Hardware Acceleration through virgl and I am getting close to native performance on my tablet.

mistune avatar Mar 24 '24 13:03 mistune

Trying to build this in version 0.8.2 where most of the dependencies in termux are available without manually building the dependencies. I'm currently stuck with the package gettext-sys. I pasted the logs here, hopefully someone more knowledgeable can help debug this. termux/termux-packages#17655 (comment)

EDIT: Tried compiling in a Fedora environment but seems Termux crashes during the last package to be compiled.

EDIT2: Somebody compiled this for aarch64 and just installed it from there.

EDIT3: Running this on Termux-x11 + Hardware Acceleration through virgl and I am getting close to native performance on my tablet.

that's great! is there a build somewhere or do i have to build this myself? i would rather not

DeltriDev avatar Apr 01 '24 19:04 DeltriDev

@DeltriDev I used the build here https://fedora.pkgs.org/39/terra/rnote-0:0.10.1-1.fc39.aarch64.rpm.html.

mistune avatar Apr 02 '24 03:04 mistune