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 w w . ja va 2 s. c o m*/ import android.content.Context; import android.content.Intent; public class ServiceUtil { public static void startMainService(Context context, int[] ids) { Intent intent = new Intent(context, MainService.class); intent.putExtra(MainService.EXTRA_IDS, ids); context.startService(intent); } }