sms

send message with SIM2

和自甴很熟 提交于 2019-12-25 03:43:27
问题 I'm put two send buttons in my layout file (mysend.xml) : SEND with SIM1 (android:id="@+id/send1") SEND with SIM2 (android:id="@+id/send2") My code in my java file (MySend.java) public class MySend extends Activity { public static boolean sendSMS(Context ctx, int simID, String nomor, String centerNum, String pesan, PendingIntent sentIntent, PendingIntent deliveryIntent) { String name; try { if (simID == 0) { name = "isms1"; // for model : "Philips T939" name = "isms0" } else if (simID == 1) {

How to send SMS with more than 160 characters and enable the customer to receive as ONE SMS using GSMComm library

蹲街弑〆低调 提交于 2019-12-25 03:26:34
问题 I'm developing SMS system using C# and using GSMCOMM free API(http://www.scampers.org/steve/sms/libraries.htm) to send SMS. As the system can only send SMS less than 160 characters, I cut the LONG SMS into two messages and send them out. The problem is that the customer will receive two SMS, which is quite irritating. Is there any way to enable customer to receive them as one SMS? 回答1: If using HTTP, you have to set the MLC to 2. Message length control: determines system behavior when the

Android SMS _id

余生长醉 提交于 2019-12-25 02:21:25
问题 I googled several times but couldn't find what I was looking for. Android assigns an id to each sms message. I wanted to know if this id is always unique? Can I rely on it to identify sms messages or should I assign my own? Thanks :) 回答1: Since it uses the SQLite, that is a relational database, it's impossible to have a duplicate identifier. 回答2: Check out the source code for MmsSmsDatabaseHelper and note the implementation of the createSmsTables method: private void createSmsTables

Is it possible to send/recieve Message via GSM Modem in Java?

孤街浪徒 提交于 2019-12-25 02:07:37
问题 Using RXTX library im doing serial communication.I want to do it in swing based application Write an AT commands to read received SMS in GSM modem I need to send the messages to mobiles from java application Is there any Java API which send/receive SMS using RxTx libraries. 回答1: I don't have much knowledge about that .. just take a look... AT Commands.. and this one..also.. Sending SMS Messages from a Computer Using a Mobile Phone or GSM/GPRS Modem and SMS using AT commands with your GSM

Twilio SMS gateway - Blacklist / STOP back to database

我的梦境 提交于 2019-12-25 02:06:57
问题 I apologize in advance if I am posting this question in the incorrect place. Is it possible, when someone who received a message from my system via Twilio responds back with STOP, to get that information back to my database? I have looked over twilio docs and google and found next to nothing on this. Just a point in the correct direction for docs regarding this would be great. Thank you. 来源: https://stackoverflow.com/questions/28548844/twilio-sms-gateway-blacklist-stop-back-to-database

Apple Push Notification - Can read all incoming messages like Pebble App?

此生再无相见时 提交于 2019-12-25 01:06:54
问题 Pebble App can read all incoming messages. I want make app that read all messages in push notification center without jailbreak. Is it possible? 回答1: No , It is Not Possible. You can not read all Notifications. 回答2: Maybe it's a bit too late, but actually it's possible and Apple didn't help Pebble. The trick is "Message Access Protocol" supported by iPhone 4+ This is the technology used by in-car system, pebble and, recently, Notifyr. 来源: https://stackoverflow.com/questions/21038171/apple

How to send SMS using PHP CURL function

牧云@^-^@ 提交于 2019-12-25 00:48:32
问题 I have an account in a website by which I can send sms to mobile phones. In order to do that at first I need to log in using my id and password and then a page shows up where I put the recipient's mobile number and then my message and finally hit the button to send the message. Now one of my friends told me that I can send sms from my own application through this website using PHP Curl function. I didn't have any prior idea about CURL function so I googled it but I couldn't figure out how to

Gammu SMS in Arabic using PHP does not be delivered

本秂侑毒 提交于 2019-12-24 23:37:21
问题 I'm trying to have my own SMS gateway on my server using PHP. I have installed Gammu and I configured the permissions and settings well. Now it send SMS fine using the following prototype script: <?php $text = $_POST['text']; $numb = $_POST['numb']; if ($text != '' && $numb != ''){ //die('echo "'.$text.'" | gammu --sendsms TEXT '.$numb); echo "<pre>"; //die(passthru('whoami')); $command = 'echo "'.$text.'" | gammu --sendsms TEXT '.$numb.' >> '.__DIR__.'/smslog.txt';//.'" | gammu --sendsms

Unregister BroadcastReceiver which extends a class

喜欢而已 提交于 2019-12-24 19:23:41
问题 I have an class as below: public class FYPSmsReceiverBroadcast extends BroadcastReceiver I need to unregister the receiver as I am getting a force close error AFTER I have existed the application when I receive an SMS message. (indicating something is still listening for the sms but not able to access a particular activity because the app has been closed; the error only seems to happen after 1 text received, a second text seems to produce no force close error) There are a number of somewhat

What are requirements for sending and receiving sms using php?

心已入冬 提交于 2019-12-24 19:17:03
问题 I want to develop a website that sends and receives messages to a huge number of mobile phones in different country. The system is developed using PHP, My question is that: What requirements(i.e configuration in php) are needed from the carrier that messages are sending and receiving via it? How many numbers are needed for this purpose if the distinction numbers are too many? Is bulk id can be used for one number to send sms for a large numbers? 回答1: You need to get an account with SMS