//隐藏导航栏
public void hideNavigationBar()
{
Intent intent = new Intent();
intent.setAction("com.android.intent.action.NAVBAR_SHOW");
intent.putExtra("cmd","hide");
this.sendOrderedBroadcast(intent,null);
}
//显示导航栏
public void showNavigationBar()
{
Intent intent = new Intent();
intent.setAction("com.android.intent.action.NAVBAR_SHOW");
intent.putExtra("cmd","show");
this.sendOrderedBroadcast(intent,null);
}
java代码,qt可调用。