public class PhoneNumberPicker extends ContactPicker
activityContext, contactName, contactPictureUri, emailAddress, emailAddressList, phoneNumber, phoneNumberListcontainer, requestCodeACCELEROMETER_SENSITIVITY_MODERATE, ACCELEROMETER_SENSITIVITY_STRONG, ACCELEROMETER_SENSITIVITY_WEAK, ALIGNMENT_CENTER, ALIGNMENT_NORMAL, ALIGNMENT_OPPOSITE, ASSET_DIRECTORY, BUTTON_SHAPE_DEFAULT, BUTTON_SHAPE_OVAL, BUTTON_SHAPE_RECT, BUTTON_SHAPE_ROUNDED, COLOR_BLACK, COLOR_BLUE, COLOR_CYAN, COLOR_DEFAULT, COLOR_DKGRAY, COLOR_GRAY, COLOR_GREEN, COLOR_LTGRAY, COLOR_MAGENTA, COLOR_NONE, COLOR_ORANGE, COLOR_PINK, COLOR_RED, COLOR_WHITE, COLOR_YELLOW, DEFAULT_VALUE_COLOR_BLACK, DEFAULT_VALUE_COLOR_BLUE, DEFAULT_VALUE_COLOR_CYAN, DEFAULT_VALUE_COLOR_DEFAULT, DEFAULT_VALUE_COLOR_DKGRAY, DEFAULT_VALUE_COLOR_GRAY, DEFAULT_VALUE_COLOR_GREEN, DEFAULT_VALUE_COLOR_LTGRAY, DEFAULT_VALUE_COLOR_MAGENTA, DEFAULT_VALUE_COLOR_NONE, DEFAULT_VALUE_COLOR_ORANGE, DEFAULT_VALUE_COLOR_PINK, DEFAULT_VALUE_COLOR_RED, DEFAULT_VALUE_COLOR_WHITE, DEFAULT_VALUE_COLOR_YELLOW, DIRECTION_EAST, DIRECTION_MAX, DIRECTION_MIN, DIRECTION_NONE, DIRECTION_NORTH, DIRECTION_NORTHEAST, DIRECTION_NORTHWEST, DIRECTION_SOUTH, DIRECTION_SOUTHEAST, DIRECTION_SOUTHWEST, DIRECTION_WEST, FONT_DEFAULT_SIZE, LAYOUT_ORIENTATION_HORIZONTAL, LAYOUT_ORIENTATION_VERTICAL, LENGTH_FILL_PARENT, LENGTH_PREFERRED, LENGTH_UNKNOWN, SLIDER_MAX_VALUE, SLIDER_MIN_VALUE, SLIDER_THUMB_VALUE, TOAST_LENGTH_LONG, TOAST_LENGTH_SHORT, TYPEFACE_DEFAULT, TYPEFACE_MONOSPACE, TYPEFACE_SANSSERIF, TYPEFACE_SERIF| Constructor and Description |
|---|
PhoneNumberPicker(ComponentContainer container)
Create a new ContactPicker component.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
PhoneNumber()
PhoneNumber property getter method.
|
void |
postHoneycombGetContactEmailsAndPhones(android.database.Cursor dataCursor)
Assigns emailAddress, phoneNumber, emailAddressList, and phoneNumberList
for Honeycomb and up.
|
java.lang.String |
postHoneycombGetContactNameAndPicture(android.database.Cursor contactCursor)
Assigns contactName and contactPictureUri for Honeycomb and up.
|
void |
preHoneycombGetContactInfo(android.database.Cursor cursor)
For versions before Honeycomb, we get all the contact info from the same table.
|
void |
resultReturned(int requestCode,
int resultCode,
android.content.Intent data)
Callback method to get the result returned by the contact picker activity
|
checkContactUri, ContactName, EmailAddress, EmailAddressList, ensureNotNull, ensureNotNull, getEmailAddress, getIntent, guardCursorGetString, PhoneNumberList, Picture, postHoneycombGetContactEmailAndPhone, preHoneycombGetContactInfo, puntContactSelectionAfterPicking, BeforePicking, click, OpenBackgroundColor, BackgroundColor, Enabled, Enabled, FontBold, FontBold, FontItalic, FontItalic, FontSize, FontSize, FontTypeface, FontTypeface, getView, GotFocus, Image, Image, longClick, LostFocus, onClick, onFocusChange, onLongClick, onTouch, Shape, Shape, ShowFeedback, ShowFeedback, Text, Text, TextAlignment, TextAlignment, TextColor, TextColor, TouchDown, TouchUpColumn, Column, CopyHeight, CopyWidth, getDispatchDelegate, Height, Height, Row, Row, Visible, Visible, Width, Widthpublic PhoneNumberPicker(ComponentContainer container)
container - the parent container.public java.lang.String PhoneNumber()
PhoneNumber in class ContactPickerpublic void resultReturned(int requestCode,
int resultCode,
android.content.Intent data)
resultReturned in interface ActivityResultListenerresultReturned in class ContactPickerrequestCode - a code identifying the request.resultCode - a code specifying success or failure of the activitydata - the returned data, in this case an Intent whose data field
contains the contact's content provider Uri.public void preHoneycombGetContactInfo(android.database.Cursor cursor)
public java.lang.String postHoneycombGetContactNameAndPicture(android.database.Cursor contactCursor)
postHoneycombGetContactNameAndPicture in class ContactPickerpublic void postHoneycombGetContactEmailsAndPhones(android.database.Cursor dataCursor)