0

How can I take a photo with 3d model using android ARToolkit library? I didn't find a solution in official documentation or examples.

  • Do you mean you want to take a screenshot of what is shown on the screen, camera and you graphics? – yakobom Feb 22 '17 at 14:43
  • @yakobom screenshot is one of the options. I tried to make screenshot of frame layout through drawing cache but no effect, image is empty – Ruslan Khuako Feb 22 '17 at 15:47
  • Perhaps you can do it via OpenGL - using GLES20.glReadPixels and write the data into a bitmap. Is that an option for you? – yakobom Feb 22 '17 at 17:25
  • Anyway, I suggest you do post the code that you have tried, so people can try to help you out – yakobom Feb 23 '17 at 05:11

1 Answers1

0

There are answers here which show taking an image of just your Application, but this would include any GUI etc..
How to programmatically take a screenshot in Android?

Community
  • 1
  • 1
Jethro
  • 3,029
  • 3
  • 27
  • 56