Back to project page SimpleMediaScanner.
The source code is released under:
MIT License
If you think the Android project SimpleMediaScanner 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 jp.gr.java_conf.neko_daisuki.simplemediascanner; /* w ww . j a v a 2 s .c o m*/ import android.app.IntentService; import android.content.Intent; public class PeriodicalService extends IntentService { public static final String EXTRA_IDS = "ids"; public PeriodicalService() { super("periodical service"); } @Override protected void onHandleIntent(Intent intent) { int[] ids = intent.getExtras().getIntArray(EXTRA_IDS); ServiceUtil.startMainService(this, ids); PeriodicalUtil.schedule(this, Util.readDatabase(this)); } }