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

Too much slow when posting a photo #17

Open
jsfan3 opened this issue Apr 29, 2020 · 1 comment
Open

Too much slow when posting a photo #17

jsfan3 opened this issue Apr 29, 2020 · 1 comment

Comments

@jsfan3
Copy link

jsfan3 commented Apr 29, 2020

Trying your demo Android apk on my Android 7 device, the app is completely frozen for some seconds to load a photo.

My hypothesis is that your code resizes the photo and it needs some seconds, blocking the EDT.

@shannah
Copy link
Owner

shannah commented Apr 29, 2020

Yes. The source of the demo is here

As it was the demo, I just did it the "default" way. However, this is probably something to look at in CN1 core.

Probably I should be limiting the width of the photo in the Capture.capturePhoto() call to prevent it from taking a high-res photo.

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