Page 1 of 1

Easy to port to android with only simple functions?

Posted: 15 Jun 2022 18:18
by robabok978
Is it possible to only build the an Android app of MuWire.
It should only get a hash of the file from the messager-/browser-/pdf-app and
download the file in the Downloadsfolder of the mobile
Is this easier to port, because no ui, search results, chat, message?

Could be a good usage if you can just use hash in a messenger app or elsewhere
and try to download with muwire for whatever reasons.

Thanks

Re: Easy to port to android with only simple functions?

Posted: 16 Jun 2022 03:12
by zlatinb
I don't know anything about working on Android but in theory it should be possible. MuWire is split into core and UI and the core compiles with java 8 which is what is available on Android. To do what you suggest one also needs to define an URI schem for MuWire hashes, but that's not a showstopper. See this discussion for more info https://github.com/zlatinb/muwire/discussions/131