Tang stops When Entering to another activity for scanning QR Code

124 views Asked by At

I'm developing an application which is a google Tango project when I start another activity for scanning QR Code Tango stops and below error is displayed in logcat:-

11-20 10:31:17.247 548-13246/? E/Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
11-20 10:31:17.247 548-13246/? E/Camera3-OutputStream: getBufferLocked: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
1

There are 1 answers

0
rumaiza On BEST ANSWER

Calling mTango.disconnect();(mTango is the object of Tango class)before transitioning out of a scene will prevent the crash. Thanks!