sms

Sending the same SMS twice

一世执手 提交于 2019-12-24 03:22:36
问题 I'm trying to make an sms android app, but i'm getting an error that i've never seen before, even in google i haven't found anything like that. So, if you could help me... i'll be glad For some reason, the program is sending two messages (the same sms) at the same time. But it just happens in production. When i'm using the simulator, everything works fine! it Sends the sms just once ... I've tried many phones and many phone operators but the error always happens. I really dont know how to

Show outbound texts using SMSManager in the default android text application

与世无争的帅哥 提交于 2019-12-24 01:55:21
问题 I'm currently writing an application that uses the users voice to send out text messages, I am using the SMSManager to send texts and it works. The issue I am having is when I go to the text messaging application to view my text history I don't see my sent texts. Is there a way for my sent texts from the SMSManager to appear in my text history? Thanks! 回答1: After sending use this code Context context; //you should initialize it somewhere ... ContentValues values = new ContentValues(); values

How can I get the reply of SMS that sent to a mobile device?

╄→гoц情女王★ 提交于 2019-12-24 00:20:38
问题 I am trying with this sample code to send message using SNS API - BasicAWSCredentials cr = new BasicAWSCredentials("MYACCESSKEYS","mySecretKeys"); AmazonSimpleNotificationService sns = new AmazonSimpleNotificationServiceClient(cr); string topicArn = sns.CreateTopic(new CreateTopicRequest { Name = "ses-bounces-topic", }).CreateTopicResult.TopicArn; sns.SetTopicAttributes(new SetTopicAttributesRequest { TopicArn = topicArn, AttributeName = "MyName", AttributeValue = "Sample Notifications" });

Sending and Receiving SMS [closed]

可紊 提交于 2019-12-23 23:15:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am planning to build an application where I'll be sending SMS to people and people will reply to those SMS via SMS which I need to process. Is there any API for doing something like this? I will be building the API for India only. Thanks. 回答1: Yes, try Clickatell, they also support India. 回答2: You can try

Sending SMS from Twilio doesnt show friendly name on phone

烈酒焚心 提交于 2019-12-23 20:53:17
问题 When I send a test sms from https://www.twilio.com/user/account/developer-tools/api-explorer/message-create with a predefined friendly name, it doesnt apear on my phone. I only see the number. -if this isnt possible, do you know other providers with this function that work? 回答1: [UPDATE] : Twilio now supports this feature. You can now send messages from an alphanumeric sender ID using Twilio. I wrote up a blog post on how you can achieve this in Ruby and you can check out this article on how

Android SMS Delivery Status

老子叫甜甜 提交于 2019-12-23 18:10:27
问题 I need to implement a function in my android app to send Sms messages. I found many tutorials regarding this but can NOT get the delivered status (Fail or OK). Following is my sms method. private void sendSmsMessageWithStatus(String phoneNumber, String Msg) { String SENT = "SMS_SENT"; String DELIVERED = "SMS_DELIVERED"; PendingIntent sentPI = PendingIntent.getBroadcast(this, 0, new Intent(SENT), 0); PendingIntent deliveredPI = PendingIntent.getBroadcast(this, 0, new Intent(DELIVERED), 0);

Observe sms sending app in emulator

六眼飞鱼酱① 提交于 2019-12-23 17:18:39
问题 Is there a way to read outgoing sms from the emulator? In the logcat I see this message: D/SmsStorageMonitor( 738): SMS send size=0 time=1327423357467 Is there a way to get the receiver and the content? The outgoing sms seems not to be saved in the emulator. That means that the messenger app shows me no sms. 回答1: Yes just create one service in your app and observe all outgoing sms just refer below code. public class SMSObserver extends BroadcastReceiver { static final String ACTION ="android

Receive text message using J2ME

感情迁移 提交于 2019-12-23 12:43:03
问题 I am trying to make a J2ME application to SEND and RECEIVE text messages. I'm done with the sending part of it but I am not able to receive any message.. Below is what I tried in order to receive text message; try { MessageConnection conn = (MessageConnection) Connector.open("sms://:50001"); conn.setMessageListener(new MessageListener() { public void notifyIncomingMessage(MessageConnection conn) { try { Message msg; msg = conn.receive(); if (msg instanceof TextMessage) { TextMessage tmsg =

Keeping track of sms sent in Android

烈酒焚心 提交于 2019-12-23 12:33:36
问题 I'm noticing the tracking pending intents that I send out via the standard SmsManager in Android doesn't seem to retain the extra information in them. Example: Intent sentIntent = new Intent(SENT); sentIntent.putExtra("value1", "foo"); // <- note this value PendingIntent sentPI = PendingIntent.getBroadcast(this, 0, sentIntent, 0); SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(numberToSendTo, null, mMessageToSend, sentPI, null); //... in the broadcastReceiver that catches the

Send and Receive SMS from PHP Application [closed]

爱⌒轻易说出口 提交于 2019-12-23 12:16:25
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I want to make a Facebook like SMS sending and receiving service. Are there any PHP API to do that? I want to use a specific number like Facebook. Note Sending SMS through E-mail is possible but how can I receive SMSs through my PHP application? I am searching for a free PHP API without any external hardware to do