sms

How to track the messages in Android?

夙愿已清 提交于 2019-12-20 10:49:35
问题 I want to develop an app which tracks the sent/received SMSs. I mean, when a user sends a message from its device, the message detail should be saved to a table provided by me. Similarly, when the device receives any SMS, then that also should be saved into a table provided by me. Note that the user uses the default message application of Android to send message. I mean I am not integrating my application with the default message application. I just need to keep track of all messages sent

When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first?

廉价感情. 提交于 2019-12-20 10:44:36
问题 While I can successfully encode and decode the user data part of an SMS message when a UDH is not present, I'm having trouble doing so when a UDH is present (in this case, for concatenated SMS). When I decode or encode the user data, do I need to prepend the UDH to the text before doing so? This article provides an encoding routine sample that compensates for the UDH with padding bits (which I still don't completely understand) but it doesn't give an example of data being passed to the

Japanese text not visible in mobile

一曲冷凌霜 提交于 2019-12-20 06:27:28
问题 I am sending text message having Japanese characters. Here is my message In japanese このOTPを使用してQuikドライブにログインします。 このOTPを誰とも共有しないでください In English use this OTP to login to Quik Drive. Please don't share this OTP to anyone Here what I am getting Here what I am getting on my mobile phone Here is my nodejs code class ClickatellService { constructor() { this.sendSms('+mobileNumber', 'このOTPを使用してQuikドライブにログインします。 このOTPを誰とも共有しないでください') } sendSms(to, message) { return new Promise((resolve, reject) => {

Reading sms received after a date

痴心易碎 提交于 2019-12-20 05:26:13
问题 I'm trying to read all the sms I received after a date. Here is the code: Uri SMS_CONTENT_URI = Uri.parse("content://sms"); Uri SMS_INBOX_CONTENT_URI = Uri.withAppendedPath(SMS_CONTENT_URI, "inbox"); Cursor cursor = context.getContentResolver().query( SMS_INBOX_CONTENT_URI, new String[] { "_id" }, "date>=61291393200000", null, null); //61291393200000 = 03/01/12 This returns me a empty cursor. When I was executing this code: Cursor cursor = context.getContentResolver().query( SMS_INBOX_CONTENT

Automatically send SMS on iOS 6 jailbreak

若如初见. 提交于 2019-12-20 04:14:21
问题 Having spent a couple of months on the internet and stackoverflow, I cannot find a way to send an SMS from an iPhone with iOS 6 (6.1 to be precise) when an event occurs or with a tweak. I've read that apple has changed the way SMS messages are being processed since iOS 5 and to be specific The main difficulty comes from the fact that Apple introduces an IPC mechanism in iOS 6 that resembles the "Share" functionality in Android. Unlike before where sending an SMS is a direct call in

Delete SMS with contentResolver is too slow

こ雲淡風輕ζ 提交于 2019-12-20 03:53:24
问题 I would like to delete all SMS on my phone except the 500 last SMS for each conversation. This is my code but it's very slow (take about 10 seconds to delete one SMS). How I can speed up this code : ContentResolver cr = getContentResolver(); Uri uriConv = Uri.parse("content://sms/conversations"); Uri uriSms = Uri.parse("content://sms/"); Cursor cConv = cr.query(uriConv, new String[]{"thread_id"}, null, null, null); while(cConv.moveToNext()) { Cursor cSms = cr.query(uriSms, null, "thread_id =

GsmCommMain - No Phone Connected Error in C# (Sending SMS using broadband stick)

戏子无情 提交于 2019-12-20 03:43:35
问题 I want to use a broadband stick and create a C# application in VB.net 2012 that can send SMS message to single / multiple mobile phones. I'm currently connected to a COM Port, but I could not send any message. Here is my whole code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using GsmComm.GsmCommunication; using GsmComm

how to make submissions sms with SIM2 or dual SIM

霸气de小男生 提交于 2019-12-20 03:37:09
问题 I created sms application android I've been able to sms application smoothly but send by SIM 1 if i send with 2 SIM application it will error and there were no reports sent how if i want to do sms sending with 2 SIM smoothly please help what should I add the source code of its my code public class MainActivity extends Activity { Button sendBtn; EditText txtphoneNo; EditText txtMessage; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Intercept SMS on Jailbroken iPhone

我是研究僧i 提交于 2019-12-20 03:26:12
问题 I know that it is possible to do it, and I would like to know what private API's are available. I understand it is not available for public API's and I am doing this as a hobby and am not going to submit. Thanks 回答1: CoreTelephony framework will do. 来源: https://stackoverflow.com/questions/5739171/intercept-sms-on-jailbroken-iphone

send SMS Intent in Android

旧街凉风 提交于 2019-12-20 02:47:37
问题 String x="Hello World"; String y="You Rock!!!"; Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.putExtra("sms_body", x); sendIntent.putExtra("sms_body", y); sendIntent.setType("vnd.android-dir/mms-sms"); startActivity(sendIntent); I'm trying to send a multiple message bodies via SMS, but only "You Rock!!!" is displayed. What i want to do is be able to display multiple messages and have it pre-formatted (on different lines). So for example... Hello World You Rock!!! 回答1: If you