try to use applicationContext
Toast.makeText(applicationContext,"Message",Toast.LENGTH_SHORT).show()
Hope it will work.