Back to project page android-mvc-framework.
The source code is released under:
Apache License
If you think the Android project android-mvc-framework 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 com.android_mvc.sample_project.activities.installation; /* w w w .j a v a 2 s .co m*/ import android.database.sqlite.SQLiteDatabase; import com.android_mvc.sample_project.activities.installation.lib.InstallAppUserBaseActivity; import com.android_mvc.sample_project.controller.MainController; import com.android_mvc.framework.ui.UIBuilder; import com.android_mvc.framework.ui.view.MTextView; /** * ?????????????????????????? * ??????????LAUNCHER???????? * @author id:language_and_engineering * */ public class InstallAppActivity extends InstallAppUserBaseActivity { // NOTE: ????????????????????????????????????????? MTextView tv1; @Override public void defineContentView() { // ??????????????????UI???????????????? new UIBuilder(context) .add( tv1 = new MTextView(context) .text("????????????????????????????????????????" ) .widthWrapContent() ) .display(); } // ------------- ??????????? ----------------- @Override protected void init_db_preferences() { // TODO: ??????????????????????????????????? // PrefDAO???????? } @Override protected void init_db_data(SQLiteDatabase db) { // TODO: ????????????????????????????????? db.execSQL("insert into friends (name, age, favorite_flag) values ('????', 30, 1);"); } @Override protected void init_etc() { // TODO???????????????????????????????????????????????????? } // ------------- ??????? ----------------- @Override protected void onInstallCompleted() { MainController.submit( this, true ); } @Override protected void onInstallSkipped() { MainController.submit( this, false ); } }