Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

R.string

extends Object
java.lang.Object
   ↳ android.R.string

Summary

Constants
int VideoView_error_button Button to close error alert when a video cannot be played
int VideoView_error_text_invalid_progressive_playback Text for error alert when a video container is not valid for progressive download/playback.
int VideoView_error_text_unknown Text for error alert when a video cannot be played.
int VideoView_error_title Title for error alert when a video cannot be played.
int cancel Preference framework strings.
int copy Item on EditText context menu.
int copyUrl Item on EditText context menu.
int cut Item on EditText context menu.
int defaultMsisdnAlphaTag What the UI should display for "Msisdn" unless overridden by the SIM
int defaultVoiceMailAlphaTag What the UI should display for "voice mail" unless overridden by the SIM
int dialog_alert_title This is the generic "attention" string to be used in attention dialogs.
int emptyPhoneNumber How to display the lack of a phone number
int httpErrorBadUrl Displayed when a web request failed because the URL isn't in a valid form.
int httpErrorUnsupportedScheme Displayed when a web request failed because the protocol of the server is not supported.
int no Preference framework strings.
int ok Preference framework strings.
int paste Item on EditText context menu.
int search_go This is the default button label in the system-wide search UI.
int selectAll Item on EditText context menu.
int selectTextMode Item on EditText context menu.
int status_bar_notification_info_overflow Text to use when the number in a notification info is too large (greater than status_bar_notification_info_maxnum, defined in values/config.xml) and must be truncated.
int unknownName How to display the lack of a name
int untitled Used in Contacts for a field that has no label and in Note Pad for a note with no name.
int yes Preference framework strings.
Public Constructors
R.string ()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int VideoView_error_button

Added in API level 1

Button to close error alert when a video cannot be played

Constant Value: 17039376 (0x01040010)

public static final int VideoView_error_text_invalid_progressive_playback

Added in API level 3

Text for error alert when a video container is not valid for progressive download/playback.

Constant Value: 17039381 (0x01040015)

public static final int VideoView_error_text_unknown

Added in API level 1

Text for error alert when a video cannot be played. it can be used by any app.

Constant Value: 17039377 (0x01040011)

public static final int VideoView_error_title

Added in API level 1

Title for error alert when a video cannot be played. it can be used by any app.

Constant Value: 17039378 (0x01040012)

public static final int cancel

Added in API level 1

Preference framework strings.

Constant Value: 17039360 (0x01040000)

public static final int copy

Added in API level 1

Item on EditText context menu. This action is used to cut selected the text into the clipboard.

Constant Value: 17039361 (0x01040001)

public static final int copyUrl

Added in API level 1

Item on EditText context menu. This action is used to copy a URL from the edit field into the clipboard.

Constant Value: 17039362 (0x01040002)

public static final int cut

Added in API level 1

Item on EditText context menu. This action is used to cut selected the text into the clipboard.

Constant Value: 17039363 (0x01040003)

public static final int defaultMsisdnAlphaTag

Added in API level 1

What the UI should display for "Msisdn" unless overridden by the SIM

Constant Value: 17039365 (0x01040005)

public static final int defaultVoiceMailAlphaTag

Added in API level 1

What the UI should display for "voice mail" unless overridden by the SIM

Constant Value: 17039364 (0x01040004)

public static final int dialog_alert_title

Added in API level 3

This is the generic "attention" string to be used in attention dialogs. Typically combined with setIconAttribute(android.R.attr.alertDialogIcon) (or setIcon(android.R.drawable.ic_dialog_alert) on legacy versions of the platform)

Constant Value: 17039380 (0x01040014)

public static final int emptyPhoneNumber

Added in API level 1

How to display the lack of a phone number

Constant Value: 17039366 (0x01040006)

public static final int httpErrorBadUrl

Added in API level 1

Displayed when a web request failed because the URL isn't in a valid form.

Constant Value: 17039367 (0x01040007)

public static final int httpErrorUnsupportedScheme

Added in API level 1

Displayed when a web request failed because the protocol of the server is not supported.

Constant Value: 17039368 (0x01040008)

public static final int no

Added in API level 1

Preference framework strings.

Constant Value: 17039369 (0x01040009)

public static final int ok

Added in API level 1

Preference framework strings.

Constant Value: 17039370 (0x0104000a)

public static final int paste

Added in API level 1

Item on EditText context menu. This action is used to paste from the clipboard into the eidt field

Constant Value: 17039371 (0x0104000b)

public static final int search_go

Added in API level 1

This is the default button label in the system-wide search UI. It is also used by the home screen's search "widget". It should be short

Constant Value: 17039372 (0x0104000c)

public static final int selectAll

Added in API level 1

Item on EditText context menu. This action is used to select all text in the edit field.

Constant Value: 17039373 (0x0104000d)

public static final int selectTextMode

Item on EditText context menu. Added only when the context menu is not empty, it enable selection context mode. [CHAR LIMIT=20]

Constant Value: 17039382 (0x01040016)

public static final int status_bar_notification_info_overflow

Text to use when the number in a notification info is too large (greater than status_bar_notification_info_maxnum, defined in values/config.xml) and must be truncated. May need to be localized for most appropriate textual indicator of "more than X". [CHAR LIMIT=4]

Constant Value: 17039383 (0x01040017)

public static final int unknownName

Added in API level 1

How to display the lack of a name

Constant Value: 17039374 (0x0104000e)

public static final int untitled

Added in API level 1

Used in Contacts for a field that has no label and in Note Pad for a note with no name.

Constant Value: 17039375 (0x0104000f)

public static final int yes

Added in API level 1

Preference framework strings.

Constant Value: 17039379 (0x01040013)

Public Constructors

public R.string ()

Added in API level 1