1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

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


Last Updated:

  1. yogeshkalwar

    yogeshkalwar New Member This Topic's Starter

    Joined:
    Apr 9, 2010
    Messages:
    2
    Likes Received:
    0
    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
     

    Advertisement
  2. TheSultan

    TheSultan Well-Known Member

    Joined:
    Mar 6, 2010
    Messages:
    1,483
    Likes Received:
    255
    if you go in to messaging, you can disable the notifications. It will only disable them for THAT SPECIFIC app. Currently that is the best method to using a third party SMS app.
     
    yogeshkalwar likes this.
  3. KlaymenDK

    KlaymenDK Well-Known Member

    Joined:
    May 29, 2009
    Messages:
    1,217
    Likes Received:
    130
    Seconded, that's the proper way to do it.
     
  4. yogeshkalwar

    yogeshkalwar New Member This Topic's Starter

    Joined:
    Apr 9, 2010
    Messages:
    2
    Likes Received:
    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.

    Thanks for your kind help...
     
  5. MuerteMan

    MuerteMan Well-Known Member

    Joined:
    Feb 26, 2010
    Messages:
    111
    Likes Received:
    4
    As far as I know, you are going to have to do it the manual way. If you turn off the notifications for messages it wont effect your app. This is the way the both ChompSMS and Handcent do it. I believe that if there is a better way, they would have figured it out.
     
  6. dbpaddler

    dbpaddler Well-Known Member

    Joined:
    Oct 22, 2009
    Messages:
    2,190
    Likes Received:
    239
    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.
     
  7. KlaymenDK

    KlaymenDK Well-Known Member

    Joined:
    May 29, 2009
    Messages:
    1,217
    Likes Received:
    130
    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:
    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.
     
  8. Mehul S

    Mehul S New Member

    Joined:
    May 10, 2011
    Messages:
    1
    Likes Received:
    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
     
  9. ClubSteeler

    ClubSteeler Well-Known Member

    Joined:
    Jan 7, 2011
    Messages:
    163
    Likes Received:
    19
    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.
     

Share This Page

Loading...