mms

SmsManager MMS APIs on HTC/LG

不羁岁月 提交于 2019-12-05 10:00:44
问题 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 lollipop. Looking at the logs on the HTC device, this looks like a worrying error log: MmsServiceBroker "Failed to bind to MmsService" Has anyone managed to get the new MMS APIs working across devices? If not, any workaround? EDIT: added LG G3 to the

How to send MMS without intent programmatically

我的梦境 提交于 2019-12-05 02:22:48
问题 Uri uri = Uri.parse("file://"+Environment.getExternalStorageDirectory()+"/test.png"); Intent i = new Intent(Intent.ACTION_SEND); i.putExtra("address","1234567890"); i.putExtra("sms_body","This is the text mms"); i.putExtra(Intent.EXTRA_STREAM,"file:/"+uri); i.setType("image/png"); startActivity(i); I want to send MMS but I don't want to use intent object like above because I am developing my own application of sms manager. So how can I send MMS? I am referring to this link code but I don't

Attaching images to MMS

落爺英雄遲暮 提交于 2019-12-04 21:49:28
I am trying to attach an image that is picked from the image gallery to a MMS. I am using the following code public void onActivityResult(int requestCode, int resultCode, Intent data) { if (resultCode == RESULT_OK) { if (requestCode == SELECT_PICTURE) { Uri selectedImageUri = data.getData(); selectedImagePath = getPath(selectedImageUri); Uri uri = Uri.parse(selectedImagePath); Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra("sms_body", "some text"); sendIntent.putExtra(Intent.EXTRA_STREAM, uri); sendIntent.setType("image/png"); startActivity(Intent.createChooser

Android MMS Monitoring

一个人想着一个人 提交于 2019-12-04 21:26:25
I have spent the last several hours trying to research this and understand it, however i've come up empty on every example I tried. Basically my app can send information via MMS to someone else, though the content is in a format that the native inbox doesn't display correctly. Sending the content works fine, however I need to be able to detect the incoming MMS message and open the content in my application to format it correctly. Are there any decent tutorials for this? Of the ones i've found it seems like there's a good amount of information that is missing so I usually end up with errors, or

MMS CONTENT PROVIDER ISSUE (Samsung Galaxy S3)

不羁岁月 提交于 2019-12-04 20:12:57
We run into the following crash when we attempt to query "content://mms-sms/conversations/" on a Samsung Galaxy S3 (Android 4.0.4) running on the Sprint network. Our calling code: Uri uri = Uri.parse("content://mms-sms/conversations/"); Log.e("IL", "CONTENT MIME " + context.getApplicationContext().getContentResolver().getType(uri)); // The next call crashes... Cursor cursor = context.getApplicationContext().getContentResolver().query(uri, null, null, null, null); The interesting fact is that the log above returns CONTENT MIME vnd.android-dir/mms-sms as expected. Stack trace below: Caused by:

sending an image with mms on iphone programmatically?

白昼怎懂夜的黑 提交于 2019-12-04 17:27:01
Searched the whole web for this with no solution... I want to take a picture with the iphone camera and then be able to send it out via MMS/E-Mail. This doesn't have to happen in my app, but at least I'd like to be able to call the MMS/E-Mail app and make it select the taken (and stored) picture. When I use the built-in Photo-Album app, every picture has a button on the lower left corner which let's me share/print the actual photo... So I kinda hope I'll be able to build something like that into my app...? Any ideas? [EDIT] Thanks for the answers so far. Meanwhile, I found out that I could at

Reading SMS and MMS Database in Android [duplicate]

怎甘沉沦 提交于 2019-12-04 15:23:19
问题 This question already has answers here : How to Read MMS Data in Android? (5 answers) Closed 6 years ago . Google is providing a very nice documentation of the contacts provider in Android API. (You can see it HERE. It has a full details of all tables and columns names used in these databases. I tried to look for the same for sms and mms databases (which are located in mmssms.db) but I could not see any documentation for that. So my questions are: First, is it true that there is no such

Get attachment from unread MMS messages

依然范特西╮ 提交于 2019-12-04 14:29:11
问题 I would like to get attachment from unread MMS messages, but the codes I have doesn't allow me to do so. How do I go about doing that? Codes modified from here: private void checkMMSMessages(){ // Create string arrays to store the queries later on String[] columns = null; String[] values = null; // Calls the ContentResolver to query for columns with URI "content:mms" Cursor curPdu = getContentResolver().query(Uri.parse("content://mms"), null, null, null, null); if(curPdu.moveToNext()){ /

How can I process incoming MMS messages

ぐ巨炮叔叔 提交于 2019-12-04 13:52:15
问题 I want our app to examine incoming SMS and MMS messages, examine their contents, then if they are something we are interested in, log and display them. Then block them from going to the standard messaging app. We've had this working with SMS messages for a while, but I can't find any samples or documentation explaining how to retrieve data content from incoming MMS messages. All I've found are apps that retrieve MMS contents from the Messaging content provider. I suppose we wait till it gets

How can I send vcard/contacts/?vcf var SMS or MMS in Android?

女生的网名这么多〃 提交于 2019-12-04 12:50:00
I want to modify the Android source code that can send (contacts/vcard/.vcf file) by mms or SMS, the Android default way is through Bluetooth. I find a lot of ways, but it all doesn't work. I know the vcf format is like this: BEGIN:VCARD VERSION:2.1 N:;lybeen;;; FN:lybeen TEL;CELL; PREF:1-123-234-1234 TEL;CELL:000-111-1111 END:VCARD I send this string by SMS as plain message. Some Android phone can recoginse this as a contact, however most of the Android phone can not recoginse, but I don't know how to send the contacts by mms. Sahil Mahajan Mj though i think i am late in answering the