Back to project page DVBViewerController.
The source code is released under:
Apache License
If you think the Android project DVBViewerController 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 de.bennir.DVBViewerController; /* ww w . j a v a 2s. co m*/ import android.content.Context; import android.util.Log; import de.bennir.DVBViewerController.service.DVBService; import de.bennir.DVBViewerController.wizard.model.*; public class TimerWizardModel extends AbstractWizardModel { public TimerWizardModel(Context context) { super(context); } @Override protected PageList onNewRootPageList() { return new PageList( new SingleFixedChoicePage(this, "channel") .setChoices(DVBService.getInstance(mContext).getChanNames()) .setRequired(true), new TimerInfoPage(this, "timer_info", mContext) .setRequired(true), new TimerDatePage(this, "timer_date") .setRequired(true), new SingleFixedChoicePage(this, "timer_action") .setChoices(mContext.getString(R.string.record), mContext.getString(R.string.set_channel)), new SingleFixedChoicePage(this, "timer_after") .setChoices(mContext.getString(R.string.power_off), mContext.getString(R.string.standby), mContext.getString(R.string.hibernate)) ); } }