put
add uri as string
Note that there are three “URL” classes and you need to choose wisely:
- java.net.URL
- Java 1.0 class to handle URLs. Tries to resolve the URL on the net. Will hang and throw exception when this fails. Try to avoid if at all possible.
- java.net.URI
- Java 1.4 replacement for
java.net.URL
. Use when you need a instance which isjava.io.Serializable
. - android.net.Uri
- Android replacement for
java.net.URL
. Use when you need a instance which isandroid.os.Parcelable
.
Parameters
key under which the value is stored
value stored
See also
add boolean
Parameters
key under which the value is stored
value stored
See also
Adds a value to the set.
Parameters
the name of the value to put
the data for the value to put
See also
add double
Parameters
key under which the value is stored
value stored
See also
add float
Parameters
key under which the value is stored
value stored
See also
add integer
Parameters
key under which the value is stored
value stored
See also
add url as string
Note that there are three “URL” classes and you need to choose wisely:
- java.net.URL
- Java 1.0 class to handle URLs. Tries to resolve the URL on the net. Will hang and throw exception when this fails. Try to avoid if at all possible.
- java.net.URI
- Java 1.4 replacement for
java.net.URL
. Use when you need a instance which isjava.io.Serializable
. - android.net.Uri
- Android replacement for
java.net.URL
. Use when you need a instance which isandroid.os.Parcelable
.
Parameters
key under which the value is stored
value stored
See also
add date as long
Parameters
key key under which the value is stored
value value stored
See also
add long
Parameters
key key under which the value is stored
value value stored
See also
add string
Parameters
key key under which the value is stored
value value stored