|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.ui.Field
net.rim.device.api.ui.ScrollView
net.rim.device.api.ui.Manager
net.rim.device.api.ui.Screen
net.rim.device.api.ui.container.PopupScreen
net.rim.device.api.lbs.picker.AbstractLocationPicker
net.rim.device.api.lbs.picker.GeotaggedPhotoPicker
public class GeotaggedPhotoPicker
Allows a user to select a location from a geotagged photo.
Locations can be selected from JPEG photos that contain geotags in their EXIF metadata. The geotagging feature can be enabled by the user in the camera options on the BlackBerry device.
LocationPicker.Picker[] locationPickersArray = new LocationPicker.Picker[0];
// Arrays is part of the net.rim.device.api.util package
Arrays.add(locationPickersArray, GeotaggedPhotoPicker.getInstance());
// create the picker with geotag photo picker
LocationPicker locationPicker = LocationPicker.getInstance(locationPickersArray);
| Field Summary |
|---|
| Fields inherited from class net.rim.device.api.lbs.picker.AbstractLocationPicker |
|---|
CANCEL, CLOSE |
| Fields inherited from class net.rim.device.api.ui.Screen |
|---|
DEFAULT_CLOSE, DEFAULT_MENU, NO_SYSTEM_MENU_ITEMS |
| Fields inherited from class net.rim.device.api.ui.Manager |
|---|
BOTTOMMOST, DOWNWARD, HORIZONTAL_SCROLL, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_MASK, HORIZONTAL_SCROLL_MASK, LEAVE_BLANK_SPACE, LEFTMOST, LEFTWARD, NO_HORIZONTAL_SCROLL, NO_HORIZONTAL_SCROLLBAR, NO_SCROLL_RESET, NO_VERTICAL_SCROLL, NO_VERTICAL_SCROLLBAR, QUANTA_FONT, RIGHTMOST, RIGHTWARD, TOPMOST, UPWARD, VERTICAL_SCROLL, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_MASK, VERTICAL_SCROLL_MASK |
| Fields inherited from interface net.rim.device.api.ui.FieldChangeListener |
|---|
PROGRAMMATIC |
| Method Summary | ||
|---|---|---|
|
static GeotaggedPhotoPicker |
getInstance()
Retrieves an instance of a GeotaggedPhotoPicker. |
|
void |
pickLocation(LocationPicker.Listener listener)
Displays a screen for selecting a location from a geotagged photo. |
| Methods inherited from class net.rim.device.api.lbs.picker.AbstractLocationPicker |
|---|
cancelPickLocation, closePicker, doModal, fieldChanged, getLocation, getLocationPickerName, isLocationPersistable, setLocation |
| Methods inherited from class net.rim.device.api.ui.container.PopupScreen |
|---|
getAccessibleContext, paint, sublayout |
| Methods inherited from class net.rim.device.api.ui.Manager |
|---|
addAll, deleteAll, getHorizontalScroll, getPreferredHeightOfChild, getPreferredWidthOfChild, getVerticalScroll, getVirtualHeight, getVirtualWidth, insertAll, invalidateFieldRange, isDownArrowShown, isUpArrowShown, isValidLayout, layout, layoutChild, moveFocus, moveFocus, nextFocus, nextFocus, paintChild, setFocus, setPositionChild, setScrollingInertial, setVirtualExtent, subpaint |
| Methods inherited from class net.rim.device.api.ui.ScrollView |
|---|
configurationChanged, getHorizontalAdjustment, getVerticalAdjustment, getVisibleHeight, getVisibleWidth, setCurrentLocation, setExtent, setHorizontalAdjustment, setHorizontalScroll, setHorizontalScroll, setScrollListener, setVerticalAdjustment, setVerticalScroll, setVerticalScroll, valueChanged, waitForScrolling |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GeotaggedPhotoPicker getInstance()
GeotaggedPhotoPicker.
GeotaggedPhotoPicker instance.public void pickLocation(LocationPicker.Listener listener)
The screen may contain photos without geotagged information. If the user selects a photo that does not contain geotagged information, a warning is displayed to the user and the selection is canceled.
Handle the select location request
pickLocation in interface LocationPicker.PickerpickLocation in class AbstractLocationPickerlistener - notify the listener when a location is picked or canceled
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal