We can get Touch events for each Activity by using getWindow() on context like :
//set Window.Callback for getting touch event
final Window window = context.getWindow();
final Window.Callback localCallback = window.getCallback();
window.setCallback(new MyWindowCallback(localCallback));
How can we achieve it without using context ?
Is there any way to remove this callback (Because window class don't have any remove callback methods ?