Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/R.string#constants) \| [Ctors](https://developer.android.com/reference/android/R.string#pubctors) \| [Inherited Methods](https://developer.android.com/reference/android/R.string#inhmethods)

# R.string

*** ** * ** ***


`
public
static
final

class
R.string
`


`

extends https://developer.android.com/reference/java/lang/Object


`

`


`

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.R.string |

<br />

*** ** * ** ***

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/R.string#VideoView_error_button` Button to close error alert when a video cannot be played |
| `int` | `https://developer.android.com/reference/android/R.string#VideoView_error_text_invalid_progressive_playback` Text for error alert when a video container is not valid for progressive download/playback. |
| `int` | `https://developer.android.com/reference/android/R.string#VideoView_error_text_unknown` Text for error alert when a video cannot be played. |
| `int` | `https://developer.android.com/reference/android/R.string#VideoView_error_title` Title for error alert when a video cannot be played. |
| `int` | `https://developer.android.com/reference/android/R.string#autofill` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#cancel` Preference framework strings. |
| `int` | `https://developer.android.com/reference/android/R.string#copy` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#copyUrl` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#cut` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#defaultMsisdnAlphaTag` What the UI should display for "Msisdn" unless overridden by the SIM |
| `int` | `https://developer.android.com/reference/android/R.string#defaultVoiceMailAlphaTag` What the UI should display for "voice mail" unless overridden by the SIM |
| `int` | `https://developer.android.com/reference/android/R.string#dialog_alert_title` This is the generic "attention" string to be used in attention dialogs. |
| `int` | `https://developer.android.com/reference/android/R.string#emptyPhoneNumber` How to display the lack of a phone number |
| `int` | `https://developer.android.com/reference/android/R.string#fingerprint_icon_content_description` Content description which should be used for the fingerprint icon. |
| `int` | `https://developer.android.com/reference/android/R.string#httpErrorBadUrl` Displayed when a web request failed because the URL isn't in a valid form. |
| `int` | `https://developer.android.com/reference/android/R.string#httpErrorUnsupportedScheme` Displayed when a web request failed because the protocol of the server is not supported. |
| `int` | `https://developer.android.com/reference/android/R.string#lookUp` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#no` *This constant was deprecated in API level 30. Do not use. Incorrectly matches android.R.string.cancel rather than "no".* |
| `int` | `https://developer.android.com/reference/android/R.string#ok` Preference framework strings. |
| `int` | `https://developer.android.com/reference/android/R.string#paste` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#paste_as_plain_text` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#search_go` This is the default button label in the system-wide search UI. |
| `int` | `https://developer.android.com/reference/android/R.string#selectAll` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#selectTextMode` Item on EditText context menu. |
| `int` | `https://developer.android.com/reference/android/R.string#status_bar_notification_info_overflow` *This constant was deprecated in API level 36. No longer used.* |
| `int` | `https://developer.android.com/reference/android/R.string#unknownName` How to display the lack of a name |
| `int` | `https://developer.android.com/reference/android/R.string#untitled` Used in Contacts for a field that has no label and in Note Pad for a note with no name. |
| `int` | `https://developer.android.com/reference/android/R.string#yes` *This constant was deprecated in API level 30. Do not use. Incorrectly matches android.R.string.ok rather than "yes".* |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/R.string#string()() ` |

### Inherited methods

From class `

https://developer.android.com/reference/java/lang/Object

` `


https://developer.android.com/reference/java/lang/Object` `
https://developer.android.com/reference/java/lang/Object#clone()()
`

Creates and returns a copy of this object.


`


boolean` `
https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj)
`

Indicates whether some other object is "equal to" this one.


`


void` `
https://developer.android.com/reference/java/lang/Object#finalize()()
`

Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.


`


final

https://developer.android.com/reference/java/lang/Class<?>` `
https://developer.android.com/reference/java/lang/Object#getClass()()
`

Returns the runtime class of this `Object`.


`


int` `
https://developer.android.com/reference/java/lang/Object#hashCode()()
`

Returns a hash code value for the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notify()()
`

Wakes up a single thread that is waiting on this object's
monitor.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notifyAll()()
`

Wakes up all threads that are waiting on this object's monitor.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Object#toString()()
`

Returns a string representation of the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait()()
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*.


## Constants

### VideoView_error_button

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int VideoView_error_button
```

Button to close error alert when a video cannot be played

<br />

Constant Value:

17039376
(0x01040010)


### VideoView_error_text_invalid_progressive_playback

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int VideoView_error_text_invalid_progressive_playback
```

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

<br />

Constant Value:

17039381
(0x01040015)


### VideoView_error_text_unknown

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int VideoView_error_text_unknown
```

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

<br />

Constant Value:

17039377
(0x01040011)


### VideoView_error_title

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int VideoView_error_title
```

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

<br />

Constant Value:

17039378
(0x01040012)


### autofill

Added in [API level 27](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int autofill
```

Item on EditText context menu. This action is used to request autofill.

<br />

Constant Value:

17039386
(0x0104001a)


### cancel

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int cancel
```

Preference framework strings.

<br />

Constant Value:

17039360
(0x01040000)


### copy

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int copy
```

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

<br />

Constant Value:

17039361
(0x01040001)


### copyUrl

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int copyUrl
```

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

<br />

Constant Value:

17039362
(0x01040002)


### cut

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int cut
```

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

<br />

Constant Value:

17039363
(0x01040003)


### defaultMsisdnAlphaTag

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int defaultMsisdnAlphaTag
```

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

<br />

Constant Value:

17039365
(0x01040005)


### defaultVoiceMailAlphaTag

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int defaultVoiceMailAlphaTag
```

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

<br />

Constant Value:

17039364
(0x01040004)


### dialog_alert_title

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int dialog_alert_title
```

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)

<br />

Constant Value:

17039380
(0x01040014)


### emptyPhoneNumber

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int emptyPhoneNumber
```

How to display the lack of a phone number

<br />

Constant Value:

17039366
(0x01040006)


### fingerprint_icon_content_description

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int fingerprint_icon_content_description
```

Content description which should be used for the fingerprint icon.

<br />

Constant Value:

17039384
(0x01040018)


### httpErrorBadUrl

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int httpErrorBadUrl
```

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

<br />

Constant Value:

17039367
(0x01040007)


### httpErrorUnsupportedScheme

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int httpErrorUnsupportedScheme
```

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

<br />

Constant Value:

17039368
(0x01040008)


### lookUp

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static final int lookUp
```

Item on EditText context menu. This action is used to look up the selected text. \[CHAR LIMIT=20\]

<br />

Constant Value:

17039436
(0x0104004c)


### no

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int no
```


**This constant was deprecated
in API level 30.**   

Do not use. Incorrectly matches android.R.string.cancel rather than "no".

Preference framework strings.

<br />

Constant Value:

17039369
(0x01040009)


### ok

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int ok
```

Preference framework strings.

<br />

Constant Value:

17039370
(0x0104000a)


### paste

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int paste
```

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

<br />

Constant Value:

17039371
(0x0104000b)


### paste_as_plain_text

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int paste_as_plain_text
```

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

<br />

Constant Value:

17039385
(0x01040019)


### search_go

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int search_go
```

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

<br />

Constant Value:

17039372
(0x0104000c)


### selectAll

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int selectAll
```

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

<br />

Constant Value:

17039373
(0x0104000d)


### selectTextMode

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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\]

<br />

Constant Value:

17039382
(0x01040016)


### status_bar_notification_info_overflow

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int status_bar_notification_info_overflow
```


**This constant was deprecated
in API level 36.**   

No longer used.

<br />

<br />

Constant Value:

17039383
(0x01040017)


### unknownName

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int unknownName
```

How to display the lack of a name

<br />

Constant Value:

17039374
(0x0104000e)


### untitled

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int untitled
```

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

<br />

Constant Value:

17039375
(0x0104000f)


### yes

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int yes
```


**This constant was deprecated
in API level 30.**   

Do not use. Incorrectly matches android.R.string.ok rather than "yes".

Preference framework strings.

<br />

Constant Value:

17039379
(0x01040013)


## Public constructors

### string

```
public string ()
```

<br />

<br />