What does the following exception mean? And how can I fix it?
This is the code:
Toast toast = Toast.makeText(mContext, 'Somthing', Toast.LENGTH_SHORT);
This is the exception:
D/VVM ( 684): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() D/VVM ( 684): at android.os.Handler.(Handler.java:121) D/VVM ( 684): at android.widget.Toast.(Toast.java:68) D/VVM ( 684): at android.widget.Toast.makeText(Toast.java:231)