How to intercept SMS without loading SMS to UI?

by Kenny Yu » Wed, 11 Mar 2009 17:48:01 GMT

Sponsored Links
1. The program must be on top of SDK only, no hacking!
2. When a TEXT SMS is arriving to Android mobile, the program must
intercept the TEXT SMS to analyze the SMS content (access the whole
SMS data)
3. In terms of the SMS content, the program determines if the SMS is
erased as it doesn't exist. No notification, no update to Inbox UI.
4. Power cycle the Android phone, the SMS is not seen at Notification
or message Inbox

Can any one help with the solution? Or which API shall we look into?


How to intercept SMS without loading SMS to UI?

by Gulfam » Wed, 11 Mar 2009 20:33:12 GMT

 Hi all,

My requirements are same as mentioned by Kenny Yu
any one can help regarding this that How discard or delete that sms at
interception time.



Sponsored Links

How to intercept SMS without loading SMS to UI?

by Kenny » Fri, 13 Mar 2009 17:36:26 GMT

 I didn't know how to get it on top of SDK. Any activity can override
BroadcastReceiver::onReceive() or IntentReceiver::onReceiveIntent() to
know incoming SMS. I didn't know how to stop Mms activity getting the

Any idea if we use internal JAVA API (not in SDK though)?



Other Threads

1. Android Email Team - Email Message Flags and Imap Idle

Hi All,

I have used probably every imaginable operating system on mobiles over
the last 7 years.  I typically change phones every 3 months.  I am
also business executive that uses smart phones to review over 500
emails daily, on average.

I am writing this post as I am really looking forward to Android and I
hope either an Android developer or the Google team will review this

All of the email solutions I have tried are lacking in some way.  For
me the biggest frustration has been synchronization of "email flags"
with Imap Server.

The following platforms do not support this feature

1) Blackberry (any model)
2) Nokia (Symbian)
3) Iphone (currently anyway)
4) Microsoft WM6 (not sure about this one actually, please let me
know, might work with Exchange only).

Palm currently seems to be the only OS that has this functionality
(with third party email software - Snapper or Chattermail)

Why is this so important to business professionals?  Well, when you
are reviewing 500 emails a day and most have attachements it is not
realistic to review them all on any of the above device, which means
you need to be able to Flag a message for later review.  Without this
feature it is incredibly difficult to decipher which messages require
further actions.

I hope that whatever email APP is released for Android it has this
feature included.

Below is a list of some of the other "Must Have" features that I hope
to see on Android email.

1)  IMAP IDLE (To allow for automatic push email with no extra service
provider needed).

2)  Partial message download (Meaning you can choose to download only
4k, 8k of a message and then choose to download more if you need to.)
This is different from downloading headers only.  Same for
attachments, must have the option to decide if you want attachments in
or not.  Needs to be configurable by the user.

3)  Various Header views - many programs only show the FROM: at the
top of the email.  It is also very important to see the TO: and CC:
fields in a simple manner

4)  Full set of short cut keys.  Any App that does not have short cuts
keys is really useless for business people reading large volumes of
emails.  Reply, Reply to All, New, Forward, Delete, Next, Previous,
FLAG, etc. etc.

5) BCC: automatically on Send (this is a standard feature, but it
should be mentioned).

6) @ Sign - when you are typing in an email address field and you
press SPACE, it will insert an "@" instead (like blackberry).  Very

7) Font Sizes - Fully configurable font sizes for the message, folders
and headers.

This is partial list of those features that I typically see are
missing from one program or another.  I am yet to see a program that
has all of them in one.

If anyone is working with the Android internal team, please pass this
message to them.

I am hoping Android will be the last OS I have to switch to.

Thanks....until then my search continues.


2. set an OnClickListener for each button in a ListView's row

Hi guys,

I'm trying to create a ListView, with a TextView and two ImageButton
per row. The problem comes when I try to add an OnClickListener to
each button. I did in this way:

-- row.xml --
 <LinearLayout ....... >
   <TextView ...........  />
        android:src="@android:drawable/arrow_down_panel_bezel" />
    <ImageButton ...... />

-- .java --
  ImageButton ib1 = (ImageButton) this.findViewById(;
  ib1.setOnClickListener(new View.OnClickListener() {
        public void onClick(View arg0) {

But I get a NullPointerException.
What's the right way to do that?

Pzikit Bloo

3. porting in Java

4. opera mini on android - initial impressions

5. SQL servers tools and techniques

6. Socket programming error while reading the socket

7. Emulator crashing constantly on Windows Vista