-1
我的應用程序停止工作時,我有以下行:的Android(活動不靈需要幫助初學者)
Button chkCmd = (Button) findViewById(R.id.bResults);
ToggleButton passTog= (ToggleButton) findViewById(R.id.toggleButtonPass);
EditText input = (EditText) findViewById(R.id.etCommands);
TextView display = (EditText) findViewById(R.id.textViewResults);
,但是當它消失了它的工作原理
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.subject);
Button chkCmd = (Button) findViewById(R.id.bResults);
ToggleButton passTog= (ToggleButton) findViewById(R.id.toggleButtonPass);
EditText input = (EditText) findViewById(R.id.etCommands);
TextView display = (EditText) findViewById(R.id.textViewResults);
}
任何人都可以一見的一個問題上述
後subject.xml – Raghunandan
可能您發佈完整的代碼和logcat的錯誤? –