debrouxl / tilp_and_gfm

TILP (formerly GtkTiLink) can transfer data between Texas Instruments graphing calculators and a computer. It works with all link cables (parallel, serial, Black/Gray/Silver/Direct Link) and it supports the TI-Z80 series (73..86), the TI-eZ80 series (83PCE, 84+CE), the TI-68k series (89, 92, 92+, V200, 89T) and the Nspire series (Nspire Clickpad / Touchpad / CX, both CAS and non-CAS)
http://lpg.ticalc.org/prj_tilp
119 stars 16 forks source link

Android ARM-64 support? #47

Open NunexGT opened 3 years ago

NunexGT commented 3 years ago

I would like to know if there is planned or at least if there could be some way to make tilp work on Android.

And ok, making a Tilp app would probably require to make everything from the ground up, but today I don´t think that is necessary.

What I was thinking now was some port for termux and vnc (for GUI elements) or something like that. To me it makes some sense, just don´t really know if termux has the capability to access the USB-OTG directly. I know that termux nethunter for example can´t just directly access an external drive when I insert it in my phone. But maybe something like nethunter root for Android could actually work, because it has direct access for the USB OTG. I know it´s not intended for this use, but it could be a starting point.

Also, Some months ago, around May, I actually tried to install tilp on termux nethunter and vnc, and back then, when I wrote "Tilp" on the terminal, it would actually start to appear part of the normal text that appears. Can´t remember exactly what was written there and I´m not being able to install tilp on this again to show you so. What I clearly also remember is that GUI elements with this wouldn´t load. And if I went to the start menu and started tilp from there, the terminal would open, but still no GUI.

With this, maybe it´s more possible then ever to accomplish this? Don´t really know, but still it would be interesting

ppareit commented 3 years ago

I don't know the exact architecture of tilp. But maybe all functionality could be put into a library and then three versions of tilp could be constructed, tilp-gtk tilp-cl and tilp-android.

I have no experience with the usb protocol. But I have some experience with android.

debrouxl commented 3 years ago

Well... most of the functionality of TILP is already part of a set of libraries (though there's a bit of room for further refactor and code motion), namely https://github.com/debrouxl/tilibs , and e.g. Dritan Hashorva's Android emulator for multiple TI graphing calculator models contains Android builds of these libraries :) In the modern world, what users need is a Web-based tool for computer / tablet / smartphone platforms, based on WebUSB. Of course, Windows driver shenanigans keep ruining the fun for users, but still. In fact, there are already some projects in that area: see https://github.com/Timendus/ticalc-usb and https://github.com/Timendus/ticalc.link . For now, this does not remotely have the level of protocol, file format breadth or reliability of libti*, but with enough work (well, clearly a nontrivial amount thereof !), including on the architecture, it could eventually get there.