Best code examples for Intent putExtra method (android.content.Intent.putExtra)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Intent putExtra method.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Intent putExtra examples from Open Source projects
This code example shows how to use the following methods: putExtra
77:	ringtonePickerIntent.putExtra( 
-
80:	ringtonePickerIntent.putExtra( 
-
83:	ringtonePickerIntent.putExtra( 
-
87:	ringtonePickerIntent.putExtra( 
-
89:	ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, 
-
91:	ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_TITLE, 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra
57:	Intent i=new Intent(ACTION_SYNC_PREF); 
-
60:	i.putExtra(EXTRA_SENDER, getPackageName()); 
61:	i.putExtra(EXTRA_KEY, key); 
-
64:	i.putExtra(EXTRA_VALUE, (Boolean)value); 
65:	i.putExtra(EXTRA_TYPE, TYPE_BOOLEAN); 
-
68:	i.putExtra(EXTRA_VALUE, (Float)value); 
-
72:	i.putExtra(EXTRA_VALUE, (Integer)value); 
-
76:	i.putExtra(EXTRA_VALUE, (Long)value); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setAction
184:	Intent i = new Intent(); 
185:	i.setAction("android.intent.action.UPDATE_PINS"); 
186:	i.putExtra(EXTRA_CONTENT_PATH, contentPath); 
187:	i.putExtra(EXTRA_VERSION_NUMBER, version); 
188:	i.putExtra(EXTRA_REQUIRED_HASH, required); 
189:	i.putExtra(EXTRA_SIGNATURE, sig); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra
177:	Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); 
178:	intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); 
179:	intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 1); 
180:	intent.putExtra(RecognizerIntent.EXTRA_PROMPT, ContextManager.getContext().getString(prompt)); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra
125:	Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); 
126:	intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); 
127:	intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH); 
-
129:	intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxMatches); 
-
131:	intent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); 
132:	cordova.startActivityForResult(this, intent, reqCode); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: createChooser, putExtra, setType
16:	Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); 
17:	emailIntent.setType(mimeType); 
-
23:	emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject); 
-
25:	emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, text); 
-
27:	emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+ filename)); 
-
30:	context.startActivity(Intent.createChooser(emailIntent, chooser_title)); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: getExtras, putExtra, removeExtra
77:	String phoneNumber        = intent.getExtras().getString(INTENT_PHONE_NUMBER); 
-
85:	intent.removeExtra(INTENT_PHONE_NUMBER); 
86:	intent.removeExtra("android.phone.extra.ORIGINAL_URI"); 
-
88:	intent.putExtra(INTENT_PHONE_NUMBER, phoneNumber); 
89:	intent.putExtra("android.phone.extra.ORIGINAL_URI", "tel:" + Uri.encode(phoneNumber)); 
Full Snippet Info
10
CodeRank
This code example shows how to use the following methods: addFlags, putExtra
60:	Intent intent = new Intent(); 
61:	intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); 
62:	intent.putExtra(Browser.BookmarkColumns.TITLE, cursor.getString(TITLE_COLUMN)); 
63:	intent.putExtra(Browser.BookmarkColumns.URL, cursor.getString(URL_COLUMN)); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra, setType
83:	Intent shareIntent = new Intent(Intent.ACTION_SEND); 
84:	shareIntent.setType("image/*"); 
-
86:	shareIntent.putExtra(Intent.EXTRA_STREAM, uri); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: hasExtra, putExtra
24:	final Intent modIntent = new Intent(super.getIntent()); 
25:	if (!modIntent.hasExtra(EXTRA_SHOW_FRAGMENT)) { 
26:	modIntent.putExtra(EXTRA_SHOW_FRAGMENT, InputMethodAndSubtypeEnabler.class.getName()); 
27:	modIntent.putExtra(EXTRA_NO_HEADERS, true); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: addFlags, putExtra
60:	Intent intent = new Intent(); 
61:	intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); 
62:	intent.putExtra(Browser.BookmarkColumns.URL, "market://details?id=" + packageName); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getActivity, addFlags, putExtra
84:	Intent notificationIntent = new Intent(this, PushHandlerActivity.class); 
85:	notificationIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP); 
86:	notificationIntent.putExtra("pushBundle", extras); 
-
88:	PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, PendingIntent.FLAG_UPDATE_CURRENT); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: addFlags, putExtra, setClass, setClipData
27:	Intent intent = new Intent(); 
28:	intent.setClass(Application.getLastInstance(), ChooserActivity.class); 
29:	intent.putExtra(Intent.EXTRA_INTENT, target); 
-
31:	intent.putExtra(Intent.EXTRA_TITLE, title); 
-
50:	intent.setClipData(targetClipData); 
51:	intent.addFlags(permFlags); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra, setType
96:	Intent intent = new Intent(Intent.ACTION_SEND); 
97:	intent.putExtra(Intent.EXTRA_EMAIL, new String[] { address }); 
98:	intent.putExtra(Intent.EXTRA_TEXT, body); 
99:	intent.putExtra(Intent.EXTRA_SUBJECT, subject); 
100:	intent.setType(MIME_TYPE_EMAIL); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra, setAction, sleep
184:	Intent i = new Intent(); 
185:	i.setAction("android.intent.action.UPDATE_PINS"); 
186:	i.putExtra(EXTRA_CONTENT_PATH, contentPath); 
187:	i.putExtra(EXTRA_VERSION_NUMBER, version); 
188:	i.putExtra(EXTRA_REQUIRED_HASH, required); 
189:	i.putExtra(EXTRA_SIGNATURE, sig); 
-
199:	Thread.sleep(1000); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra
136:	Intent i = new Intent(mContext, AccountAccessPrompt.class); 
137:	i.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); 
138:	i.putExtra("api_key", api_key); 
139:	i.putExtra("api_secret", api_secret); 
140:	i.putExtra("user", user); 
141:	i.putExtra("authToken", authToken); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setFlags
39:	intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, from.getMillis()); 
40:	intent.putExtra(CalendarContract.EXTRA_EVENT_END_TIME, to.getMillis()); 
-
45:	Intent intent = new Intent(action); 
46:	intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra, setType
96:	Intent intent = new Intent(Intent.ACTION_SEND); 
97:	intent.putExtra(Intent.EXTRA_EMAIL, new String[] { address }); 
98:	intent.putExtra(Intent.EXTRA_TEXT, body); 
99:	intent.putExtra(Intent.EXTRA_SUBJECT, subject); 
100:	intent.setType(MIME_TYPE_EMAIL); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra, setAction
88:	Intent intent = new Intent(context, PassphraseCacheService.class); 
89:	intent.setAction(ACTION_PASSPHRASE_CACHE_ADD); 
90:	intent.putExtra(EXTRA_TTL, Preferences.getPreferences(context).getPassPhraseCacheTtl()); 
91:	intent.putExtra(EXTRA_PASSPHRASE, passphrase); 
92:	intent.putExtra(EXTRA_KEY_ID, keyId); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra
134:	Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); 
135:	intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); 
136:	intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH); 
-
140:	intent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); 
141:	cordova.startActivityForResult(this, intent, reqCode); 
Full Snippet Info
10
CodeRank
This code example shows how to use the following methods: putExtra, setClass
33:	Intent intent = new Intent(); 
34:	intent.putExtra("USER", user); 
35:	intent.setClass(parent.getContext(), ProfileActivity.class); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: addFlags, putExtra
56:	return new Intent(RecognizerIntent.ACTION_WEB_SEARCH); 
-
73:	intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
74:	intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, 
-
77:	intent.putExtra(SearchManager.APP_DATA, appData); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setPackage
50:	Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT); 
51:	registrationIntent.setPackage(GSF_PACKAGE); 
52:	registrationIntent.putExtra(EXTRA_APPLICATION_PENDING_INTENT, 
-
54:	registrationIntent.putExtra(EXTRA_SENDER, senderId); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setType
167:	Intent actionSendIntent = new Intent(action); 
-
169:	actionSendIntent.setType(attachmentType.getMimeType()); 
170:	actionSendIntent.putExtra(Intent.EXTRA_SUBJECT, subject); 
-
172:	actionSendIntent.putExtra(Intent.EXTRA_TEXT, body); 
-
177:	actionSendIntent.putExtra(Intent.EXTRA_STREAM, uri); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: addFlags, putExtra, setComponent
89:	Intent intent = new Intent(Intent.ACTION_SEARCH); 
90:	intent.setComponent(activity); 
91:	intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
-
94:	intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); 
95:	intent.putExtra(SearchManager.USER_QUERY, query); 
96:	intent.putExtra(SearchManager.QUERY, query); 
-
98:	intent.putExtra(SearchManager.APP_DATA, appData); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: addFlags, putExtra
60:	Intent intent = new Intent(); 
61:	intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); 
62:	intent.putExtra(Browser.BookmarkColumns.TITLE, cursor.getString(TITLE_COLUMN)); 
63:	intent.putExtra(Browser.BookmarkColumns.URL, cursor.getString(URL_COLUMN)); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: createChooser, putExtra
53:	msg.putExtra(Intent.EXTRA_TITLE, title); 
-
56:	msg.putExtra(Intent.EXTRA_TEXT, Html.fromHtml(body)); 
-
59:	msg.putExtra(Intent.EXTRA_TEXT, body); 
-
62:	msg.putExtra(Intent.EXTRA_SUBJECT, subject); 
-
72:	Intent chooser = Intent.createChooser(intent, title); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setPackage
50:	Intent registrationIntent = new Intent(REQUEST_REGISTRATION_INTENT); 
51:	registrationIntent.setPackage(GSF_PACKAGE); 
52:	registrationIntent.putExtra(EXTRA_APPLICATION_PENDING_INTENT, 
-
54:	registrationIntent.putExtra(EXTRA_SENDER, senderId); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getService, putExtra
219:	Intent intent = new Intent(SendReplyToCommentService.this, SendReplyToCommentService.class); 
220:	intent.putExtra("oriMsg", oriMsg); 
221:	intent.putExtra("content", content); 
222:	intent.putExtra("token", token); 
223:	intent.putExtra("account", account); 
224:	intent.putExtra("repostContent", repostContent); 
-
227:	intent.putExtra("lastNotificationId", tasksNotifications.get(task)); 
-
229:	PendingIntent retrySendIntent = PendingIntent.getService(SendReplyToCommentService.this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setClass
128:	Intent result = new Intent(); 
129:	result.setClass(this, Support13Demos.class); 
130:	result.putExtra("com.example.android.apis.Path", path); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra, setClass
111:	Intent result = new Intent(); 
112:	result.setClass(this, ListSamples.class); 
113:	result.putExtra("com.jakewharton.android.viewpagerindicator.sample.Path", path); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra, setType
54:	Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); 
55:	intent.setType("image/*"); 
56:	intent.putExtra("crop", "true"); 
57:	intent.putExtra("aspectX", 1); 
58:	intent.putExtra("aspectY", 1); 
59:	intent.putExtra("outputX", 192); 
60:	intent.putExtra("outputY", 192); 
61:	intent.putExtra("noFaceDetection", true); 
62:	intent.putExtra("return-data", true); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra, setType
32:	Intent intent = new Intent(Intent.ACTION_SEND); 
33:	intent.setType("text/plain"); 
34:	intent.putExtra(Intent.EXTRA_TEXT, "Message"); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getService, putExtra, setAction
83:	final Intent service = new Intent(context, serviceClass); 
84:	service.setAction("upload"); // PendingIntents "lose" their extras if no action is set. 
85:	service.putExtra("uploadEnabled", enabled); 
86:	service.putExtra("profileName", profileName); 
87:	service.putExtra("profilePath", profilePath); 
88:	final PendingIntent pending = PendingIntent.getService(context, 0, service, PendingIntent.FLAG_CANCEL_CURRENT); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: addCategory, putExtra, setComponent
85:	Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); 
86:	intent.setComponent(mSearchable.getSearchActivity()); 
87:	intent.addCategory(Intent.CATEGORY_DEFAULT); 
88:	intent.putExtra(SearchManager.QUERY, query); 
-
93:	intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); 
-
95:	intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName()); 
-
101:	intent.putExtra(SearchManager.EXTRA_WEB_SEARCH_PENDINGINTENT, pending); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setClass
128:	Intent result = new Intent(); 
129:	result.setClass(this, ApiDemos.class); 
130:	result.putExtra("com.example.android.apis.Path", path); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra, setAction
30:	final Intent intent = new Intent(context, CalculatorReceiver.class); 
31:	intent.setAction(ACTION_BUTTON_PRESSED); 
32:	intent.putExtra(ACTION_BUTTON_ID_EXTRA, button.getButtonId()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra, setType
137:	Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); 
138:	emailIntent.setType("text/xml"); 
-
140:	emailIntent.putExtra(Intent.EXTRA_SUBJECT, "Device XML: " + devicesXml.getName()); 
141:	emailIntent.putExtra(Intent.EXTRA_TEXT, "Note: This is intended to generate a base " 
-
144:	emailIntent.putExtra(Intent.EXTRA_STREAM, 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: putExtra, setAction
274:	Intent intent = new Intent(); 
275:	intent.setAction("com.google.zxing.client.android.ENCODE"); 
276:	intent.putExtra("ENCODE_TYPE", "TEXT_TYPE"); 
277:	intent.putExtra("ENCODE_DATA", text); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: addFlags, putExtra
20:	Intent intent = new Intent(Shop.this, ReLaunch.class); 
21:	intent.putExtra("home", false); 
22:	intent.putExtra("home1", false); 
23:	intent.putExtra("shop", true); 
24:	intent.putExtra("library", false); 
25:	intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setType
22:	final Intent intent = new Intent(Intent.ACTION_SEND); 
23:	intent.setType("message/rfc822"); 
-
26:	intent.putExtra(Intent.EXTRA_EMAIL, new String[] { to }); 
-
29:	intent.putExtra(Intent.EXTRA_SUBJECT, subject); 
-
32:	intent.putExtra(Intent.EXTRA_TEXT, body); 
-
38:	intent.setType("text/plain"); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, put
99:	_mProps.put("regionSubject", subjectNameHolder.getText().toString()); 
100:	_mProps.put("informedConsent", Boolean.toString(informaOption.get(0).getSelected())); 
-
106:	getIntent().putExtra("informaReturn", _mProps); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: createChooser, putExtra, setType
61:	final Intent mailIntent = new Intent(android.content.Intent.ACTION_SEND); 
62:	mailIntent.setType("plain/text"); 
-
65:	mailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, pReceivers); 
-
69:	mailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, pSubject); 
-
73:	mailIntent.putExtra(android.content.Intent.EXTRA_TEXT, pBody); 
-
76:	ctx.startActivity(Intent.createChooser(mailIntent, "Select Mail Client")); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: createChooser, putExtra, setType
31:	final Intent intent = new Intent(Intent.ACTION_SEND); 
32:	intent.setType("text/plain"); 
33:	intent.putExtra(Intent.EXTRA_TEXT, "Shared from the ActionBar widget."); 
34:	return Intent.createChooser(intent, "Share"); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: putExtra, putExtras
49:	Intent startServiceIntent = new Intent(context, DeviceGatewayService.class); 
50:	startServiceIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); 
-
53:	startServiceIntent.putExtras(extras); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: addCategory, putExtra, setPackage
105:	Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)); 
-
107:	intent.setPackage(context.getPackageName()); 
108:	intent.addCategory(Intent.CATEGORY_DEFAULT); 
109:	intent.putExtra(SearchManager.QUERY, query); 
-
114:	intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); 
-
116:	intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName()); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: putExtra, setData
38:	Intent intent = new Intent(this, DownloadService.class); 
-
41:	intent.putExtra("MESSENGER", messenger); 
42:	intent.setData(Uri.parse("http://www.vogella.de/index.html")); 
43:	intent.putExtra("urlpath", "http://www.vogella.de/index.html"); 
Full Snippet Info
7
CodeRank
Related Intent putExtra Questions & Answers:
Other Intent putExtra Examples
24:	    Intent intent = new Intent(context.getApplicationContext(),
25:	        UpdateWidgetService.class);
26:	    intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, allWidgetIds);
27:	
28:	    // Update the widgets via the service

Read More

16:	  public void onClick(View view) {
17:	    Intent intent = new Intent(WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER);
18:	    intent.putExtra(WallpaperManager.EXTRA_LIVE_WALLPAPER_COMPONENT,
19:	        new ComponentName(this, MyWallpaperService.class));
20:	    startActivity(intent);

Read More

84:				// will close this activity and lauch main activity
85:				Intent i = new Intent(SplashScreen.this, MainActivity.class);
86:				i.putExtra("now_playing", now_playing);
87:				i.putExtra("earned", earned);
88:				startActivity(i);
-
85:				Intent i = new Intent(SplashScreen.this, MainActivity.class);
86:				i.putExtra("now_playing", now_playing);
87:				i.putExtra("earned", earned);
88:				startActivity(i);
89:

Read More

104:			fileUri = getOutputMediaFileUri(MEDIA_TYPE_IMAGE);
105:	
106:			intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
107:	
108:			// start the image capture Intent
-
140:	
141:			// set video quality
142:			intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
143:	
144:			intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri); // set the image file
-
142:			intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
143:	
144:			intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri); // set the image file
145:																// name
146:

Read More

8:			// set video quality
9:			// 1- for high quality video
10:			intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
11:	
12:			intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
-
10:			intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
11:	
12:			intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
13:	
14:			// start the video capture Intent

Read More

4:	        new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN);
5:	
6:	    activateDeviceAdminIntent.putExtra(
7:	        DevicePolicyManager.EXTRA_DEVICE_ADMIN,
8:	        mPolicy.getPolicyAdmin());
-
12:	    // administrator. The system will display this message on the activation
13:	    // screen.
14:	    activateDeviceAdminIntent.putExtra(
15:	        DevicePolicyManager.EXTRA_ADD_EXPLANATION,
16:	        getResources().getString(R.string.device_admin_activation_message));

Read More

putExtra Method Overview
Add extended data to the intent.
See Also