0

I am a new for android. Now I make a prototype for showing camera in 2 views. I already checked this URL(Android Camera preview on two views ( Multi-lenses camera preview )), but I can't do that now.

Please give me a full course.

Thank you!

Community
  • 1
  • 1
Urban
  • 19
  • 5

1 Answers1

0

Basically you need to draw the camera into an OpenGL texture and show the texture.

Mikle wrote two versions of this here, feel free to modify the code and add pull requests: https://github.com/Sveder/CardboardPassthrough

Nirel
  • 1,855
  • 1
  • 15
  • 26
  • Thank you for your answer! But I can see the white rectangle, not camera. I used the OpenGL version. Please let me know the reason why. – Urban Feb 03 '16 at 02:54