/// Detailed information ///
Action
ACTION: jp.xii.relog.apklistupper.ACTION_AUTO_START
Parameter 1
Name: "AUTO_START_FLAG"
Model: boolean
Explanation: The flag which you carry out automatically
Parameter 2
Name: "FORCE_FLAG"
Model: boolean
explanation: The flag which I force you in defiance of overwrite confirmation before the practice and carry out
Return value
ResultCode: When the output succeeded, it return "RESULT_OK".
When it came back with returning buttons, a different value returns.
/// Sample ///
public static final String STR_AUTO_START_FLAG = "AUTO_START_FLAG"; public static final String STR_FORCE_FLAG = "FORCE_FLAG"; public void start(){ Intent intent_service = new Intent(); intent_service.setAction("jp.xii.relog.apklistupper.ACTION_AUTO_START"); intent_service.putExtra(STR_AUTO_START_FLAG, true); intent_service.putExtra(STR_FORCE_FLAG, true); startActivityForResult(intent_service, 10); }
コメント