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

7611 questions
33
votes
4 answers

Can i automatically send SMS (Without the user need to approve)

I'm rather new to Android. Im trying to send SMS from Android application. When using the SMS Intent the SMS window opens and the user needs to approve the SMS and send it. Is there a way to automatically send the SMS without the user confirming…
user733284
  • 925
  • 2
  • 11
  • 18
33
votes
4 answers

Listen outgoing SMS or sent box in Android

I am developing an application which will store all the incoming and outgoing sms in a text file in SD card. I am able to listen incoming messages using broadcast receiver. I am finding it very difficult to listen to outgoing SMS. I know to some…
Vivek
  • 4,526
  • 17
  • 56
  • 69
33
votes
3 answers

How to access the SMS storage on Android?

Beginner Android dev here. I'm trying to create an app that will read the SMS messages stored on the device and then give the user statistics about their habits (like who they message often, common words, etc). But to my knowledge, there doesn't…
eternalmatt
  • 3,524
  • 4
  • 25
  • 25
32
votes
3 answers

Free SMS API in web application

Does anyone know of any SMS APIs that I can use in my web application to send SMS messages to users?
Hoe Chin
32
votes
5 answers

Read all SMS from a particular sender

How do I read all SMSes from a particular sender to me? E.g. I want to scan a) the body, and b) the date/time of all SMSes that came from 'TM-MYAMEX' to the phone. Some websites seem to indicate this can be read from "content://sms/inbox". I…
KalEl
  • 8,978
  • 13
  • 47
  • 56
30
votes
5 answers

Intercepting Outgoing SMS

Is it possible to intercept outgoing SMS before it is actually sent, get its contents then ignore / send it according to some criteria? eg. block all international text (numbers with leading 00), but allow everything else.
GaiusSensei
  • 1,860
  • 4
  • 25
  • 44
30
votes
9 answers

SMS URL on Android

I was wanting to know if Android had a similar feature to the iPhone in that you can use an HTML A tag to send an SMS by setting the HREF attribute to the phone number you want to send the message to and prefixing it with "SMS:", i.e.…
dakine
  • 560
  • 2
  • 6
  • 19
29
votes
3 answers

Read inbox messages of a particular number and display them in an activity

I am trying to read messages from an inbox and display them in an activity. My activity contains a button and listview. When I click on the button, all messages from the inbox are displayed. But my requirement is that I need to view messages from a…
ramtej
  • 303
  • 1
  • 3
  • 7
29
votes
5 answers

Read SMS message in iOS

I'm an iOS developer and i have tried to build a mobile application with automatic activation functionality, i found more than way to read SMS message but only using private API which will cause Apple rejection to my app.,i have two questions and…
UBA_MobileTeam
  • 561
  • 2
  • 7
  • 10
28
votes
3 answers

How to send an SMS with custom sender ID with Amazon SNS and Python and boto3

The documentation suggests to use message attributes for that but I can't seem to figure out what attribute name to use. This works so far: sns = boto3.client('sns', region_name='eu-west-1') sns.publish( PhoneNumber='+491701234567', Message='hi…
tgal
  • 381
  • 1
  • 3
  • 4
28
votes
8 answers

Sending a SMS on Android through ADB

I would like to be able to send a SMS from my Android phone while it's connected to my computer using the following ADB commands adb shell am start -a android.intent.action.SENDTO -d sms:CCXXXXXXXXXX --es sms_body "SMS BODY GOES HERE" --ez…
user790995
27
votes
14 answers

Trying to get new line on sms message sent from php script

I've been trying to get a new line generated in my SMS message sent from a PHP script. I've used \r\n,
and some hex codes. No matter what I do the message comes to my phone without line breaks. $body .= 'City:'.$venue.'\r\n'; //<- doesn't…
Matt
  • 271
  • 1
  • 3
  • 3
27
votes
4 answers

Android - Create SMS from PDU deprecated API?

I want to create an app that gets notified when an SMS arrives and processes that SMS, but reading the reference for the createFromPdu function, it states that: This method will soon be deprecated and all applications which handle incoming SMS…
Zoltán Szőcs
  • 1,141
  • 2
  • 11
  • 23
26
votes
3 answers

Sending SMS from an ASP.NET website

Is there a way to send SMS from an ASP.NET website using a Web API? I know about web services, but don't know how to call those services from my app.
Kanishka
  • 1,097
  • 5
  • 20
  • 37
26
votes
1 answer

Using SMS to verify a device's phone number

I am trying to verify the phone number of an Android device by having the device send an SMS to itself, and automatically checking if the SMS has been received. How can I do this?
Sohan Alam
  • 529
  • 1
  • 6
  • 12