java.lang.Object | |
↳ | com.android.contacts.ContactsUtils |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ContactsUtils.ProviderNames |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true if two
Intent s are both null, or have the same action. | |||||||||||
Returns true if two objects are considered equal.
| |||||||||||
Build
Intent to launch an action for the given Im or
Email row. | |||||||||||
Utility for creating a standard tab indicator view.
| |||||||||||
Utility for creating a standard tab indicator view.
| |||||||||||
Build the display title for the
CONTENT_URI entry in the
provided cursor, assuming the given mimeType. | |||||||||||
Kick off an intent to initiate a call.
| |||||||||||
Kick off an intent to initiate an Sms/Mms message.
| |||||||||||
Test if the given
CharSequence contains any graphic characters,
first checking isEmpty(CharSequence) to handle null. | |||||||||||
Opens an InputStream for the person's photo and returns the photo as a Bitmap.
| |||||||||||
Loads a placeholder photo.
| |||||||||||
Returns true if two data with mimetypes which represent values in contact entries are
considered equal for collapsing in the GUI.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns true if two Intent
s are both null, or have the same action.
Returns true if two objects are considered equal. Two null references are equal here.
Build Intent
to launch an action for the given Im or
Email row. Returns null when missing protocol or data.
Utility for creating a standard tab indicator view.
parent | The parent ViewGroup to attach the new view to. |
---|---|
label | The label to display in the tab indicator. If null, not label will be displayed. |
icon | The icon to display. If null, no icon will be displayed. |
Utility for creating a standard tab indicator view.
parent | The parent ViewGroup to attach the new view to. |
---|---|
source | The ContactsSource to build the tab view from. |
Build the display title for the CONTENT_URI
entry in the
provided cursor, assuming the given mimeType.
Kick off an intent to initiate a call.
phoneNumber | must not be null. |
---|
NullPointerException | when the given argument is null. |
---|
Kick off an intent to initiate an Sms/Mms message.
phoneNumber | must not be null. |
---|
NullPointerException | when the given argument is null. |
---|
Test if the given CharSequence
contains any graphic characters,
first checking isEmpty(CharSequence)
to handle null.
Opens an InputStream for the person's photo and returns the photo as a Bitmap. If the person's photo isn't present returns null.
bitmapColumnIndex | the column index where the photo Uri is stored. |
---|---|
options | the decoding options, can be set to null |
Loads a placeholder photo.
placeholderImageResource | the resource to use for the placeholder image |
---|---|
context | the Context |
options | the decoding options, can be set to null |
Returns true if two data with mimetypes which represent values in contact entries are
considered equal for collapsing in the GUI. For caller-id, use
compare(Context, String, String)
instead