Home | History | Annotate | Download | only in app

Lines Matching defs:intent

10 import android.content.Intent;
18 * Example of various Intent flags to modify the activity stack.
35 * This creates an array of Intent objects representing the back stack
39 private Intent[] buildIntentsToViewsLists() {
44 Intent[] intents = new Intent[3];
47 // This is a convenient way to make the proper Intent to launch and
49 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this,
52 Intent intent = new Intent(Intent.ACTION_MAIN);
53 intent.setClass(IntentActivityFlags.this, com.example.android.apis.ApiDemos.class);
54 intent.putExtra("com.example.android.apis.Path", "Views");
55 intents[1] = intent;
57 intent = new Intent(Intent.ACTION_MAIN);
58 intent.setClass(IntentActivityFlags.this, com.example.android.apis.ApiDemos.class);
59 intent.putExtra("com.example.android.apis.Path", "Views/Lists");
61 intents[2] = intent;