FileDocCategorySizeDatePackage
Intents.javaAPI DocAndroid 5.1 API13369Thu Mar 12 22:22:52 GMT 2015com.android.ex.photo

Intents

public class Intents extends Object
Build intents to start app activities

Fields Summary
public static final String
EXTRA_PHOTO_INDEX
public static final String
EXTRA_INITIAL_PHOTO_URI
public static final String
EXTRA_PHOTOS_URI
public static final String
EXTRA_RESOLVED_PHOTO_URI
public static final String
EXTRA_PROJECTION
public static final String
EXTRA_THUMBNAIL_URI
public static final String
EXTRA_MAX_INITIAL_SCALE
public static final String
EXTRA_WATCH_NETWORK
public static final String
EXTRA_SCALE_UP_ANIMATION
public static final String
EXTRA_ANIMATION_START_X
public static final String
EXTRA_ANIMATION_START_Y
public static final String
EXTRA_ANIMATION_START_WIDTH
public static final String
EXTRA_ANIMATION_START_HEIGHT
public static final String
EXTRA_ACTION_BAR_HIDDEN_INITIALLY
public static final String
EXTRA_DISPLAY_THUMBS_FULLSCREEN
Constructors Summary
Methods Summary
public static com.android.ex.photo.Intents$PhotoViewIntentBuildernewPhotoViewActivityIntentBuilder(android.content.Context context)
Gets a photo view intent builder to display the photos from phone activity.

param
context The context
return
The intent builder


                              
         
        return new PhotoViewIntentBuilder(context, PhotoViewActivity.class);
    
public static com.android.ex.photo.Intents$PhotoViewIntentBuildernewPhotoViewFragmentIntentBuilder(android.content.Context context)
Gets a photo view intent builder to display the photo view fragment

param
context The context
return
The intent builder

        return newPhotoViewFragmentIntentBuilder(context, PhotoViewFragment.class);
    
public static com.android.ex.photo.Intents$PhotoViewIntentBuildernewPhotoViewFragmentIntentBuilder(android.content.Context context, java.lang.Class clazz)
Gets a photo view intent builder to display the photo view fragment with a custom fragment subclass.

param
context The context
param
clazz Subclass of PhotoViewFragment to use
return
The intent builder

        return new PhotoViewIntentBuilder(context, clazz);
    
public static com.android.ex.photo.Intents$PhotoViewIntentBuildernewPhotoViewIntentBuilder(android.content.Context context, java.lang.Class cls)
Gets a new photo view intent builder

        return new PhotoViewIntentBuilder(context, cls);
    
public static com.android.ex.photo.Intents$PhotoViewIntentBuildernewPhotoViewIntentBuilder(android.content.Context context, java.lang.String activityName)
Gets a new photo view intent builder

        return new PhotoViewIntentBuilder(context, activityName);