sms

Spam protection algorithm for SMS

妖精的绣舞 提交于 2019-12-24 10:23:11
问题 I am developing an android messaging application. Is there a good spam filtering algorithm that works well for SMS? Please give some things to kick start. Rahim. 回答1: I don't think there is a set algorithm through which you can definitely know whether or not user considers an SMS to be spam, (an ad in SMS can be important to some users and spam to others) what you can do however is what Google does to identify spam mail. You could allow the user to mark an SMS as spam or not spam and then

Listening for SMS and automatically replying to it in Android

你。 提交于 2019-12-24 09:57:39
问题 How to reply to an incoming message automatically in android? Here's my onReceive() method from my IncomingSMS class which extends BroadcastRecevier, problem with it is that it sends many messages, I want it to send only one SMS reply. public class IncomingSMS extends BroadcastReceiver{ private String senderNumber; @Override public void onReceive(Context context, Intent intent) { Bundle bundle = intent.getExtras(); SmsMessage[] msgs = null; String message = ""; if(bundle != null){ Object[]

java for kannel delivery report

泪湿孤枕 提交于 2019-12-24 09:27:14
问题 I have successfully written a class for sending SMS over kannel in Java. But I have big problems to write a delivery report class. Any idea how to write it? 回答1: Kannel will send you back the delivery reports in the url you specify in the dlr-url parameter in the SMS submission, for example example.com/DLR?outgoing_id=123&status=%d . What language you write it in is irrelevant. All you need is an HTTP page that accepts specific parameters via HTTP GET. Kannel will add parameters for the

Send SMS through php, AT commands

*爱你&永不变心* 提交于 2019-12-24 08:23:04
问题 I'd like to send SMS through a GSM gateway using php. I want to send AT commands directly to the modem. Should I try and interface with minicom or something similar? Should I just use sms server tools? Is there an easier way to do this? Using Debian btw. Also, as a follow-up, what is a decent GSM modem that I can use with a standard SIM card, and that would work with the aforementioned programs. 回答1: It's not that easy to make an SMS manager in php - actually it's not that easy to make a

Get content of SMS and email in iPhone?

可紊 提交于 2019-12-24 07:18:12
问题 I'm trying to implement an app that can read received SMS and email out. I mean convert the text content to voice. So I need to access to SMS and email first. As far as I know, there is no such API provided in the default SDK. Is there any other way to realize it? Are the SMS messages stored in database(sms.db)? How to access to them? Is it only possible on jailbroken iphones? And what about emails? Are they only stored in mail servers? How can I get them in my app? Sorry for asking so many

Sms Permissions not working. No matter where I put the permission tag

非 Y 不嫁゛ 提交于 2019-12-24 05:05:10
问题 I'm just trying to send a simple text to my self.. of course the exception is java.lang.SecurityException: Sending SMS message: uid 10263 does not have android.permission.SEND_SMS This is what my Manifest file looks like <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.homesafe" android:versionCode="1" android:versionName="1.0" android:permission="android.permission.SEND_SMS"> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />

Sms Permissions not working. No matter where I put the permission tag

[亡魂溺海] 提交于 2019-12-24 05:05:08
问题 I'm just trying to send a simple text to my self.. of course the exception is java.lang.SecurityException: Sending SMS message: uid 10263 does not have android.permission.SEND_SMS This is what my Manifest file looks like <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.homesafe" android:versionCode="1" android:versionName="1.0" android:permission="android.permission.SEND_SMS"> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />

How to send multipart binary sms in Android?

岁酱吖の 提交于 2019-12-24 04:58:12
问题 I'm trying to send a binary sms in Android. But when the size of the message exceeds one sms, I get different errors depending on the device. I saw there is a method to send multi-part text sms, but not for sending multi part binary sms. So, what I have to do? 回答1: It seems that there's really no way to do this. I've found someone that asked this same thing on Android Developer list two years ago and received no answers until now. Unfortunately, I'm not finding the post right now, but there

Android - Intent.setType() arguments

老子叫甜甜 提交于 2019-12-24 04:52:12
问题 Does anyone know all available arguments for this method? Like "image/..." or "file/..."? I didn't found a clue for that list in official documentation. Speccially, I need an intent to send contact (.vcf) file. But type "file/vcf" doesn't show me send via sms option. sendIntent.setData(Uri.parse("sms:")) Also didn't help Thanks 回答1: The Intent.setType() takes the MIME type as an argument. The MIME type is text/vcard 回答2: How about Intent.setAction ? For example to send sms: intent.setAction

android app is not sending sms automatically on real device

孤者浪人 提交于 2019-12-24 03:51:45
问题 I have developed an android app that automatically sends an SMS automatically to a device from which it receives an SMS. My App is working fine on the emulator but when I run it on a real device (android mobile) then it only receives SMSs and does not sends a reponse automatically. My code is as follows. public class SMSReciever extends BroadcastReceiver { String address; String smsMe = "I Recieved Your SMS"; @Override public void onReceive(Context context, Intent intent) { Bundle bundle =