MessageAlerter is a project mainly written in Java, it's free.
SMS inbox watcher for Android 1.6 and later
404: Not Found