Home | History | Annotate | Download | only in camera

Lines Matching refs:intent

29 import android.content.Intent;
198 Intent intent = new Intent(Intent.ACTION_VIEW, targetUri);
199 intent.putExtra("slideshow", true);
200 startActivity(intent);
273 return (Intent.ACTION_PICK.equals(action)
274 || Intent.ACTION_GET_CONTENT.equals(action));
309 Intent cropIntent = new Intent();
318 Intent result = new Intent(null, img.fullSizeImageUri());
334 Intent data) {
440 // install an intent filter to receive SD card related events.
442 new IntentFilter(Intent.ACTION_MEDIA_MOUNTED);
443 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED);
444 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED);
445 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED);
446 intentFilter.addAction(Intent.ACTION_MEDIA_EJECT);
451 public void onReceive(Context context, Intent intent) {
452 String action = intent.getAction();
453 if (action.equals(Intent.ACTION_MEDIA_MOUNTED)) {
457 } else if (action.equals(Intent.ACTION_MEDIA_UNMOUNTED)) {
460 } else if (action.equals(Intent.ACTION_MEDIA_SCANNER_STARTED)) {
463 Intent.ACTION_MEDIA_SCANNER_FINISHED)) {
465 } else if (action.equals(Intent.ACTION_MEDIA_EJECT)) {
498 Intent preferences = new Intent();
557 // According to the intent, setup what we include (image/video) in the
562 Intent intent = getIntent();
563 if (intent != null) {
564 String type = intent.resolveType(this);
584 Bundle extras = intent.getExtras();
646 Intent intent;
648 intent = new Intent(
649 Intent.ACTION_VIEW, image.fullSizeImageUri());
650 intent.putExtra(MediaStore.EXTRA_SCREEN_ORIENTATION,
653 intent = new Intent(this, ViewImage.class);
654 intent.putExtra(ViewImage.KEY_IMAGE_LIST, mParam);
655 intent.setData(image.fullSizeImageUri());
657 startActivity(intent);
941 Intent intent = new Intent();
942 intent.setAction(Intent.ACTION_SEND_MULTIPLE);
945 intent.setType(mimeType);
950 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, list);
952 startActivity(Intent.createChooser(
953 intent, getText(R.string.send_media_files)));
960 Intent intent = new Intent();
961 intent.setAction(Intent.ACTION_SEND);
963 intent.setType(mimeType);
964 intent.putExtra(Intent.EXTRA_STREAM, image.fullSizeImageUri());
967 startActivity(Intent.createChooser(intent, getText(
987 Intent intent = new Intent(ImageGallery.this,
989 intent.putExtra("delete-uris", uriList);
991 startActivity(intent);