cfc icon indicating copy to clipboard operation
cfc copied to clipboard

Could the app return the result to other app

Open dgod opened this issue 1 year ago • 1 comments

I would like my app can start the cfc with startActivityForResult, so cfc don't save the file, but just return the data to the caller.

dgod avatar Oct 09 '24 03:10 dgod

It's not an easy change, but I'm hoping to move in this direction.

Specifically: the code in libcimbar reassembles the file in RAM (because that's how wirehair works) then writes to file on completion -- so this isn't a technical constraint, just an interface issue/change. Beyond being potentially helpful for other apps, returning the file in a memory buffer is also necessary (probably) for the webapp decoder.

I'm not sure what other work might be needed on the android app side afterwards. :thinking:

sz3 avatar Oct 14 '24 07:10 sz3