Open vi opened 8 years ago
You can try change dimension in settings.
It should not crash even with wrong settings. It should show some error/warning message and/or work.
The program in general doesn't look reliable.
@vi Supporting many devices and programs is hard work. This is difficulty when whole program depends on external libraries like libstreaming. On my android 5.0 app works well. I am working on update which eliminates bugs and improve app experience.
Pkg: pl.hypeapp.endoscope Exception: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare Exception Category: Android constraint Root cause: In method "pl.hypeapp.endoscope.StartStreamActivity.logError", it trying to create a dialog in a background thread -- WorkerThread, which has no looper by default, and "android.app.Dialog" will initially make new handler() to handle message, but without a looper, thus throwing such exception. Description: only the main thread can create object Looper by default. If other threads directly use new handler() without calling Looper.prepare(), the exception will be thrown. Possible Fixes: 1: Excute on UI thread (onPostExecute(), runOnUiThread()),especially for Dialog and Toast.makeText. 2: New Handler(context.getMainLooper()) 3: Call Looper.prepare() and Looper.loop() before handle message
I'm looking forward to your reply.