logoalt Hacker News

apitman05/14/20252 repliesview on HN

SAF doesn't work with native code, which really sucks if you're trying to make a cross-platform app.


Replies

pjmlp05/15/2025

Yes it does, nothing forbids someone to write a bit of Java, invoked via Android IPC, no need to be allergic.

Too many folks keep pretending Android is GNU/Linux

nolist_policy05/15/2025

Native code can work with files inside the app data folder. Then you can expose that folder with SAF in a separate Activity. Termux does this and it works really well.