Home | History | Annotate | Download | only in conversationlist

Lines Matching defs:intent

21 import android.content.Intent;
52 final Intent intent = getIntent();
53 if (Intent.ACTION_SEND.equals(intent.getAction()) &&
54 (!TextUtils.isEmpty(intent.getStringExtra("address")) ||
55 !TextUtils.isEmpty(intent.getStringExtra(Intent.EXTRA_EMAIL)))) {
56 // This is really more like a SENDTO intent because a destination is supplied.
57 // It's coming through the SEND intent because that's the intent that is used
58 // when invoking the chooser with Intent.createChooser().
59 final Intent convIntent = UIIntents.get().getLaunchConversationActivityIntent(this);
60 // Copy the important items from the original intent to the new intent.
61 convIntent.putExtras(intent);
62 convIntent.setAction(Intent.ACTION_SENDTO);
63 convIntent.setDataAndType(intent.getData(), intent.getType());
64 // We have to fire off the intent and finish before trying to show the fragment,
75 final Intent intent = getIntent();
76 final String action = intent.getAction();
77 if (Intent.ACTION_SEND.equals(action)) {
78 final Uri contentUri = (Uri) intent.getParcelableExtra(Intent.EXTRA_STREAM);
85 final String contentType = extractContentType(contentUri, intent.getType());
88 "onAttachFragment: contentUri=%s, intent.getType()=%s, inferredType=%s",
89 contentUri, intent.getType(), contentType));
92 final String sharedText = intent.getStringExtra(Intent.EXTRA_TEXT);
111 + " (" + intent.getType() + ")");
113 } else if (Intent.ACTION_SEND_MULTIPLE.equals(action)) {
114 final String contentType = intent.getType();
117 final ArrayList<Uri> imageUris = intent.getParcelableArrayListExtra(
118 Intent.EXTRA_STREAM);