Back to project page mint.
The source code is released under:
GNU General Public License
If you think the Android project mint 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 com.gmail.altakey.mint.activity; /*from ww w . j av a 2s . c om*/ import com.example.android.swipedismiss.*; import android.app.ActionBar; import android.app.Activity; import android.app.Dialog; import android.app.DialogFragment; import android.app.DatePickerDialog; import android.app.TimePickerDialog; import android.app.Fragment; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.view.*; import android.widget.*; import android.content.Loader; import android.content.AsyncTaskLoader; import android.content.ContentValues; import android.app.LoaderManager; import android.database.Cursor; import android.content.CursorLoader; import java.io.IOException; import java.util.Date; import java.util.Formatter; import java.util.HashMap; import java.util.List; import java.util.LinkedList; import java.util.Map; import java.util.Queue; import java.util.Arrays; import java.util.Calendar; import com.gmail.altakey.mint.R; import com.gmail.altakey.mint.fragment.TaskEditFragment; public class TaskEditActivity extends Activity { public static final String KEY_TASK_ID = "task_id"; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.plate); final Intent intent = getIntent(); final long task = intent.getLongExtra(KEY_TASK_ID, -1); getFragmentManager() .beginTransaction() .add(R.id.frag, TaskEditFragment.newInstance(task), TaskEditFragment.TAG) .commit(); } }