Working with SMS in Android. If asking about SMS in general, use sms tag.
Questions tagged [android-sms]
106 questions
1
vote
2 answers
Trying to read SMS/MMS on Android and geting java.lang.NullPointerException
I'm trying to read SMS/MMS on Android, and I have followed the answer, when writing the code and try to run it on an Android OS 6.0.1 on Samsung device I got the following exception:
java.lang.NullPointerException: Attempt to invoke virtual method…

Aaron
- 19
- 4
1
vote
4 answers
how to read and display only transaction messages from inbox to an android app
I have already know that how to read the messages from inbox but I want to implement a android app to read only transaction message and display it in a list view with transaction amount ,credit debit etc.For my complete code. current complete code…

Adi
- 400
- 8
- 25
1
vote
2 answers
send sms to server from android
is it possible to send data from an sms app to a server (e.g a mobile server) when there is no internet, in which the server then sends the sms to the cloud. And if there is internet the sms goes straight to the cloud.

Joshua Jumbo
- 69
- 1
- 10
0
votes
0 answers
How to turn my android app into default sms application?
I am working on an android project within it i have implemented a sms module where i can send sms and receive sms . But i want my app to be used as the default sms app which means that received sms must not be seen in the sms app . How could i…

Patrick Renaud
- 75
- 7
0
votes
0 answers
How to send images using sms without using internet
I want implement an android application in kotlin where i can send capured photo or images via sms .I would like someone to explain me the process , how it works and how could i figure this out ?

Patrick Renaud
- 75
- 7
0
votes
0 answers
Sending SMS from broacast receiver to server in android java
Hi I'm trying to create this app that searches for sms displays them on a recycler view and when a user clicks on an sms I use a broadcast receiver in essence it gets sms with user consent and sends it across a network that is to say a simple python…

Justice Chukwuemeka
- 23
- 5
0
votes
0 answers
How to get conversation list of SMS in latest order
What am doing:
Am getting recipients list like this
Cursor c=getContentResolver().query(Uri.parse("content://sms/"), new String[]{"DISTINCT address"}, null, null, "date DESC");
while(c.moveToNext()){
String address = c.getString(0));
//…

DiLDoST
- 335
- 3
- 12
0
votes
2 answers
BroadcastReciever for SMS_RECEIVED_ACTION registered in manifest not working
Registering an SMS broadcast receiver in the Manifest doesn't seem to work anymore.
I'm aware that Android recently locked down the manifest broadcast receivers however the SMS_RECEIVED_ACTION appears to be on the exception list.
My receiver looks…

TheChubbyPanda
- 1,721
- 2
- 16
- 37
0
votes
0 answers
How get no sent message
How I can get no sent messages?
Where I get all messages from Telephony.Sms.CONTENT_URI, it is good working. But if my message no sent (no many, no radio, etc), I no got in Telephony.Sms.CONTENT_URI.
Interesting moment: I sending the message from my…

Valeriy
- 191
- 2
- 10
0
votes
1 answer
Android SMS based user verification generic flow
I have a few different Android apps which use Android SMS Retriever API, to perform SMS-based user verification. I am wondering if there is a consistent way to authenticate user via SMS and not implement it with every app I am creating. I was…

luckysing_noobster
- 1,933
- 5
- 24
- 50
0
votes
1 answer
How to resolve fetching SMS fail due to cursor index issues?
I'm trying to make my own SMS app but I'm having trouble with fetching SMS.
I'm testing the app on AVD and my SMS folder is as shown below.
Method responsible for fetching existing data:
public void refreshSmsInbox() {
ContentResolver…

SonOfEl
- 175
- 1
- 10
0
votes
0 answers
Android: How to get app to appear in list of default apps?
So for some reason my mum's tablet (WiFi only) has a constant notification that says it needs to have a default SMS app set, but because it has no SIM card (let alone a slot), SMS apps in the Play Store are marked as not compatible.
I've been…

Slashee the Cow
- 315
- 3
- 8
0
votes
1 answer
How to know SMS is correctly sent in Android?
I am making SMS Manager application.
Here is my code.
Receiver Code:
private val receiver = object : BroadcastReceiver() {
override fun onReceive(context: Context?, intent: Intent) {
val id = intent.getIntExtra("id", 0)
if…

Daniel.Wang
- 2,242
- 2
- 9
- 27
0
votes
0 answers
App update rejected, stating that my app Sush, com.toto.sush, does not qualify for use of READ_SMS, SEND_SMS, READ_CALL_LOG
I've developed an android app 'Sush'. It is a utility app which caters to 'Flip-to-vibrate' functionality. I developed the first version back in 2017.
Now i've updated my app to support latest android devices, and also updated the target SDK…

Abhinav Ganguly
- 276
- 4
- 7
0
votes
0 answers
Open device SMS app by highlighting specific message in the conversation list
I'm reading devices SMS messages and displaying on Listview. Whenever i tap on item from the list then i would like to open that person conversation list and i want to scroll cursor to that particular message position by hi-lighted that selected…

Kommineni Veeranayana
- 103
- 8