• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Disable native sms notification in status bar or receiving at custom port

Hi All,
I need some help regarding Application on Android.
I am developing an Application for SMS.

1. Can i have only my own notification in status bar not native android one while receiving a SMS? Currently it is showing both. I think if i would disable the notification then it could also disable my one too.

OR

2. Can i receive my sms at any custom port? If yes then how and while receiving that would i see the native notification in status bar?

Thanks for kindly help
Regards,
Yogesh
 
Thanks Guys!
But this manual setting wont help me.. I need to do that for programmatically for my App and rest of the sms should follow the default one...
Can my App have our custom sms on some other port and without default notification ?.. I am having my own Custom notification that my service will fire as soon as it detects any incoming message arrives.

Thanks for your kind help...
 
Upvote 0
it'd be great and wonderful to have it done automatically by the 3rd party app, but I really don't think anyone complains about having to check off the notification setting when using chomp or handcent. It's not like the home screen where you click home and you get the chooser screen to pick the native or home replacement. In this case you're creating your own notification, not modifying the stock one.
 
Upvote 0
Thanks Guys!
But this manual setting wont help me.. I need to do that for programmatically for my App and rest of the sms should follow the default one...
Can my App have our custom sms on some other port and without default notification ?.. I am having my own Custom notification that my service will fire as soon as it detects any incoming message arrives.
One thing I know: You can't route sms messages to other "ports", there is just the one (your phone number). But there might be an event you could hook into that fires before the user is notified.

Let me ask this way: Why do you need to do this programmatically? My hunch is you're trying to do something like WaveSecure, that is, if the phone receives a specially formatted message you want your app to react to it instead of having the user see it as a normal incoming message. In other words, yes that's possible but I don't know the details of how they did it.

The official documentation contains a page named "Common Tasks and How to Do Them in Android", which includes this section:
Other system messages
You can listen for other system messages sent by Android as well, such as USB connection/removal messages, SMS arrival messages, and timezone changes. See Intent for a list of broadcast messages to listen for. Messages are marked "Broadcast Action" in the documentation.
However, I can't see where the linked-to Intent page discusses intercepting received sms messages. :eek: You'll have to dig around some more, but hopefully this is a good starting point.
 
Upvote 0
hey someone please help me with the sms notification.
everytime i receive a sms. the whole message is displayed in the status bar....cant i only get the sms sign....unchecking the sms notification stops the notification ringtone too...plz help

Thats strange. The entire message is displayed, but only for about 3 seconds, then you should only see the little SMS Icon on the notification bar...

I prefer using the SMS Popup app. You can pick your own icon for the notification bar, plus it pops up the message on the screen similar to the iPhone, and you can delete it, close it, or reply with one click.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones