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

Discussion in 'Android Apps & Games' started by yogeshkalwar, Apr 9, 2010.

  1. yogeshkalwar

    yogeshkalwar New Member
    5

    Apr 9, 2010
    2
    0
    5
    Sr Software Developer
    Mumbai, India
    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
    183

    Mar 6, 2010
    1,483
    255
    183
    Operations Manager
    Rochester, NY
    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
    143

    May 29, 2009
    1,217
    130
    143
    Denmark
    Seconded, that's the proper way to do it.
     
  4. yogeshkalwar

    yogeshkalwar New Member
    5

    Apr 9, 2010
    2
    0
    5
    Sr Software Developer
    Mumbai, India
    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
    56

    Feb 26, 2010
    111
    4
    56
    Student
    New Mexico
    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
    143

    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
    143

    May 29, 2009
    1,217
    130
    143
    Denmark
    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
    5

    May 10, 2011
    1
    0
    5
    Pune-Maharashtra-India
    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
    38

    Jan 7, 2011
    163
    19
    38
    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...