Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could the app return the result to other app #39

Open
dgod opened this issue Oct 9, 2024 · 1 comment
Open

Could the app return the result to other app #39

dgod opened this issue Oct 9, 2024 · 1 comment

Comments

@dgod
Copy link

dgod commented Oct 9, 2024

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.

@sz3
Copy link
Owner

sz3 commented Oct 14, 2024

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. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants