Just wondering if some type of text spam utility would be something people would like.
Runs in background, will only accept SMS messages if sender is in the users contacts list or maybe sends it to a "Spam" folder for later review.
Good? Bad? Even possible? LOL
I've heard a few people saying they're tired of getting junk texts.
tia,
Roots
I beleive there may be apps in the market that have similar features as the ones you describe, but its been a while since Ive viewed them.
Yes, you are right, I should check-out the market for similar apps.
I see "willard" in your location...is that Willard, OH? I'm in Akron, OH
I could easily make one using some code from a current app of mine if you're still interested
Captainkrtek said:
I could easily make one using some code from a current app of mine if you're still interested
Click to expand...
Click to collapse
LOL. I'm designing apps for sale. So, you can still send your code and I'll cut you for, say, 10%, ok? ROFL LMAO
Oh well, on to the next best idea
Roots
Would be best implemented by segregating the messages, not simply deleting them.
Some messages received from sources not in my contact list are very much not SPAM. Things like bill reminders from provider, download links from GameLoft, new contacts who I ask to just text me their name, etc.
Yes, I still might give this a shot. And maybe not a folder, but toss the messages into a database that could be searchable by date, time etc.
Trying to see this..hmmm...hit "Text Spammer" app. Screen shows "Search by date", "Search by Date/Time", "Show All". Then from there, "Add to Contacts", "Delete", "Main Menu". yeah, that works.
It's hard for me to see, because I'm not a big "texter", but I know some people live and die by their text messages.
Hell, I'm an unemployed programmer, what do I have to lose but some more brain cells and some time! LOL
If anything, I'll learn something new and that's always a good thing.
Going to flowchart this one a bit first to iron-out the design....oh joy
I don't know if this is even possible, but maybe the app could look for key words in the message and determine if they're likely spam or not. I get a lot of spam texts that all look the same and have the some of the same words in them.
Just an idea!
I shall take that into consideration. I'm not even sure I can intercept the message yet.
My schedule has been like Mr. Anderson's (Neo) the past couple of days and I'm just waking up at 10 pm after sleeping like 15 hours. LOL
Guess it's time to start researching and coding.
Well, I'm neck-deep into the process now. This stuff can get confusing for sure. Service starts and stops as I have coded it....just trying to figure out how/where to call other "stuff" from inside the Service.
Well, the Service is user Startable and Stopable.
I have captured an incoming SMS, that is, I'm running 2 emulators with my service on 5556 and the other on 5554 (Note: 5554 is a "regular" phone; my service is NOT on that phone, only the receivers'). 5554 sends text to 5556 and I get my Toast message about it with body and number.
Now the fun starts. As it is, the message goes through default SMS system and puts up the notify and the message is in the 5556 inbox. Now I have to compare phone number to contacts list; if number exists, ok, if not, store message in database and delete from inbox.
Does this sound ok? I'm not 100% warm and fuzzy they still get the notify (that can be bypassed, I think). Then again, let them get the notify, go to inbox, and if it's not there, the user knows to check the spam database.
Or I guess I could Toast a message about "Message sent to Spam Database", then delete it from the inbox.
Or toss-up a dialog box "Message from 339-9831-0076, Cheap Viagra" and have the dialog do a "Keep" or "Delete". That way there is probably no need for a database, but requires user intervention. And what if they're not at phone and have 50 incoming texts...50 dialog boxes??? I don't think so! ROFL
Or just write a whole new SMS messaging system! yeah, right...
I dunno, what do you guys think?
Making some serious progress, but getting tired and I know it's time to step away from the keyboard! LOL
Now I'm at a decision point...someone suggested looking at incoming messages by some keywords. Not sure what they meant.
Someone pointed-out that they get messages for bills due, game forums etc. that they want, but are not in the Contacts list. I'm not sure what to do here.
Say you get your Verizon text on "Bill Available", but I don't match on it and it goes to the database. Is the user going to like that? Probably not. What if I offer to ADD it to the Contacts? Think they'll go for that?
There isn't too much else I can do besides except set it like e-mail spam filters do: it goes to spam folder and you have the option to make it non-spam.
Hopefully I can get some comments on this Like I said, I need a nice long break and after I'm rested-up, I have to code the database stuff. I've done DB work in 2 other programs, so it's not going to be too bad. And I have to mess with the UI...oh joy
Do the "Bill Available" messages always come from the same number? If so, maybe you could add them as a contact, or put those numbers in some sort of whitelist so they don't get filtered.
I was the one mentioning filtering messages by keywords. I don't really know if this is feasible or wise. For a while, I was getting 1-2 messages a day almost identical just from different numbers asking me to sign up for this or that to win money or something. I didn't really think much of them, so I just replied STOP and deleted them. I believe the numbers were 5 or 6 digit numbers.
You might have to just do some market research and see what people are dealing with and what they want and make something fit the general consensus. I'm sure not everyone is going to be happy no matter what you do
I really don't know, for example, if my Verizon Bill Message # is the same as someone else. To complete the app v1.0 phase, I'm just going to send non-contact messages to the database and give option to add to Contacts.
I think I'm going to leave the default notification icon too. For people at their phone, they'll get the notification; by the time they get to it, I'll have marked it as "read" and the icon will go away. It's almost a programming "gift"...once they get used to it, they will know that a notification that comes and goes was a spam and to check database whenever.
(crap, I'll have to copy TO database and delete FROM contacts...damn)...(double damn, I'll have to store the "spam" phone number in user database and check incoming calls as spam from Contacts AND database <might need 2 databases>) see what happens when I get rest?
Once they get their Contacts up-to-date, it should run fine.
================================================================
NEVERMIND, but I'm keeping this here for others. Always hated strings in C/C++ classes in college
Changed to if(phoneNbr.compareTo(result[0].....) worked fine. Damn string comparisons!!!
================================================================
Ok, I'm either tired or going nuts. Running 2 emulators. One runs my Service, one is vanilla. Sent text from vanilla phone to phone running my Service. Preform lookup on the "Service" phone contacts to see if incoming matches. Obviously it does, because I get a row back from Contacts. But, this statement is NOT working:
if(phoneNbr.toString().trim() == result[0].replaceAll("\\D", "").toString().trim())
Toast.makeText(getBaseContext(), "Numbers Match!" ,Toast.LENGTH_LONG).show();
Here is my logcat of logging the SAME information I'm checking in the above "if". Uh, I'm stumped LOL
Log.v(TAG, phoneNbr.toString().trim());
Log.v(TAG, result[0].replaceAll("\\D", "").toString().trim());
12-31 10:05:01.896: VERBOSE/com.smartappsdev.TextSpamService(953): 15555215556
12-31 10:05:01.906: VERBOSE/com.smartappsdev.TextSpamService(953): 15555215556
Related
bad situation: Sweetheart erroneously receives an SMS from you that was meant for Honey.
solution: Read and re-read your messages before sending them, and verify that you arre sending to the right person before pressing SEND, but we are only HUMAN, and we make mistakes.
software to the rescue: A SMS editor program that FILTERS your messages and decides wether your message is really meant for the person you are sending the message to.
how?: you assign keywords to contacts and it is saved in a database that the program accesses, for example, you blacklist the words "honey" and "baby" from messages you send to SWEETHEART, so the database will look like this:
Sweetheart-(Blacklist: honey, baby)
Honey-(Blacklist: sweetheart,baby)
Baby-(Blacklist: sweetheart,honey)
so when you type the message "Goodnight Honey" then SEND to SWEETHEART, the program evaluates that this message should not be sent to SWEETHEART and WARNS YOU and DOES NOT PROCEED to SEND the message, but if the message is "Goodnight Sweetheart" and to be sent to SWEETHEART, the program evaluate it as valid, then proceeds to SEND the MESSAGE to TMAIL.EXE (the REAL SMS program for final sending)
objective of this program: WORLD PEACE, actually just peaceful and harmonious living, hahaha. because wrong sending of message is eliminated.
other uses of this program?: you can blacklist the word "FAT" from being sent to your very fat friend, because he feels insulted by the word, or you can blacklist "PORK or PIG" to other people who might feel offended by this word.
Men and Women alike would like this program, although some would not admit it, they would really find a program like this very useful. hehehe.
So now the question: Can some programmer do this pls?
I can do programming for PC, but i havent done Pocket PC programming, i think all this program is an INTERFACE with the user by providing TEXT EDITOR, the evaulates the TEXT, then PASS the information to TMAIL.EXE.
CAN SOMEONE DO THIS?
thanks
reserved for flowchart....to help programmer if there are any takers...
Should be possible... I'll be happy to take a look when i have some time..
But ... i'm pretty curious what "inspired" this idea
nice app! and Mr_Gee, maybe simliar inspiration was used in your SMS Password app
NguyenHuu said:
nice app! and Mr_Gee, maybe simliar inspiration was used in your SMS Password app
Click to expand...
Click to collapse
haha lol
The strange thing is my girl also looked through my messages the day before
I wrote that application... so it was also a bit of personal gain
This is what i whipped up, please note the sending is not working yet...
give it a go and let me know what you think...
to begin click on menu>app. options>import contacts
rescan when the table is filled hit OK
Next manage blacklist
select the name from the dropdown list, add the blacklisted words
for testing i used pizza, banaan (its dutch)
thats also why there is already some text entered in the message are
(i forgot to remove it when i compiled the app )
Once the blacklist is updated hit save and close
in option screen click save
go to menu>add recipient and select the one you've just updated the blacklist for, next write a text, with or without those words and see what happens.
From the testing i did the logic seems to work...
please note, the blacklisted words need to be written without spaces and seperated by a comma
e.g. hello,mikey,banana
also Pizza is not the same as pizza...
let me know what you think..
On a sidenote, the application also needs a name
i was thinking along the lines of
- Stupid Me (what you usually think after sending the wrong person an sms)
- doh! (tribute to Homer )
- LifeSaver
- LoveSaver
- SMSLifeLine
but if you have a better idea please let me know
-= Attachment removed =-
please see next post
will test it, LIFESAVER could be a good name, but it what it does is save my ARSE really, hehehehe.
what i usually think after sending to the wrong person? "OMIGOSHHHHHHHHHHHHHHHH!!!" then comes the cold sweat, then the customary call from the recepient then 2 days of explaining, hehehe.
what inspired this idea? clearly... is to help my friend who has a lot of girlfriends...hehehe. he tried calling them all HONEY...didnt work
suggestion, converting all text in blacklist and in message to ALL CAPITAL LETTERS before evalutaion could eliminate the difference between Pianp and piano, also, replacing "," or "." or symbol characters with "<space>," "<space>." or "<space>symbol" could help blacklisted word next to symbols. thanks man.
paulpax said:
what inspired this idea? clearly... is to help my friend who has a lot of girlfriends...hehehe. he tried calling them all HONEY...didnt work
suggestion, converting all text in blacklist and in message to ALL CAPITAL LETTERS before evalutaion could eliminate the difference between Pianp and piano, also, replacing "," or "." or symbol characters with "<space>," "<space>." or "<space>symbol" could help blacklisted word next to symbols. thanks man.
Click to expand...
Click to collapse
Thought about it, but i think it would be easier just to write the 2 versions,
currently the application checks for the word, if it doesn't find it it checks both <word>, and <word>.
another problem is that I have the program check <space><word><space>
(thats why there cannot be any spaces in the blacklist)
the reason is that if the blacklisted word is Piano and the spaces aren't there it would flag Pianoman as a blacklisted word
youre right, is a beta program available that already sends? hehehe.
paulpax said:
youre right, is a beta program available that already sends? hehehe.
Click to expand...
Click to collapse
not yet, hopefully tomorrow
will be waiting thanks, by the way, what proggy are you using to make this software?
New version, should be working (e.g. sending stuff)
thanks, will be testing this as soon as i find a way to get this on my SD card or phone, im at my work pc and all my tools are left at home. eg. sync cable, bluetooth, card reader, wlan card.
Did you find the time to check it?
yup tested it,
first test, import contacts then manage blacklist - done
insert recipient - done
typed text without a blacklist word - done
send - wont send, send button just reacts but it doesnt do anything.
typed text with a blacklisted word - done
send -no reaction, no sending or warning, button just reacts but doesnt do anything.
thats the result of my test mr. gee. thanks.
edit edit edit,
now this is funny, i thought nothing was done when i press send, but BOTH messages with blacklisted word and not were sent to the FIRST person on the contacts list. hehehe. talk about preventing sending to the wrong person, no harm done, but funny.
the first person in my contacts list replied to me with both text that i sent that was supposed to be for an intended recipient. the texts were intended for a person 'L' but was received by the person 'A'.
great idea
sounds very interesting ... but is there a programm for filtering/screening incoming messages aswell?
e.g. you recieve a message from a special person and you don´t want that s.o. hears it but all the other recieved message should ring as usual ...
for incoming filtering, i think there is a program for that already.
check link: http://www.zedsoft.net/
but for outgoing filtering, this is the current idea so far.
thanks for testing Paul,
I'll take a look at the application, not sure whare the issue is..
This is really good idea.... Keep up the good work
I remember that I was out for work and than I sent SMS like: I was cool, thanks.... to my girlfriend (doh!)... And real trouble started
Does anybody know what SmsListener_log.txt in My Device/Temp is? It keeps a log of all text messages even after they are cleared from the deleted items. Can it be disabled?
Heh, I also just found this file and wondered what it was from and why it's there.
Any ideas?
Not on mine. 1.66 stock.
Not on mine either, Stock 1.66.
Hmm, that is weird, I have it too.
Running the Stock USA Tmobile ROM. Definitely seems like it's Sense related since it's written is some type of code/interface.
It doesn't really bother me, though i could see why someone would be upset by it.
I wonder what would happen if someone were to delete the file.....
I have it too, 12.5MBs.
I am running a stock T-Mobile USA rom. I have deleted the file, but it reappears when there are new text messages.
No big deal, but if I delete a message, it would be nice if it were really deleted.
Hehe, I'm wondering what T-Mobile was thinking when they implemented this in their ROM... "Lets just store every SMS in a separate file" ..?
Sounds to me like a conspiration...
cant someone try to write a "lets bomb usa" text, make up some plans and send it to your own phone, then wait a few minutes and see if the feds shows up? lol
I found a way to disable this log:
1. Open the registry editor and navigate to HKLM\Software\Microsoft\Inbox\Svc\SMS\Rules.
2. Delete the following value: {54F38CD4-B778-28BA-6F63-2D942AFCCD7D}.
3. Soft-reset.
Notes:
This GUID represents a CLSID for the messaging rules client in \Windows\SmsListener.dll. I do not know what exactly it does, nor do I know what other messaging rules clients referenced in "HKLM\Software\Microsoft\Inbox\Svc\SMS\Rules" do.
Messaging rules client can move, modify or even delete the incoming message without owner's knowledge. It could be that TMO included this SmsListener.dll to be able to control our phones through SMS. Or may be I'm just paranoid. It would be really nice if someone could reverse engineer this dll to see what it really can do in certain circumstances.
Thanks, deleted entry, will see how it goes.
Not on mine, O2 1.43 Rom
audin said:
cant someone try to write a "lets bomb usa" text, make up some plans and send it to your own phone, then wait a few minutes and see if the feds shows up? lol
Click to expand...
Click to collapse
maybe they will knock on our doors here in norway for finding out about their conspiracy and stuff...
bare å løpe over til sverige eller noe nå!! hehe...
I have deleted the registry entry as mentioned above. So far so good-no log of text messages taking up room.
Is there some sort of temp file cleaner for the HD2, similar to CCleaner for a desktop?
Thanks for the help.
Nobody felt the need to ask your service provider why the hell they're logging SMS to a seperate file?
good registry find
Aterlatus said:
Nobody felt the need to ask your service provider why the hell they're logging SMS to a seperate file?
Click to expand...
Click to collapse
Do you think they will really be willing to tell you that even if you're able to reach someone who knows?
Interesting. I don't have this log either.
i have it along with a screenshot (have no idea why the phone takes random screenshots)...
I have an interesting questionn - at least it is to me. Working with my daughter and facebook I've found that I have not control at all (technically speaking) over facebook messages to her phone. I am a t-mobile customer, I use family allowances but nothing set in family allowances will block the fb sms from coming in or going out. -this is interesting!
fb comes in as a bulk type sms, it isn't a 10 digit number that can be blocked.
fb messages are not logged as sms messages on the t-mobile site.
Even disabling the phone in family allowances doesn't stop the fb message from coming in.
Thoughts?
Yes, I realize there is more to working with my daughter and facebook from a parenting standpoint, I'm not here to talk about that My thread here is about the technical side of this. What if it weren't facebook? It seems there are sms type messages that can't be blocked from the phone.
isnt that an option from within the facebook website itself? i.e. 'send me a text when i get updates' or something like that?
samsamuel said:
isnt that an option from within the facebook website itself? i.e. 'send me a text when i get updates' or something like that?
Click to expand...
Click to collapse
Yes it is. But I, like I'm sure many other parents, thought that I could completely control this from family allowances. Since it's supposed to be an sms message and I can stop messaging in many different ways, I assumed that I could enforce our time schedule with the family allowances tool. But - I was wrong
So, yeah I can login to fb and turn that off, I really don't want to go that far with monitoring her though. I could turn the whole messaging service off on her phone, I'm guessing thta would do it - but I don't want to do that and I can go in and physically take the phone from her also - that's all a different subject
I thought it interesting for us phone geeks that a message comes in, isn't logged, can't be tracked, monitored, blocked or controlled.
gotcha.
............
I don't have a solution really, but I do suspect that it has to do with how the messages don't have a regular number...I'm guessing that when the fb texts come in, they're tagged with short-form number like "22622" etc, yes? I'm just assuming that based on the behavior of other bulk-source texts, from services like yahoo messenger, and banks, for example. (I have my account setup so I get texts with any account activity).
I would get on the phone with tech support (and not regular customer service, if you can help it) and demand to know why you can't block bulk texts like that...they may have another way than just your regular acct mgmt settings, but I don't know. That's where I would start if it were me
You can only stop the messages one of two ways:
Login to facebook and turn off the "SMS Notification" option.
Send the word "STOP" to the number that the notifications are coming from. This message has to come from her phone.
Both of those options seem to violate the strictures you have placed upon yourself. I guess the next move is yours.
I might also mention that accessing your child's facebook account without her permission is considered hacking and you could get arrested if she contacts the authorities. This is not a joke, there is a case going now along similar lines where a mother did this to a son.
You certainly can't control the time that these messages arrive. These are so-called "opt-in" services and do not count as regular SMS/MMS.
Slightly-Off-Topic
As a parent, I believe I understand your concerns: The messages come at times where your child should be in school, studying or sleeping.
If this is the case, you might consider creating a "charging area" in the family area (kitchen, living room, downstairs bath, etc). Everyone should leave their chargers here and then drop their phones off in the evening for charging.
Unless your child uses their phone as an alarm clock, this is not an unreasonable request.
This also gives your child the opportunity to build trust with you, as the phone will be left in a semi-public place, where anyone could check the phone for inappropriate content.
I think I've got my application done, but it's hard to test.
It's a new SMS text blocker. Runs as a Service and checks incoming SMS phone number to Contacts. If not in Contacts, it goes to internal "spam" table as an unblocked number. If it's not in Contacts and already "spammed", the new message goes to "spam" as a blocked number.
If the new message/phone number is "unblocked", you can add it to Contacts or mark it as spam and the message/phone put in table as "blocked".
Everything seems to be working OK as far as adding to Contacts, deleting message from inbox if moved to spam (why save it twice?) and marking message as "read" (removes notification icon).
I'm wondering what to do with testing. It's hard for me to test it with emulator or sending messages from Verizon website. And a couple of friends are getting pissed at me for asking them to text me all the time! LOL
Putting it on the Market with a 15 minute refund really does not give purchaser a chance to test it (and I don't want to get users upset with me).
I think the best thing to do is put it on the Market as Beta and free. Then just add a check to code that limits the blocked numbers. Then get feedback from users on any problems or errors.
Comments please
I am creating an application where it will send a pre-prepared text to selected people at a push of a button. The reason for this is that I am a volunteer firefighter and most of us have pagers. Some of us do not have pagers since the department ran out and they are not in the budget to buy more right now.
Anyways, I have the basic layout that I would like set up.... And that's about it. I am used to javascript but that is a little different then Java. I am using the Eclipse program to code.
Here's my priorities to get working first:
-Have a message sent when button is pushed (message can be hard coded now so it works. would like to be able to edit it later)
-Be able to select contacts the message is sent to
Future wishes:
-Be able to add new messages
-Be able to edit messages
-Manage messages (mainly a list of the messages in scrollable list view)(popup for Edit|Delete)
Example Message:
(DEPT NAME) Alert:
Fire Alarm Activation
Time sent: 1830
Click to expand...
Click to collapse
So right now I need help with:
Adding the SMS service to send out the text message when the button is pressed
Selecting contacts to send the message to
Coding in the message
If you can find a guide on how to do that, it would be greatly appreciated. I am completely new to android programming so please don't bash me for something that may seem completely easy.
Thanks in advance for any help.
Probably a free app out there.
Why not just make a Contact with multiple phone numbers in it and create the text using default SMS app? If speed is of the essence, then pre-define some "codes" for certain events much like on a pager where you get a "911" from a caller.
And don't take this the wrong way because I know a few volunteers and appreciate their service because it is NOT "easy", but a PAGER? Haven't they gone the way of the floppy disk? LOL That's a damn tight budget there!
I have looked and haven't seen one that will fit my needs.
Speed is essence in this case because i want to be able to open up the app and then hit a button to send the text so I am not fiddling with my phone while driving to the station.
I have the basics of the program worked out. I have all the messages pre-set and sendable, but only to one person.
(for those looking for a guide on how to implement SMS messaging, this is a great one that shows you step by step: http://mobiforge.com/developing/story/sms-messaging-android)
I am now stuck on being able to send it to multiple people at the same time. Current code:
callStructureFire.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String msgText = "IHBVFD PAGE OUT:\nStructure Fire\nTimeout:"+formattedTime;
String contacts = "5556";
sendSMS(contacts, msgText);
}
});
Click to expand...
Click to collapse
(Red is where the numbers go. I am using Eclipses emulator's to test so i have 5554(main) 5556 and 5558 (testing for receiving messages))
When I try to do "String contacts = "5556, 5558(with and without the space)";", it will send the message to the first phone but not the second. On a real phone, it does not send the messages at all.
I also still need to implement a contact selection which I have been looking on google for a few hours now and cant find a guide on how to do it. What I would like to happen is when you press the phones menu button, it gives the option to manage the recipients (or even a group) and for that selection to stick even if I leave the app/restart the phone/whatever.
I really would like to get this all done by Thursday night so I can start using it.
No offense taken. The thing is that my department is strictly volunteer. We get about 100 calls a year so we do not have the call volume to get paid. Being strictly volunteer also means the the city does not charge taxes to the residents. We are really only funded by donations and fundraisers (which we do 2-3 a month). With pagers (Minitor IV) being around $140+ on ebay and then $30-50 for programming them... Yeah... It gets kinda pricy for 4 pagers lol.
Can anyone help me get multiple contacts working at least? Really want to have this done soon.
Skull, I am guessing your Communications center does not support any type of email or txt ripnruns for calls?
If either are supported, we use IamResponding.com and also CADPage (free on the market). Our center only sends emails but we have it getting parsed down to a compact format and resent as TXT. PM me if you want/need more info.
I cannot speak enough about both of these solutions!
Our dispatcher is our police dept. We have recently talked about IAmResponding within the dept but that got shot down by the officers because that's an extra 3-800 a year... And again, not everyone has pagers so they still wouldn't really know if we have a call. I am still trying to get them to do the 2 month trial. CADpage isn't supported in my county.
We have looked into those, but for now this program is the only option that I can see :/