sms

Firefox OS Certified apps

生来就可爱ヽ(ⅴ<●) 提交于 2020-02-25 05:56:06
问题 I have downloaded and installed FIrefox OS Simulator for testing and developing. I want to test some functionalities that are allowed only on certified applications, such as SMS and phone calling, as described here. What should I include in my manifest (.webapp file) in order to access this functionality in the simulator? Thanks, Tamas Ionut 回答1: This is very manual, but I think it'll is cool to understand how stuff work under the hood (and it's the only way I know it'll always work): Be sure

SMS and PHP… and Google Voice?

北战南征 提交于 2020-02-24 06:31:33
问题 I've been searching for a few hours on the best way to add sms notifications and reception to my PHP website. It seems that it's easy to send texts (to an email forward to a phone), but hard to receive them without an SMS gateway. Clickatell was recommended a lot. But: I stumbled across a few article recommending Google Voice as a channel to send and receive SMS. (Here's one post: http://sudocode.net/article/190/receiving-incoming-smstext-messages-from-google-voice-in-php/) Is there any

How to programmatically read incoming text messages on iOS

流过昼夜 提交于 2020-02-20 07:40:26
问题 There have been tons of questions on how to programmatically access the SMS messages stored in the iPhone. Doing a small research you will quickly and sadly find out that Apple won't let us developers touch the SMS API or SMS database due to obvious security reasons. Let's set this fact apart for a moment. I own a BMW car that comes equipped with a fantastic "infotainment" system called iDrive. Just recently I realized that I could actually read incoming text messages through the iDrive

How to change sender mobile number in Android SMS service

大兔子大兔子 提交于 2020-02-14 02:27:34
问题 I'm sending SMS in my Android App, SmsManager sm = SmsManager.getDefault(); String number = "1234567890"; sm.sendTextMessage(number, null, "Test SMS Message--Successful", null, null); It is working fine. My Question is, Is it possible to add string/text instead of Sender Mobile Number? so that in the recipient mobile, the sender's mobile number will be appeared as that string/text. 回答1: No. It is not possible. Here are multiple reasons why: When you send an sms, using SmsManager you encode it

How to change sender mobile number in Android SMS service

别说谁变了你拦得住时间么 提交于 2020-02-14 02:26:31
问题 I'm sending SMS in my Android App, SmsManager sm = SmsManager.getDefault(); String number = "1234567890"; sm.sendTextMessage(number, null, "Test SMS Message--Successful", null, null); It is working fine. My Question is, Is it possible to add string/text instead of Sender Mobile Number? so that in the recipient mobile, the sender's mobile number will be appeared as that string/text. 回答1: No. It is not possible. Here are multiple reasons why: When you send an sms, using SmsManager you encode it

SMS Broadcast Receiver in Oreo+

巧了我就是萌 提交于 2020-02-07 03:59:32
问题 I am trying to intercept SMS messages delivered to my device. I wrote an app to do that a year or so ago, and I find it is no longer catching messages (even though code is unchanged). I don't believe it is permission-related. I tried compiling under SDK 23 (requiring runtime permissions) and SDK 22 (no runtime permissions). (In the case of 23, I verified that permission RECEIVE_SMS is successfully granted). Most questions/answers about this issue are quite old. IMHO The answers didn't seem

SMS Broadcast Receiver in Oreo+

陌路散爱 提交于 2020-02-07 03:59:05
问题 I am trying to intercept SMS messages delivered to my device. I wrote an app to do that a year or so ago, and I find it is no longer catching messages (even though code is unchanged). I don't believe it is permission-related. I tried compiling under SDK 23 (requiring runtime permissions) and SDK 22 (no runtime permissions). (In the case of 23, I verified that permission RECEIVE_SMS is successfully granted). Most questions/answers about this issue are quite old. IMHO The answers didn't seem

Sending SMS to multiple recepients (Samsung vs HTC)

梦想的初衷 提交于 2020-02-02 15:28:40
问题 I am using the following code in Samsung that works fine for me, Intent smsIntent = new Intent(Intent.ACTION_SENDTO,Uri.parse("smsto:123,456")); smsIntent.putExtra("sms_body", messageBody); startActivity(smsIntent); and the following that works fine in HTC Intent smsIntent = new Intent(Intent.ACTION_SENDTO,Uri.parse("smsto:123;456")); smsIntent.putExtra("sms_body", messageBody); startActivity(smsIntent); Difference is the use of "," and ";" as a delimiter in samsung and htc respectively. Is

CDMA PDU parsing on Android

巧了我就是萌 提交于 2020-02-01 07:59:12
问题 I have written a program to decode a CDMA 3GPP2 point-to-point SMS message. I tested it on a couple CDMA PDU hex strings I found on the internet, and it works perfectly. However, when I try to implement it on all incoming text messages on the Android platform, it always fails. I took a look at the incoming PDU, and it doesn't seem to follow the same pattern I have been used to seeing. Can anyone explain what format this PDU is in, or what I am missing to correctly decode this PDU? Is there

SmS count not increasing. message id is constant

主宰稳场 提交于 2020-01-25 20:03:54
问题 here I am inserting a record to DB each time I receive or send a SMS. its working fine.But some time all sms will get same id . In which situation do I get same sms id for different sms. public SmsMms(Handler handler) { super(handler); Log.d(TAG, "SMS Constructor"); } public void onChange(boolean selfChange) { super.onChange(selfChange); Log.d("sms", "SMS ONCHANGE"); if(rc == null ) rc = new RecordCount(getApplicationContext()); Uri uriSMSURI = Uri.parse(SMS); Cursor cur = getContentResolver(