i have created apps in eclipse with target sdk in API 15 and. I want to make button start new activity. i have created that code but i have a problem. when i run in on my phone ninetology stealh 2, when i click a button and my app has crash and my phone show me this :
"Unfortunately start"
i have tested it in others phone two and it show same problem. i also use more technique that i learn from thenewboston, vongella an other but still have same problem. here is my .xml and java code :-
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
publicclassModul_VokalextendsActivity {
@OverrideprotectedvoidonCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_modul__vokal);
}
@OverridepublicbooleanonCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.modul__vokal, menu);
returntrue;
}
}
Answers
Know the answer? Post it. Somebody with the same question will find it here.