Questions tagged [sms]

Short Message Service (SMS) is the standardized text communication service component of phone, web or mobile communication systems that allow the exchange of short text messages between fixed line or mobile phone devices.

Short Message Service (SMS) is the text communication service component of phone, web or mobile communication systems, using standardized communications protocols that allow the exchange of short text messages between fixed line or mobile phone devices.

The term SMS is used as a synonym for all types of short text messaging as well as the user activity itself in many parts of the world.

Source

7312 questions
534
votes
18 answers

How to programmatically send SMS on the iPhone?

Does anybody know if it's possible, and how, to programmatically send a SMS from the iPhone, with the official SDK / Cocoa Touch?
Marco
263
votes
12 answers

How can I read SMS messages from the device programmatically in Android?

I want to retrieve the SMS messages from the device and display them?
Hamaney
167
votes
14 answers

Show compose SMS view in Android

I want to send a sms with Android. What is the intent for SMS sending? I want to show the compose sms view with my pre-define text passing over in message field.
djk
  • 3,601
  • 8
  • 29
  • 39
164
votes
10 answers

Android – Listen For Incoming SMS Messages

I am trying to create an application for monitoring incoming SMS messages, and launch a program via incoming SMS, also it should read the content from the SMS. Workflow: SMS sent to Android device self executable Application Read the SMS…
iShader
  • 1,955
  • 4
  • 17
  • 17
161
votes
9 answers

Android: Share plain text using intent (to all messaging apps)

I'm trying to share some text using an intent: Intent i = new Intent(android.content.Intent.ACTION_SEND); i.setType("text/plain"); i.putExtra(android.content.Intent.EXTRA_TEXT, "TEXT"); and warping with…
skgskg
  • 1,633
  • 2
  • 11
  • 7
149
votes
20 answers

launch sms application with an intent

I have a question about an intent... I try to launch the sms app... Intent intent = new Intent(Intent.ACTION_MAIN); intent.setType("vnd.android-dir/mms-sms"); int flags = Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP | …
Olivier69
  • 1,491
  • 2
  • 10
  • 4
146
votes
17 answers

How to send SMS in Java

What are the possible ways to send and receive sms from Java application? How?
jmj
  • 225,392
  • 41
  • 383
  • 426
132
votes
6 answers

Sending and Receiving SMS and MMS in Android (pre Kit Kat Android 4.4)

I have figured out how to send and receive SMS messages. To send SMS messages I had to call the sendTextMessage() and sendMultipartTextMessage() methods of the SmsManager class. To receive SMS messages, I had to register a receiver in the…
toobsco42
  • 6,131
  • 16
  • 73
  • 85
126
votes
21 answers

How to pre-populate the sms body text via an html link

How to use an html link to open the sms app with a pre-filled body? Everything I have read seems to indicate that sms:18005555555?body=bodyTextHere Should work, but on the iPhone, this doesn't work. If I take out the ?body=bodyTextHere, and just use…
merlincam
  • 1,628
  • 3
  • 14
  • 16
100
votes
5 answers

Can we delete an SMS in Android before it reaches the inbox?

I am deleting an SMS from the inbox but I want to know: How can I delete it before it reaches the inbox?
umakant
  • 1,019
  • 2
  • 8
  • 5
99
votes
18 answers

How to delete an SMS from the inbox in Android programmatically?

On Android phones SMS messages registered to applications also get sent to the device's inbox. However to prevent clutter, it'd be nice to be able to remove application specific SMS messages from the inbox to reduce the potential overflow of those…
dmyung
  • 7,789
  • 5
  • 25
  • 21
91
votes
2 answers

Broadcast Receiver within a Service

I am trying to start up a BroadcastReceiver within a Service. What I am trying to do is have a background running service going that collects incoming text messages, and logs incoming phone calls. I figured the best way to go about this is to have a…
Utopia025
  • 1,141
  • 3
  • 10
  • 16
84
votes
10 answers

Cheapest way to send SMS for number verification?

My application needs to verify phone numbers that are provided by the user. What is the absolute cheapest way to send an SMS to a phone? Which company/API should I go to? I'm not looking for a hack solution to send out 10 SMS a month kind of thing,…
erotsppa
  • 14,959
  • 29
  • 109
  • 164
79
votes
7 answers

Sending SMS in iOS with Swift

First of all, I'm really surprised that this is not a duplicate, because there are TONS of stackoverflow questions that solve this in Objective-C, but I have yet to see a good answer that used Swift. What I'm looking for is a code snippet in Swift…
johncorser
  • 7,912
  • 13
  • 51
  • 95
77
votes
11 answers

Send a SMS via intent

I want to send an SMS via intent, but when I use this code, it redirects me to a wrong contact: Intent intentt = new Intent(Intent.ACTION_VIEW); …
Ata
  • 10,914
  • 19
  • 53
  • 94
1
2 3
99 100