Ddms Debugging: Android App (i'm Developing) Causes Device (only Nexus 5) To Hang And Must Restart When Using Zxing And Dialog
I'm developing an android app. I'm using ZXING fragment open source barcode scanning. I have an option to manually input the barcode. So when the user press the manual input button
Solution 1:
OK we had the same problem - Nexus 5 only, but with ZBar lib instead of ZXing.
The issue was resolved by switching from a SurfaceView to a TextureView - however this resulted in slower frame rates.
Through testing we found that our issue was caused by leaving the screen, bringing up the keyboard and going back - our solution was setting android:windowSoftInputMode to AdjustPan in the manifest.
Hope this helps!
Post a Comment for "Ddms Debugging: Android App (i'm Developing) Causes Device (only Nexus 5) To Hang And Must Restart When Using Zxing And Dialog"