sms

Twilio or Plivo SMS using Delphi

岁酱吖の 提交于 2019-12-14 02:40:04
问题 I am trying to figure out how to use Delphi 10 Seattle and Indy to send a POST request to either Plivo or Twilio for sending SMS messages. When I use this code for Twilio efforts, I get an Unauthorized message in return (note that I have redacted my user name and Auth code): procedure TSendTextForm.TwilioSendSms(FromNumber, ToNumber, Sms: string; Var Response: TStrings); var apiurl, apiversion, accountsid, authtoken, url: string; aParams, aResponse: TStringStream; mHTTP : TidHttp; begin mHTTP

Android: Delete SMS at particular threadId location

江枫思渺然 提交于 2019-12-14 02:32:54
问题 I am trying to understand the difference between phones, and the software on them. I code and test on the Droid Incredible. A content observer of content://sms works fine and I am able to delete threadIds on the Incredible, but my app crashes on the Moto Droid Milestone. I test for the Milestone using Moto Dev Studio using the Milestone emulator package. It works fine in the emulator, but not on the actual device. Why would content://sms work fine on the Incredible, but not on the Milestone?

Custom Android MMS/SMS application from source code?

只愿长相守 提交于 2019-12-14 01:19:03
问题 Okay here's the deal: I want to download the full source of the MMS/SMS application that ships with Android phones. I want to be able to modify it, and add a little custom functionality to it. I am developing using Eclipse, and I'm on Windows 7. I have noticed that there is now a Git for Windows, but I am pretty lost in it and not sure how to integrate everything with Eclipse. Basically, I want to just get it to the point where I have all the source code visible in Eclipse and be able to see

Trouble with sendMultipartText in android

筅森魡賤 提交于 2019-12-13 20:26:05
问题 I recently ran into a little trouble with sending SMSes as sendTextMessage can only send SMSes of 160 characters or lower. I, however, wish to send a long text wishing to prompt another user to input information. Here's my code: //sends a SMS message to another device private void sendSMS(String phoneNo, String text) { String SENT = "SMS_SENT"; String DELIVERED = "SMS_DELIVERED"; PendingIntent sentPI = PendingIntent.getBroadcast(this, 0, new Intent(SENT), 0); PendingIntent deliveredPI =

Starting the broadcast receiver when ever new sms arrives

你说的曾经没有我的故事 提交于 2019-12-13 19:20:00
问题 I have created a remote service which , is calling a broadcast receiver which in turn call the alarm manager for triggering the alarm , but i want to trigger the receiver through the rempte service when ever a new message arrives The piece of code is as follows: @Override public IBinder onBind(Intent arg0) { Log.d(getClass().getSimpleName(), "onBind()"); return myRemoteServiceStub; } private IMyRemoteService.Stub myRemoteServiceStub = new IMyRemoteService.Stub() { public int getCounter()

Error-proof way of starting SMS intent in Android

梦想的初衷 提交于 2019-12-13 13:44:33
问题 In my Android application, I use the following code to start the messaging app and fill in a default text for a text message: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("sms:"+USERS_PHONE_NUMBER)); intent.putExtra("sms_body", "DUMMY TEXT"); startActivity(intent); This works in most cases. But unfortunately, on some devices I get the following error message: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action

Sending bulk sms using sms manager in android

你离开我真会死。 提交于 2019-12-13 13:01:10
问题 I am sending sms nearly to 90-100 number's using SmsManager , I am reading number's from file and passing the number to sendtextmessage function as below String[] nos;// this array contains mobile nos SmsManager sm = Smsmanager.getDefault(); for(int i=0;i<nos.length;i++){ sm.sendtextmessage(nos[i],null,"hello",null,null); } problem is: Code is executing but messages are not sending, even I am having balance I changed code to use stock sms app to send even this also failed to send. if I send

Send SMS without presenting MessageComposeViewController in iOS

♀尐吖头ヾ 提交于 2019-12-13 12:19:17
问题 I am working on sending SMS demo. I want to send how to send the SMS and how to set the delegate to MessageComposeViewController. and in order to send the message we have below line [self presentViewController:messageController animated:NO completion:nil]; This line will present the MessageComposeView on screen with SEND button. And Once we click on send button it sends the message. What I want is to send the message directly without presenting this MessageController on screen. Please help

Is it possible to resend SMS_RECEIVED broadcast?

╄→尐↘猪︶ㄣ 提交于 2019-12-13 08:45:42
问题 I want to resend received SMS_RECEIVED broadcast. I've find example here: http://blog.dev001.net/post/14085892020/android-generate-incoming-sms-from-within-your-app and make it by analogy: boolean received=false; private BroadcastReceiver broadcastReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { if(intent.getAction().equals("android.provider.Telephony.SMS_RECEIVED")) { if(!received) { received=true; Bundle pudsBundle = intent.getExtras();

How to access iPhone SMS db?

点点圈 提交于 2019-12-13 07:49:26
问题 I am beginner in iPhone technology so i don't have much idea how to access iPhone SMS db? 回答1: You can access iPhone database to access mobile library path and appending SMS.db file with that path you will get the access to iPhone SMS. 回答2: If you are working in JailBreak Phone,you can access the SMS by using this path :- /private/var/mobile/Library/SMS/sms.db 回答3: You can't access SMS db programmatically. There is no public API Provided by Apple . 回答4: The easiest way is to make a backup of