sms

Testing Email to SMS

独自空忆成欢 提交于 2020-01-06 07:05:33
问题 I recently found out that you can send an email to a mobile number (e.g: [number]@[provider].com) for free in a lot of countries which is cool! Unfortunately I live in Australia and my mobile provider doesn't allow free Email to SMS so I can't test it at present. Has anyone worked with this sort of thing before? In an email there is a subject and a message. Do both of these get translated into the SMS or is it just the subject or message? Thanks for your help! 回答1: It works for most carriers

Can I modify sms_body before sending SMS with built-in SMS Application?

让人想犯罪 __ 提交于 2020-01-06 06:53:28
问题 I know that we can send SMS via built-in SMS app in this way - Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.setData(Uri.parse("sms:")); sendIntent.putExtra("sms_body", ""); startActivity(sendIntent); But in my app, I want to modify some text of the sms body before sending it to the receiver. Is there any way? I know I can do it with sendTextMessage method of SmsManager . I just want to know, is it also possible with the built-in SMS app? Thank you. 回答1: This is not possible,

Is there any Ionic/Cordova plugin to read SMS without need permission of APP?

江枫思渺然 提交于 2020-01-06 05:51:29
问题 Recently, Google has changed policy for reading SMS by mobile APP. so, now they are not allowing to give the permission of READ_SMS. There is a way to read SMS in Native Android using SMS Retriever API here. but, I can't see any plugin to read SMS by APP which is developed in Ionic/Cordova. Please suggest. Thanks in advance! 回答1: You can try ionic-native-sms-retriever-plugin-master - it's hot off the presses and I haven't tried it, but this implements the SMS Retriever API in a Cordova plugin

stop sms messaging to iPhone programmatically

余生颓废 提交于 2020-01-06 05:23:13
问题 I want to confirm a feature, a client asks to me develop an app with a feature that it is able to stop sms messages to the phone for a certain period of time. I have done some research and found a link pasted below (and the screen shot of the page) in which the author of a renown iPhone App development book states it is not possible. What's your take on this? http://img.skitch.com/20100816-tr4ceamtbjjfxqj9udd4tdpdwp.jpg http://blogs.oreilly.com/digitalmedia/2008/02/when-it-comes-to-the.html

How to send sms message inside broadcast receiver class?

佐手、 提交于 2020-01-06 05:01:05
问题 I have a class that implements a broadcast receiver. I also inside of this class i want to be able to send a text message out automatically. Is this possible. Ive tried a lot of different things and nothing seems to work. Maybe im doing something wrong. But here is my source code that i have so far. public class smsReceiver extends BroadcastReceiver { private MainActivity main; @Override public void onReceive(Context context, Intent intent) { Intent i = new Intent(context, smsReceiver.class);

Is there a way to install app that has send_sms permission on tablet

偶尔善良 提交于 2020-01-06 03:19:06
问题 So I'm having a problem with my app which has a functionality to send SMS. However it can work just fine without that functionality. I got info that people cant install it on tablets. So what can I do, to disable that functionality on tablets but keep it on phones. That's my Manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mycompany.myapp" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion

Disable SMS in Android

谁都会走 提交于 2020-01-06 02:28:07
问题 I'd like to include a feature in my application that would include a running background service that would disable SMS, if certain conditions were met (location for instance). Is there a way I can intercept the user wanting to open any SMS app and block it? Would a Broadcast Receiver be able to do the trick? Maybe a different way to go about this? Thanks for all the help. 回答1: I haven't found a way to do this. I think like the user before states it can't be done. 来源: https://stackoverflow.com

How to send a SMS message from within an Windows Phone 8.1 app

a 夏天 提交于 2020-01-05 12:24:10
问题 I would like to create a Windows Phone 8.1 app that sends the location of the device to a contact in the contact list of the phone via a SMS message. How do I send a SMS message? 回答1: In Windows Phone 8.1, You can send sms using ChatMessageManager : Windows.ApplicationModel.Chat.ChatMessage msg = new Windows.ApplicationModel.Chat.ChatMessage(); msg.Body = "This is body of demo message."; msg.Recipients.Add("10086"); msg.Recipients.Add("10010"); await Windows.ApplicationModel.Chat

Monitor message sent status launched by Intent= new Intent(Intent.ACTION_SEND)

谁说胖子不能爱 提交于 2020-01-05 10:32:51
问题 I am looking for a way to monitor the sent status of a MMS message started by Intent.ACTION_SEND so that I can return to my original activity upon the message being sent. Currently Im using startActivityForResult() with a request code to start it so theres something to return and display a toast with and I'm also using Intent.putExtra("exit_on_sent", true) so that it exits the default messenger and returns to the original activity when the Send button is pressed but that only gives the

How to send SMS with GSM Click Modem?

别说谁变了你拦得住时间么 提交于 2020-01-05 09:38:02
问题 I can finally make a phone call, receive, and answer it. But if I try to send an SMS I receive CMS ERROR: 500 . The GSM modem I am using is Telit GL865-Quad module. Since the Call function is working, what's preventing the SMS to work? please enlightenment me. The Sim Card works fine on my phone to rule out some of the problems. I am using a hyperterminal to type the commands at 19200 speed. This is the user guide with commands for your own convenience. To send an SMS: AT+CMGF=1 // Select