Back to project page Android-ORM.
The source code is released under:
Apache License
If you think the Android project Android-ORM listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package cn.ieclipse.aorm.example; /* ww w .j av a2s. co m*/ import android.content.Intent; import android.view.View; public class MainActivity extends BaseActivity { @Override protected int getLayout() { return R.layout.activity_main; } @Override public void onClick(View v) { if (R.id.btn_student_mgr == v.getId()) { Intent intent = new Intent(this, StudentListActivity.class); startActivity(intent); } else if (R.id.btn_course_mgr == v.getId()) { Intent intent = new Intent(this, CourseListActivity.class); startActivity(intent); } } }