SMS Filter pls to avoid wrong sending - Touch Diamond, MDA Compact IV Themes and Apps

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

Related

Help Read SMS

Hello,
I would like to use SMS in a new application using XDA. I want my application can read sms in inbox.
Do you know how I could see example of source code using SMS API? Or do you have such example to help me?
I got example to send sms but cannot get sample how to read the sms.
FYI, i am writing program using eVB.
Thanks a lot
You should take a look at PocketPC Network Programming by Steve Makofsky or simply try
http://groups.google.com/groups?q=pocketpc+sms+api&start=0&hl=de&ie=UTF-8&
and
http://msdn.microsoft.com/library/en-us/dnppcgen/html/sms_apps2.asp?frame=true
SMS API is not easy.
Yup, it's not very easy, you need to learn about POOM...
I advise you to look into VB .net, it's been made a hell of a lot easier.
I still do it the Medieval way though! Win32 C++ all the way :shock:
V
I did include some C code on sending/reading SMS in this post
http://forum.xda-developers.com/viewtopic.php?t=10761&highlight=
You are asking about reading messages in the Inbox that is when poom as mentioned by vijay555 comes into play.
I don't know anything about poom, but I have read incoming SMS by making my read thread take control of incoming SMS. This means that the message never goes into the inbox.
vangelderp: interesting code, not seen it before on the board. A very good way to do it. It doesn't need to be installed before pocket outlook etc does it? I don't imagine it does. Good stuff!
V
No it does not need to be installed before PPC Inbox (Outlook), what seems to happen is when a SMS message comes in the Inbox fires up. From that point on my code won't get a handle to SMSRead.
So what you need to do is do a warm reset and then start your user program (including my code sample) before any new incoming SMS messages and then it will get the SMSRead handle first. This then blocks Inbox getting a handle which I am sure it raises a error message on if you then try to go into inbox.
vangelderp: yup, that's what I thought. I never used that technique because of that, I stuck with POOM. But your createevent and thread work is very helpful.
V
SmsReadMessage of SMS.API
Thanks for your all comments.
Do you know how to use SmsReadMessage of SMS.API ?
This function is used to Reads a previously received SMS message. I really hope somebody else out there can help me how to use that function
Regards
You use SmsReadMessage like I do in the code attachment I have mentioned.
This function does not read a SMS message that has already been received by the normal PPC Inbox program. As said for that you need to use POOM.
SmsReadMessage for for your code to get a SMS Read Handle and then wait for the event (The Message) to occur and then use the SmsReadMessage function.
Exactly as I have done in my code snippit.

Can't find tethered SMS program

A friend of mine installed the program but doesn't remember where he found it and I've looked through the Hermes forum as well.
Please, anybody....I need tethered messaging. It makes conversations so much easier. If a link can be left and any instructions for installation (if needed) it would be very appreciated.
Try searching for "threaded SMS".
Are you thinking something like Jeyo Mobile Extender for Outlook? Or did you mean threaded SMS?
It's tethered SMS. It's set up like an instant message conversation seperated by the contact you're having a conversation with showing both party's text messages.
As I said above, it is called "Threaded SMS". If you insist on calling it "Tethered SMS", you will never find it.
check out this link, it is called Palm SMS Threader.
if you're sitting at a computer, why not just fire up an IRC client and talk that way? much cheaper (if you actually pay for text msg's..i dont) and more straightforward..
i just cant see a conversation through sms, especially since there is a character limit on a message. any real convo going on would be interrupted by you having to open the next sms every 160 characters heh..
try codys sms from wmexperts.XXX
watson540 said:
if you're sitting at a computer, why not just fire up an IRC client and talk that way? much cheaper (if you actually pay for text msg's..i dont) and more straightforward..
i just cant see a conversation through sms, especially since there is a character limit on a message. any real convo going on would be interrupted by you having to open the next sms every 160 characters heh..
Click to expand...
Click to collapse
you can irc on your ppc too.
watson540 said:
i just cant see a conversation through sms, especially since there is a character limit on a message. any real convo going on would be interrupted by you having to open the next sms every 160 characters heh..
Click to expand...
Click to collapse
Threaded SMS doesn't quite work that way, instead of just a character count you get "0 characters 1 message" along the bottom. I've never gone over 320 characters but I assume its possible. the program breaks the message apart into multiple messages. Probably a pain in the ass on the receiving side, but haven't had any complaints, it is rather rare that I compose a text message of said length... for that there's always email.
theFear13ss said:
Probably a pain in the ass on the receiving side
Click to expand...
Click to collapse
Sorry, this part of your post made me giggle like an adolescent
Check it Out
Are you talking about the one that functions like the one in the IPHONE.
If so I got your fix here. Hope it is the one you where looking for.
cintiajeremiah said:
check out this link, it is called Palm SMS Threader.
Click to expand...
Click to collapse
i just tried that, didn't like it, and now i can't remove it... i uninstalled it but it is still there, and now it fails to install a second time so i can try to uninstall a 2nd time. not to mention that after install i found it erased all my messages... so yeah i guess it is time for second hard reset in 3 days.
Try Cody's Threaded SMS
I like it. Works just like the instant messaging program on Palms

looking for SMS that annouce

been using various sms program. none have been able to annouce the incomming sms messages. I really do like to hear my text message being read. Is there any program that has sms feature but annouce it too?
i've used palm's sms and vito. the various sms software that i found else where that is not well discussed as the two mentioned.
if i can hack the registry to also store my texts in its default location while having palm's sms receive the text...i really like palm's sms, but it takes out my text inbox...i think voice command only reads text inbox.
other suggest downloading wm6.1, doesn't work with sms.
tested with samsung i760.
try the new ZoomSMS.. has a registry option to notify..
Try MS Voice Commad 1.6, It will read your message to you as you recieve it. Just hope you dont get one from thw wife/girlfriend during a business meeting.
NiteStalker said:
Try MS Voice Commad 1.6, It will read your message to you as you recieve it. Just hope you dont get one from thw wife/girlfriend during a business meeting.
Click to expand...
Click to collapse
Yes, my wife uses the MS Voice command to read her SMS's out loud. As a joke, I send her crap when I know she is with other people. She doesn't see the humor in it like I do.
Hehe i did this when a friend of mine had software for outlout reading of s60 device content installed on his n70 while in pub it had czech support, but i never heard funnier voice read out crap and czech curse words
Lol, we live in units, and the outside plumbing for the sewerage system broke.
I was in a meeting when I got, at max volume"
"Giant crap just outside window, think I'm gonna puke, leaving"
Lol, I have never been so proud of my GF

Software Pls: SMS Filter

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

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