IT. Expert System.

Android Reference

Telephony.Sms


android.provider

Class Telephony.Sms

    • Field Detail

      • CONTENT_URI

        public static final Uri CONTENT_URI
        The content:// style URL for this table
      • DEFAULT_SORT_ORDER

        public static final String DEFAULT_SORT_ORDER
        The default sort order for this table
        See Also:
        Constant Field Values
    • Constructor Detail

      • Telephony.Sms

        public Telephony.Sms()
    • Method Detail

      • addMessageToUri

        public static Uri addMessageToUri(ContentResolver resolver,
                          Uri uri,
                          String address,
                          String body,
                          String subject,
                          Long date,
                          boolean read,
                          boolean deliveryReport)
        Add an SMS to the given URI.
        Parameters:
        resolver - the content resolver to use
        uri - the URI to add the message to
        address - the address of the sender
        body - the body of the message
        subject - the psuedo-subject of the message
        date - the timestamp for the message
        read - true if the message has been read, false if not
        deliveryReport - true if a delivery report was requested, false if not
        Returns:
        the URI for the new message
      • addMessageToUri

        public static Uri addMessageToUri(ContentResolver resolver,
                          Uri uri,
                          String address,
                          String body,
                          String subject,
                          Long date,
                          boolean read,
                          boolean deliveryReport,
                          long threadId)
        Add an SMS to the given URI with thread_id specified.
        Parameters:
        resolver - the content resolver to use
        uri - the URI to add the message to
        address - the address of the sender
        body - the body of the message
        subject - the psuedo-subject of the message
        date - the timestamp for the message
        read - true if the message has been read, false if not
        deliveryReport - true if a delivery report was requested, false if not
        threadId - the thread_id of the message
        Returns:
        the URI for the new message
      • moveMessageToFolder

        public static boolean moveMessageToFolder(Context context,
                                  Uri uri,
                                  int folder,
                                  int error)
        Move a message to the given folder.
        Parameters:
        context - the context to use
        uri - the message to move
        folder - the folder to move to
        Returns:
        true if the operation succeeded
      • isOutgoingFolder

        public static boolean isOutgoingFolder(int messageType)
        Returns true iff the folder (message type) identifies an outgoing message.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 222 / 158692575. Delta: 0.03372 с