一、 隐藏状态栏
方法如下:在程序中加入//remove title 的那部分代码即可实现。
二、怎么样判断一个Ativity是不是在活动。
可以在程序中加入以下代码实现:
try { startActivity(new Intent(..)); }catch (ActivityNotFoundException e){ Toast.makeText(this, “Not installed.”, LENGTH_SHORT).show();}