How can i hide the error window that says app has stopped etc..? Or is there any xposed module that can do this?
I do NOT recommend anyone do this, but you could put all of your code within a try block, and upon catching an error close the app. For example:
try
{
//all your code
}
catch(Exception ex)
{
finish();
}