Software Pls: SMS Filter - Windows Mobile Development and Hacking General

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

Related

How do I send Batch Text Messages

How do I do batch text messaging. On my old Motorola Razr I could simply compose a message open up my contacts and then go through and check off all the names I wanted to send it to and hit send and it would send to all the people. However in the TYTN I have to add each person separately. Which takes about 10x the amount of time.
I.E. I am arranging coffee for a small group. I want to send to about 20 odd people in my contact list. Is there a button combination I can press to quickly scroll through my list and select all the people I want to send to and have it add that group to the send field without having to open and close the message each time I want to add a new person to the "To" field.
I suppose a workaround would be to add the contacts once, copy the lot of them and save it as a note, then just paste the group each time you need to send out a batch to them.
Other than that I'm not sure how you would be able to get around the single adding thing.
Cheers
Yes this is one dis-advantage in WM5 and above devices. WM2003 atleast had an easy oiption to choose contatcs.
You can ofcourse try the above workaround by copying a list of contact numbers separated by ; if you often message the same list. Else, use the predictive input to type few letters and select them! Get the point?
There have been a couple of utilities posted that will help you in your cause - both called "Group SMS" strangely enough!!
One can be found >HERE< and the other is mentioned a little further down the same thread and links to >HERE<.
Check them out and see if either fits your needs
Cheers,
Mark.
I am just flashing my radio at the moment, but thank you for the suggestions, I will check them both out and post back the results.
This forum and its members have been a life saver for me. You guys are all awesome.
Thanks again.
Happy Hacking.
Mark Crouch said:
There have been a couple of utilities posted that will help you in your cause - both called "Group SMS" strangely enough!!
One can be found >HERE< and the other is mentioned a little further down the same thread and links to >HERE<.
Check them out and see if either fits your needs
Cheers,
Mark.
Click to expand...
Click to collapse
Thank You, the one from the Asheesh guy, http://forum.xda-developers.com/showthread.php?t=306682&highlight=group+sms Worked perfect, I am able to compose my message and then just click through my contacts and select with a check box the ones I want to send to, and hit send, works perfect.
Glad I could help
You can pretty much guarantee that somewhere on this site is the one program that will make your device complete......you've just gotta be prepared to look for it - they tend to hide in some pretty obscure places
Cheers,
Mark.

pressing Send button during sms on accident

Hello,
Is there a way to disable the soft keys on the keyboard of the P4350? i press the send button quite often when typing an sms, because it's so annoyingly close to the R and T. i've been looking for a solution for quite some time, but all i can think off right now is getting a new set of fingers, a smaller size
grtz
Hans
Have the same problem. Help would be greatly appreciated!
--slLy-Dee
Hi
this would be very handy when i'm going out.
when i've drinken alot i always automatically send sms to my girl friend, now so already know that I have drunken to much when I send strange sms-messages
So I would really appreaciate I solution for this....
Rewind said:
Hi
this would be very handy when i'm going out.
when i've drinken alot i always automatically send sms to my girl friend, now so already know that I have drunken to much when I send strange sms-messages
So I would really appreaciate I solution for this....
Click to expand...
Click to collapse
haha same problem here last weekend i needed 5 sms messages to send about 150 caracters
yerrppp count me in X-P
Does nobody has a solution for this??
Yup, we do! Don't drink so much!
Try softkeychanger, found in the "usefull cab files" post. Not sure it will work, butt it's better then nothing
The softkey changer will only change your softkeys on the today screen.
It's probably a registry setting somewhere in the ARCSoft composer software... if its even in there and not built into the actual exe or something.
having the same problem on the kaiser. did it twice this morning.
put the recipient before sending, not before typing .... easy one but works
maxmaxmtp said:
put the recipient before sending, not before typing .... easy one but works
Click to expand...
Click to collapse
Smart man. (or woman) That's what I call thinking with your head. Thanks!!
It won't help if you press reply like I do with most of my messages since they're to my fiancee and she's always in my inbox as I never delete messages... but it's a great tip for normal people. lol
the difficulty with a active forum filled with people from all over the world and in all layers of society whom are thinking about the various and usually very technical problems is that these people (and i'm one of them myselves) tend to think too much and "just do" to little
what was it they said? something like: "the genius of a solution lies in its simplicity"
LOL
I'm having the same problem. When I'm composing a new message I wait indeed to put in the recipient until I send the message. When I'm sending a reply, I'm never thinking about removing the recipient and re-entering it afterwards, help would be welcome ;-)
I hear you guys- I'm generally hitting Reply on SMS messages. I am hoping that it is some Registry setting that could be tweaked. I'd love to make it "spell check" or toggle delivery receipt notification or something.
I suppose another option is to use a 3rd party SMS app, but I like the default one so I'm hoping someone finds a hack at some point...
Cheers...
maxmaxmtp said:
put the recipient before sending, not before typing .... easy one but works
Click to expand...
Click to collapse
Doesn't work for replies though
EDIT: Sorry, replied to an old post and couldn't find a way to delete my post.
compose instead of reply
Well if you never reply and always compose a new message the method works....
virtualXTC said:
Well if you never reply and always compose a new message the method works....
Click to expand...
Click to collapse
You're really into composing a new message when in a SMS conversation?

SMS Filter pls to avoid wrong sending

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
I've really no idea nor skills in programming, but anyways I had a good laugh!
ah ah ah ah what a great idea

Why are SMS messages being logged?

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)...

New App idea...

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

Categories

Resources