sms

OpenSource .net SMS library, I can't seem to find one at all for C# [closed]

非 Y 不嫁゛ 提交于 2019-12-12 07:15:23
问题 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 . I've been using GSM modems in my projects to send/recieve SMS-s. I have been using built-in serial port communication features of .net to do this by using standard AT commands. Now I have to extend its functionality (like SMSs in PDU mode, more efficient delivery report handling etc). I don't wanna reinvent the

Send SMS with accents [duplicate]

笑着哭i 提交于 2019-12-12 06:17:59
问题 This question already has answers here : Android: Unicode/Charset problems when sending an SMS (sendTextMessage) (5 answers) Closed 6 years ago . I send SMS with this code SmsManager smsManager = SmsManager.getDefault(); smsManager.sendTextMessage("Numerber", null, "Text to send", null, null); It works pretty well in English, but if I use Spanish it fails. After many tries I found out that the message sent got cropped if the "Text to send" contains accents like "á, é, í, ó, ú" Of course those

How to send SMS through 'Dongle' using C++

Deadly 提交于 2019-12-12 05:15:16
问题 I have a USB dongle connected to my laptop which is used to get the internet connection. No need to say it has a sim card and it is possible to send/receive SMS as well. I want to know how can I get the SMS and send SMS using my own C++ windows program, through this SIM card. Is there a way to access the SIM card and do these? Any libraries? I haven't done any USB programming anyway. Please help! Edit I just found it is possible with something called "AT Commands" - How to Auto send SMS via

Android - Reading in specific values from a text message

大兔子大兔子 提交于 2019-12-12 04:45:57
问题 I am developing an Android app which needs to read text messages - I have the code to read in the whole text message, however is it possible to assign part of the message to different variables? For example, the text message will contain a GPS Latitude and Longitude, how can I assign the aforementioned values separately, to separate variables? Thank You. 回答1: You must parse this String. Here is some example. 来源: https://stackoverflow.com/questions/9120391/android-reading-in-specific-values

broadcast receiver stops when I click back button

北战南征 提交于 2019-12-12 04:45:44
问题 I am working on an Android sms application.The following code I used to send sms. public void sendSms(final String phoneNumber, final String message){ 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); //--- When the SMS has been sent -- sendBroadcastReceiver=new BroadcastReceiver() { @Override public void

How are sms stored in any phones?

↘锁芯ラ 提交于 2019-12-12 03:54:33
问题 I just wanted to know how all the sms in the phone stored internally?? and how do i access this internal files? 回答1: It depends on various flavors of phone OSs like Symbian, android, iOS For example: Android saves its SMS's in /data/data/com.android.providers/telephony/databases/mmssms.db iPhone also used SQLite database internally. /var/root/Library/SMS/sms.db It's a lightweight embedded SQLite database. 回答2: Have a look at the Wammu project. It can access phonebooks, SMS, calendars, etc. on

J2ME SMS Server on mobile phone

有些话、适合烂在心里 提交于 2019-12-12 03:38:48
问题 Is it possible to have a j2me app on a mobile to act as a "SMS gateway" that will handle incommming messages, do a query on a database via GPRS and reply the user back? 回答1: This is entirely possible on any J2ME handset that supports JSR 120 (i.e.: most of them). However as Wonil said, you can't just process ANY incoming SMS message. It has to be an SMS sent to a port number on which your app is listening (using a server connection as Wonil explained). It wouldn't be automatic unless the app

iOS failing to render vcf file

微笑、不失礼 提交于 2019-12-12 03:33:08
问题 I use twilio to share contact information of my users. I've been doing this for 6 months with no problems. Recently, I started receiving bug reports that the contact card isn't coming through. iOS is receiving it as an unknown attachment with a file name such as 'text_0.x-vcard' [see screenshot] I'm unable to reproduce this on my device - I've received reports of this from users with an iPhone 7, iPhone 6, and iPhone 5 - nothing consistent. No consistency in OS either. The vcf file is valid,

How to mark all text messages as read on Android?

时光怂恿深爱的人放手 提交于 2019-12-12 03:22:58
问题 I'm trying to mark all text messages as read when user opens my inbox. I've pieced together code from a few tutorials online and ended up with this: Uri uri = Uri.parse("content://sms/inbox"); Cursor cursor = getContentResolver().query(uri, null, null, null, null); while (cursor.moveToNext()) { if ((cursor.getInt(cursor.getColumnIndex("read")) == 0)) { String SmsMessageId = cursor.getString(cursor.getColumnIndex("_id")); ContentValues values = new ContentValues(); values.put("read", true);

Bundle value is always null in Broadcast receiver?

99封情书 提交于 2019-12-12 03:19:34
问题 I am using a BroadcastReceiver for hiding sms in my project I have two button one for register and one is for unregister the broadcast receiver. Here is the problem - when I press the button to register its turns the broadcast on but when a sms is receiver the functionality of code does not working it will not hide the SMS. In the receiver code I am checking whether the bundle value is not equal to null then only the code will executed the hiding part now my problem is that how to change the