Java tutorial
//package com.java2s; import android.content.Intent; public class Main { private static Intent makeAlarmIntent(int index, String uuid, String title, String content, int dispatch) { Intent intent = new Intent("com.xiaomi.channel.rouse"); intent.putExtra("index", index); intent.putExtra("uuid", uuid); intent.putExtra("title", title); intent.putExtra("content", content); intent.putExtra("dispatch", dispatch); return intent; } }