Questions tagged [android-mms]

47 questions
1
vote
1 answer

Android save or insert MMS in content provider programmatically

I am trying code described below, I got it from internet. It inserts rows in content provider(mmssms.db) properly but MMS is not shown Native Messaging App. thread_id 11 is already present in my content provider so I am using thread_id 11. public…
user2424240
1
vote
1 answer

How do the retrieve the date of the mms from content://mms.

I did get the information on how to retrieve the text and the image for the mms sent from this link: How to Read MMS Data in Android?. But I am not sure how to retrieve the date for the mms that was sent. I know I have to look into content://mms…
mike20132013
  • 5,357
  • 3
  • 31
  • 41
1
vote
1 answer

Exception when invoking MMS's Attach Image activity

I try to invoke MMS's Attach Image Activity, this is my code: Intent intent2 = new Intent("com.android.mms.action.ATTACH_IMAGE"); intent2.setType("image/*"); intent2.putExtra(Intent.EXTRA_STREAM, mUri); try…
n179911
  • 19,547
  • 46
  • 120
  • 162
0
votes
0 answers

Which data from Telephony.Mms.Part indicates a reaction?

Querying the MMS parts database on Android will give MMS message bodies like '❤️ to "hello"' for reactions. How can one know if these are true reactions or if someone typed that out? Looked at various columns in the MMS parts table. One clue is that…
0
votes
0 answers

How to get all MMS images?

Try to get all the MMS details like MMS image, address, date , phone number and type Using this URI : content://mms-sms/conversations ContentResolver contentResolver = getContentResolver(); final String[] projection = new String[]{"*"}; Uri uri =…
0
votes
0 answers

It appears that with API32+, the contentResolver no longer works for MMS Attachments

It appears that with API32, the contentResolver no longer works for MMS Attachments val partURI = Uri.parse("content://mms/part/$partId") val inputStream = context.contentResolver.openInputStream(partURI) inputStream?.let { inputStream2 -> val…
mkupka
  • 1
0
votes
1 answer

SmsManager.SendMultimediaMessage no longer works with ContentProvider

In Xamarin.Android, I have setup a custom ContentProvider that serves the PDU file to the system when sending an MMS: [ContentProvider(new[] { Authority }, GrantUriPermissions = true)] internal class MmsUploadContentProvider : ContentProvider { …
AxiomaticNexus
  • 6,190
  • 3
  • 41
  • 61
0
votes
1 answer

Can't retrieve MMS data

Context I am trying to retrieve MMS data from Android, I can count the MMS from content://mms/ but when I want to get the MMS data then it's empty. Problem First I count the MMS like this: Uri uri = Telephony.Mms.CONTENT_URI; //…
0
votes
3 answers

How to install custom build AOSP apps in Android phone

I have build MMS app from AOSP (Build no: LMY48M) using the following command make -j8 Mms The command produces a Mms.apk file, that I would like to install in my Nexus 5 phone. The phone is rooted and has Android Build number LMY48M installed.…
tausiq
  • 937
  • 1
  • 13
  • 23
0
votes
0 answers

How can I successfully pass on information to the messaging app that runs on my "Nexus One" emulator device with api 23?

My app contains an activity, named sendMms, where information concerning recipient number, subject, message and image attachment are specified. The image is always a jpg-file and the code that runs, when the send button, in the activity sendMms, is…
0
votes
1 answer

requestRouteToHost(int networkType, int hostAddress) is not working in 6.0

requestRouteToHost(int networkType, int hostAddress) This method was deprecated in API level 21. Deprecated in favor of the requestNetwork(NetworkRequest, NetworkCallback) bindProcessToNetwork(Network) and getSocketFactory() API. In M, and above,…
0
votes
2 answers

Sent MMS with multiple images android

Successfully Sent MMS with multiple images : Followed these steps to Sent MMS and also to add image in andorid database. Problem: is i have 3 image in 1 mms and dont know how save them all against single MMS in android database. I have tried this…
Sohail Zahid
  • 8,099
  • 2
  • 25
  • 41
0
votes
1 answer

Failed to attach.File not supported

Hello I am trying to send photo with this code which seems to be run on whatsApp properly but whenever I use it with android native messaging app it says "Attaching image failed;file not supported" After capturing image from camera I am able to save…
0
votes
1 answer

how can i send the Text and the picture(url) through mms in android

Here is the code which i have tried.I just wanted to send the text and picture of the video through MMS.But i can only send the text ,but the picture is not getting attached.can any one help me.I am new to this. ivbMessage.setOnClickListener(new…
0
votes
2 answers

Sending a vCard via android application

I would like to send a vCard via MMS (since SMS does not support file attachments..). I have read many answers about launching the messaging app with an intent (Sending an MMS with a vCard for example) but I could not find a way to send the MMS…
Ohad
  • 1,450
  • 4
  • 18
  • 27