sms

SmS count not increasing. message id is constant

扶醉桌前 提交于 2020-01-25 20:02:09
问题 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(

C# SMS Sender Thru Modem

杀马特。学长 韩版系。学妹 提交于 2020-01-25 11:38:12
问题 I'm currently developing an SMS sender using C# (2010). The program does send the message but the message received was not the message sent, (i.e " yt+ 35") and while running the program several times, the received message do not contain anything at all, even the senders number. I am using a GSM modem and COM port for sending. Any idea what I am missing here? Code found in the Class: if (this.serialPort.IsOpen == true) { try { this.serialPort.WriteLine("AT" + (char)(13)); Thread.Sleep(4);

how to send the text message to multiple numbers in blackberry java applications? [duplicate]

邮差的信 提交于 2020-01-25 07:42:21
问题 This question already has answers here : Send multiple SMS on BlackBerry (2 answers) Closed 6 years ago . Send the Text message(SMS) to multiple numbers in blackberry java applications. i tried the program to send the text message with single mobile numbers. how to i do in multiple mobile numbers? This code is i'm using to send the message to multiple mobile number. Its shows the log as NullPointer Exception. package mypackage; import java.io.IOException; import javax.microedition.io

SMS PDU Encoding for characters like “é, è, à, @”

一世执手 提交于 2020-01-25 06:51:26
问题 I am working on SMS PDU encoding in C. I am able to convert 7-bit ASCII characters into 8 bit PDU. But when I try to use characters like "é, à, è, @" it doesn't show it's correct value. How can I encode these characters? I am using GSM 7 bit encoding. I am attaching the code. what changes should I do to convert these characters? #include <stdio.h> #include <string.h> #include <time.h> enum { SMS_MAX_PDU_LENGTH = 256 }; enum { BITMASK_7BITS = 0x7F, BITMASK_8BITS = 0xFF, BITMASK_HIGH_4BITS =

Creating a custom SMS/MMS app in Android - using Eclipse and GitHub - why so many unresolveds?

笑着哭i 提交于 2020-01-25 00:28:35
问题 Okay, here's where I'm at. I used Eclipse to import the code for the SMS/MMS app that is on Android devices. The code on GitHub is at https://github.com/android/platform_packages_apps_mms.git. I used the Import -> Git in Eclipse. Got the code into the environment. Had to manually paste the AndroidManifest.xml file into the project, and also copy over source and resource directories. Basically, I want to get the Eclipse project to a point where I can run it on my device and it behaves JUST

Send SMS using AWS SNS - .Net Core

时光总嘲笑我的痴心妄想 提交于 2020-01-24 14:34:07
问题 I'm trying to use AWS world wide messaging service using C#/.Net Core. However I do not receive the message in my phone number. Below is the code: public static async Task<PublishResponse> sendSMS() { string accessKey = "my Key"; string secretAccessKey = "my secret key"; var client = new AmazonSimpleNotificationServiceClient(accessKey, secretAccessKey, RegionEndpoint.USEast1); string phoneNumber = "my number"; PublishRequest req = new PublishRequest(); req.Message = "Hellloooo from core"; req

How to send SMS from Mac terminal via GSM modem?

一世执手 提交于 2020-01-24 11:44:07
问题 I have Mio A701 communicator that I would like to use as GSM modem for sending SMS from my Mac. What I've found so far is that one just can send an AT commands directly from terminal to special ports like /dev/ttyUSB0 if modem is connected via USB port or /dev/rfcomm0 if connection is handled via bluetooth. My problem is that when I try to issue a command I get a "permission denied" response: "AT+CMGS=test\r" > /dev/ttyUSB0 -bash: /dev/ttyUSB0: Permission denied Also "ls /dev" shows that

Catch sent SMS (Android 2.2)

戏子无情 提交于 2020-01-23 18:25:28
问题 I know that there are a few Questions here on SO relating to this, but none of them helped me to get this working - capture SMS that being sent. I am using Android 2.2 (FROYO) on a Samsung phone (if that matters somehow). I've searched a lot for this on Stackoverflow and realized that I need ContentObserver for my request. I'm using Service instead of Activity, so I've registered that ContentObserver in my Service class, and it looks like this: public class SMSSending extends Service {

Sending sms and ussd in a C#.net application [closed]

醉酒当歌 提交于 2020-01-23 08:09:22
问题 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 6 years ago . What is a good library to use to utilize sms and ussd services in a C#.net application? 回答1: I am currently using this one http://www.smsco.it/tomcat/en/sms_tutorials/sms_from_c_sharp.jsp for SMS and it's working fine! 回答2: MessagingToolkit is supposed to be good. I've never used it myself though, so I can't

Automatically revert to previous default SMS app

一笑奈何 提交于 2020-01-22 15:30:05
问题 I have an app that requires temporary access to the device's SMS. In KitKat and above, this access is only granted to the default SMS app, so I'm using: Intent intent = new Intent(Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT); intent.putExtra(Telephony.Sms.Intents.EXTRA_PACKAGE_NAME, getPackageName()); startActivity(intent); This brings up a dialog asking the user if they let my app become the default SMS app. So far so good. Problem is, once my app completes its operation, I have to ask the