public class ImageGalleryReceiver extends DropDownReceiver implements URIContentListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IMAGE_GALLERY |
static java.lang.String |
PIC_CAPTURED |
static java.lang.String |
SEND_FILES |
static java.lang.String |
VIEW_ATTACHMENTS |
DROPDOWN_STATE_FULLSCREEN, DROPDOWN_STATE_NONE, DROPDOWN_STATE_NORMAL, FIVE_EIGTHS_HEIGHT, FIVE_EIGTHS_WIDTH, FIVE_TWELFTHS_HEIGHT, FIVE_TWELFTHS_WIDTH, FULL_HEIGHT, FULL_WIDTH, HALF_HEIGHT, HALF_WIDTH, HANDLE_THICKNESS_LANDSCAPE, HANDLE_THICKNESS_PORTRAIT, NO_HEIGHT, NO_WIDTH, QUARTER_SCREEN, SEVEN_SIXTEENTH_WIDTH, THIRD_HEIGHT, THIRD_WIDTH, THREE_EIGHTHS_HEIGHT, THREE_EIGHTHS_WIDTH, TWO_THIRDS_HEIGHT, TWO_THIRDS_WIDTH| Constructor and Description |
|---|
ImageGalleryReceiver(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
static void |
displayGallery() |
static void |
displayGallery(java.lang.String title,
java.util.List<GalleryItem> items) |
protected void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
static boolean |
extractContent(android.content.Context ctx,
android.net.Uri dataUri,
java.io.File outFile)
Extract data from the content resolver to a file
|
static java.lang.String |
getContentField(android.content.Context context,
android.net.Uri contentURI,
java.lang.String field)
Get a column from the content resolver relating to this URI
only acts on URI's that start with:
"content://com.android.providers.media.documents"
"content://media/external"
|
protected boolean |
onBackButtonPressed()
For a dropdown that has told the drop down manager to ignore the back button.
|
void |
onContentChanged(URIContentHandler handler)
Called when content has changed in some way
|
void |
onContentDeleted(URIContentHandler handler)
Called when content is finished being locally deleted
|
void |
onContentImported(URIContentHandler handler)
Called when content is finished being imported
|
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
onRefresh() |
protected void |
onStateRequested(int state)
Signal for a request by the handle.
|
static void |
zoomToBounds(Envelope e)
Pan and zoom to a feature set
|
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, resize, setAssociationKey, setRetain, setSelected, setSelected, setSelected, setTransient, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, unhideDropDownabortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic static final java.lang.String PIC_CAPTURED
public static final java.lang.String IMAGE_GALLERY
public static final java.lang.String VIEW_ATTACHMENTS
public static final java.lang.String SEND_FILES
public ImageGalleryReceiver(MapView mapView)
protected void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverpublic void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverpublic void onRefresh()
protected void onStateRequested(int state)
DropDownReceiveronStateRequested in class DropDownReceiverstate - DROPDOWN_STATE_FULLSCREEN = 2;
DROPDOWN_STATE_NORMAL = 1;
DROPDOWN_STATE_NONE = 0;public void onContentImported(URIContentHandler handler)
URIContentListeneronContentImported in interface URIContentListenerhandler - URI content handlerpublic void onContentDeleted(URIContentHandler handler)
URIContentListeneronContentDeleted in interface URIContentListenerhandler - URI content handlerpublic void onContentChanged(URIContentHandler handler)
URIContentListeneronContentChanged in interface URIContentListenerhandler - URI content handlerprotected boolean onBackButtonPressed()
DropDownReceiveronBackButtonPressed in class DropDownReceiverpublic static java.lang.String getContentField(android.content.Context context,
android.net.Uri contentURI,
java.lang.String field)
contentURI - Content URIfield - Column namepublic static boolean extractContent(android.content.Context ctx,
android.net.Uri dataUri,
java.io.File outFile)
ctx - Content contextdataUri - Content URIoutFile - Output filepublic static void zoomToBounds(Envelope e)
e - Feature envelopepublic static void displayGallery(java.lang.String title,
java.util.List<GalleryItem> items)
public static void displayGallery()