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

Camera callback never called #8

Open
yihanseattle opened this issue Nov 3, 2017 · 3 comments
Open

Camera callback never called #8

yihanseattle opened this issue Nov 3, 2017 · 3 comments

Comments

@yihanseattle
Copy link

yihanseattle commented Nov 3, 2017

The capture callback is never called.
I'm using Raspberry Pi Camera Module V2 - 8 Megapixel,1080p
0.5.1-devpreview

The last log seen was:
L165

It means that the camera and everything was ready, right?
But never got any thing back at:
L180 onCaptureProgressed or L188 onCaptureCompleted

Please help. Where can I look into next?

@mangini
Copy link
Contributor

mangini commented Dec 20, 2017

@yihanseattle Are you using this sample as it is? Can you test with DP6.1 (latest)?

@mangini
Copy link
Contributor

mangini commented Dec 20, 2017

BTW, I just tested with RPI3, Camera module V2.1 and Android Things 0.6-devpreview and it works perfectly fine.

@forqzy
Copy link

forqzy commented Feb 10, 2018

Same answer just copy the answer here. Hope will give some help.

After some study, just found this is also causing by the security setting.
Can be solved by the following step:
#1. Install the app
#2. Reboot,
#3. Start the app again

It was said Android 3.0 already know it is AndroidThings, and will grand the permission automatically,
But my IDE is Android 3.01, still need to reboot.

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

3 participants