Questions tagged [android-mms]

47 questions
1
vote
1 answer

Android ACTiON_SEND MMS intent fails with "Unable to attach. File not supported"

private void sendPhotoByEmail(Uri photoUri, String[] emailTo) { Intent intent = new Intent(Intent.ACTION_SEND); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); intent.setType("message/rfc822"); …
scrayne
  • 701
  • 7
  • 18
1
vote
3 answers

MMS in android not working using Intent.ACTION_SEND

How can i send an MMS in android ? My code using UI as follows : Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra("address", "5556"); intent.putExtra("sms_body", "Gudmng !!"); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Uri uri =…
Priya
  • 21
  • 1
  • 4
1
vote
1 answer

How to use SmsManager.importMultimediaMessage()? How to import MMS in Android's database?

So, I'm building an app to copy all my messages (AND mms, WITH attachments) from iOS (iTunes backup) to Android Pie (OxygenOS). I went through Android's SmsManager.java file, and I noticed two methods: importTextMessage(...) does the job perfectly…
1
vote
0 answers

MMS not being downloaded while roaming?

I'm working with the klinker library to receive MMS on Android. Everything is setup correctly but I think I get the following Exception only when I'm roaming. I do have roaming data enabled and with the default messaging app when I receive a MMS I…
david
  • 997
  • 3
  • 14
  • 34
1
vote
1 answer

Parsing received MMS for Images and Text

I am developing an SMS-MMS vault application for android. Its purpose will be to correct a couple of vulnerabilities existing in Android, as well as creating a "safe" communication space between certain contacts (Encrypted SMS and MMS). I have…
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…
1
vote
0 answers

Trouble coding for receiving and parsing MMS on Android?

I am trying to receive MMS through my client's messaging app that's in development. One major issue that I am facing is that I am unable to test in India as service providers here are using legacy system of sending MMS. What I mean is while using…
1
vote
3 answers

Retrieving SMS in marshmallow

I have a failed SMS in my native inbox. I m not able to retrieve it from my application. The query I use is: content://mms-sms/conversations/73 SELECT transport_type, _id, thread_id, address, body, date, date_sent, read, type, status, locked,…
Ajitha
  • 717
  • 1
  • 7
  • 30
1
vote
1 answer

Alias the phone number of an incoming sms

I would like to know how some apps can send SMS to my Android and alias the sender phone number. Such as Twitter: Though I don't have it in my contacts, nor can I see the actual number it was sent from.
Mugen
  • 8,301
  • 10
  • 62
  • 140
1
vote
0 answers

Unable to add MMS Intent with sms_body and address in Sony phones

This code works fine in other phones but it does not add sms_body and address in Sony Phones, I have tested it in Xperia Z and Xperia M4. Intent mmsIntent = new Intent(Intent.ACTION_SEND); mmsIntent.putExtra("sms_body", "SMS_TEXT"); …
SkyWalker
  • 855
  • 2
  • 14
  • 36
1
vote
0 answers

Getting unseen count for MMS messages in Android

I'm trying to get a count of unseen mms message which I've got a content observer triggering when the mms/inbox changes.. This is the cursor Cursor cursor = localContentResolverMMS2.query(Uri.parse("content://mms/inbox"), null, …
Andrew
  • 7,548
  • 7
  • 50
  • 72
1
vote
0 answers

SmsManager MMS APIs on HTC/LG

I'm using the new Android lollipop APIs for sending and receiving MMS messages: SmsManager.downloadMultimediaMessage and SmsManager.sendMultimediaMessage. This works well on Nexus 4 and 5, but not working at all on HTC One & LG G3 running…
marmor
  • 27,641
  • 11
  • 107
  • 150
1
vote
0 answers

How to send image via MMS in Android in background .

I am working for an application in which I have to send selected Image Through MMS . New Android version have sending mms code but not for older version android greater than android v3.0 . How to send MMS for all android version ?
Ankit
  • 89
  • 1
  • 1
  • 8
1
vote
1 answer

Can I read MMS-s in Android KitKat without being the default messaging app?

On Android KitKat, if I'm not the default messaging app I can read the MMS-s? I only need to read them, not to send them. If yes, how? I've tried with
Paul
  • 3,812
  • 10
  • 50
  • 73
1
vote
2 answers

Android error the method getOrCreateThreadId is undefined for the type Telephony.Threads

I am building an Android app in Eclipse. In one class method, there is this code: threadId = Threads.getOrCreateThreadId(mContext, recipients); mContext is a context, and recipients is Set Eclipse shows an error in that line saying: The…
Vero
  • 1,742
  • 3
  • 15
  • 29