Home | History | Annotate | Download | only in provider

Lines Matching refs:Sms

50  * The Telephony provider contains data related to phone operation, specifically SMS and MMS
54 * devices. If your app depends on telephony features such as for managing SMS messages, include
62 * <h3>Creating an SMS app</h3>
64 * <p>Only the default SMS app (selected by the user in system settings) is able to write to the
65 * SMS Provider (the tables defined within the {@code Telephony} class) and only the default SMS
66 * app receives the {@link android.provider.Telephony.Sms.Intents#SMS_DELIVER_ACTION} broadcast
67 * when the user receives an SMS or the {@link
68 * android.provider.Telephony.Sms.Intents#WAP_PUSH_DELIVER_ACTION} broadcast when the user
71 * <p>Any app that wants to behave as the user's default SMS app must handle the following intents:
73 * <li>In a broadcast receiver, include an intent filter for {@link Sms.Intents#SMS_DELIVER_ACTION}
76 * <p>This allows your app to directly receive incoming SMS messages.</p></li>
78 * Sms.Intents#WAP_PUSH_DELIVER_ACTION}} ({@code "android.provider.Telephony.WAP_PUSH_DELIVER"})
85 * </code>) with schemas, <code>sms:</code>, <code>smsto:</code>, <code>mms:</code>, and
92 * <code>sms:</code>, <code>smsto:</code>, <code>mms:</code>, and <code>mmsto:</code>.
99 * <p>Other apps that are not selected as the default SMS app can only <em>read</em> the SMS
100 * Provider, but may also be notified when a new SMS arrives by listening for the {@link
101 * Sms.Intents#SMS_RECEIVED_ACTION}
103 * broadcast is intended for apps that&mdash;while not selected as the default SMS app&mdash;need to
106 * <p>For more information about building SMS apps, read the blog post, <a
107 * href="http://android-developers.blogspot.com/2013/10/getting-your-sms-apps-ready-for-kitkat.html"
108 * >Getting Your SMS Apps Ready for KitKat</a>.</p>
277 * Contains all text-based SMS messages.
279 public static final class Sms implements BaseColumns, TextBasedSmsColumns {
285 private Sms() {
289 * Used to determine the currently configured default SMS package.
291 * @return package name for the default SMS package or null
322 public static final Uri CONTENT_URI = Uri.parse("content://sms");
330 * Add an SMS to the given URI.
351 * Add an SMS to the given URI.
373 * Add an SMS to the given URI with the specified thread ID.
396 * Add an SMS to the given URI with thread_id specified.
494 * Contains all text-based SMS messages in the SMS app inbox.
508 public static final Uri CONTENT_URI = Uri.parse("content://sms/inbox");
516 * Add an SMS to the Draft box.
535 * Add an SMS to the Draft box.
555 * Contains all sent text-based SMS messages in the SMS app.
569 public static final Uri CONTENT_URI = Uri.parse("content://sms/sent");
577 * Add an SMS to the Draft box.
594 * Add an SMS to the Draft box.
613 * Contains all sent text-based SMS messages in the SMS app.
627 public static final Uri CONTENT_URI = Uri.parse("content://sms/draft");
639 * Add an SMS to the Draft box.
663 * Contains all pending outgoing text-based SMS messages.
677 public static final Uri CONTENT_URI = Uri.parse("content://sms/outbox");
685 * Add an SMS to the outbox.
705 * Add an SMS to the Out box.
726 * Contains all sent text-based SMS messages in the SMS app.
741 public static final Uri CONTENT_URI = Uri.parse("content://sms/conversations");
762 * Contains constants for SMS related Intents that are broadcast.
805 * SMS application. This will show a dialog that asks the
807 * SMS application with the one specified in
823 * Broadcast Action: A new text-based SMS message has been received
825 * sms app. That app is responsible for writing the message and notifying
862 * Broadcast Action: A new text-based SMS message has been received
886 * Broadcast Action: A new data based SMS message has been received
911 * sms app. That app is responsible for writing the message and notifying
1012 * Action: A SMS based carrier provision intent. Used to identify default
1046 * Broadcast Action: A new CDMA SMS has been received containing Service Category
1068 * Broadcast Action: The SIM storage for SMS messages is full. If
1079 * Broadcast Action: An incoming SMS has been rejected by the
1097 * users, except for secondary users where SMS has been disabled and to managed
1121 * Broadcast action: When the default SMS package changes,
1122 * the previous default SMS package and the new default SMS
1125 * indicate whether the package is the new default SMS package.
1134 * SMS app is becoming the default SMS app or is no longer the default.
1143 * MmsProvider by a process other than the default SMS application,
1144 * this intent is broadcast to the default SMS application so it can
1789 * Columns for the "canonical_addresses" table used by MMS and SMS.
1793 * An address used in MMS or SMS. Email addresses are
1803 * Columns for the "threads" table used by MMS and SMS.
1871 * Helper functions for the "threads" table used by MMS and SMS.
1882 "content://mms-sms/threadID");
1911 * It's convenient for use with SMS messages.
2363 * Contains all MMS and SMS messages.
2375 * The column to distinguish SMS and MMS messages in query results.
2383 public static final Uri CONTENT_URI = Uri.parse("content://mms-sms/");
2389 "content://mms-sms/conversations");
2395 "content://mms-sms/messages/byphone");
2401 "content://mms-sms/undelivered");
2407 "content://mms-sms/draft");
2413 "content://mms-sms/locked");
2420 "content://mms-sms/search");
2424 /** SMS protocol type. */
2438 /** Error type: SMS protocol transient error. */
2450 /** Error type: SMS protocol permanent error. */
2472 * The type of transport protocol (MMS or SMS).
2930 * Contains received SMS cell broadcast messages.