Can’t create handler inside thread that has not called Looper.prepare()

You’re calling it from a worker thread. You need to call Toast.makeText() (and most other functions dealing with the UI) from within the main thread. You could use a handler, for example. Look up Communicating with the UI Thread in the documentation. In a nutshell: Other options: You could use Activity.runOnUiThread(). Straightforward if you have an Activity: You could also post … Read more

Can’t create handler inside thread that has not called Looper.prepare()

You’re calling it from a worker thread. You need to call Toast.makeText() (and most other functions dealing with the UI) from within the main thread. You could use a handler, for example. Look up Communicating with the UI Thread in the documentation. In a nutshell: Other options: You could use Activity.runOnUiThread(). Straightforward if you have an Activity: You could also post … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)