waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

takePicture() method always freezes on third call #543

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Implementing camera preview using android camera api
2. On tap event -> call takePicture() method with picture callback
3. After 2 subsequent taps and calls to takePicture() method, Tap for the third 
time 

What is the expected output? What do you see instead?

Always at the third call, the camera preview freezes and couldn't tap any more 
unless tapping back then resume activity again

What version of the product are you using? On what operating system?

Android 4.4.2

Please provide any additional information below.

My trials to solve this were,

1. Calling startPreview() after each picture taken ( didn't work )
2. Calling System.gc() before takePicture() call ( didn't work )

Please any help

Original issue reported on code.google.com by basayel....@espace.com.eg on 13 Jun 2014 at 12:09

GoogleCodeExporter commented 9 years ago
This is the same issue as Issue 374 and possibly Issue 369.

Original comment by gerald.m...@gmail.com on 25 Jul 2014 at 8:03

GoogleCodeExporter commented 9 years ago
Sorry, meant Issue 474, not 374.

Original comment by gerald.m...@gmail.com on 29 Jul 2014 at 2:26