销毁android Activity方法如下:
public void onDestroy() {
try{
//这里是你需销毁的事件
}
catch(Exception ex){}
super.onDestroy();
}
用finish()方法会调用onDestroy(),即可销毁一个Activity
How to destroy an Activity in android
android之view获取getWidth()和getHeight()