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

android build #24

Open
sam-cts opened this issue Jan 19, 2021 · 3 comments
Open

android build #24

sam-cts opened this issue Jan 19, 2021 · 3 comments

Comments

@sam-cts
Copy link

sam-cts commented Jan 19, 2021

Hi there,

I am interested to build this application for android device, I saw you do have android support, however I am having trouble to build it. Can you please kindly share the build steps for the android build?

Thanks.

@gen2brain
Copy link
Owner

Hi, you have an example here https://github.com/gen2brain/cam2ip/blob/master/make.bash#L106, you need to install the Android toolchain first. You also must have rooted devices so you can start it from the shell.
It is still a work in progress, it uses camera2 API but I don't get a callback on my current phone so I can not test it. Btw. there is a was also to build opencv2 version and use it for the native camera on Android, but up to version 4.0 I think, so only for very old devices.

@sam-cts
Copy link
Author

sam-cts commented Jan 20, 2021

@gen2brain thank you very much, I got it to build and running on rooted device now. However it is not able to retrieve frame from camera. does it require some camera permission setting?

@gen2brain
Copy link
Owner

Check what your camera supports, there are apps like this one https://play.google.com/store/apps/details?id=com.airbeat.device.inspector, and as I said, it is still WIP and not tested.

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