public void _onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
context = this;
setUpWindow();
//I have to load the layout here, or else the app will crash
setContentView(R.layout.mainl);
}
public void setUpWindow() {
//function
}