Hi
I have created a Service in android to check the incoming message .I want show the notification to the user at the time of new incoming message.And to view the body of the incoming message in the class.
That means how to pass the message body from Service to the Active class
Please any one help me
Is your Service working? Are you calling BroadcastReceiver as an intent inside your Service?
At that point, the default SMS receiver will post the notification. You can pop-up an Alert Dialog with the message. Which is basically the same thing as the user going to the default SMS client.
What are you trying to accomplish?
Related
Hello, I´m trying to kill by code the notification popup bubble that is shown when you receive a new sms message, just inmediatly when it appears
Is it possible ??
Thanks in advance
This is a problem that the SMS app should clean up. Basically, the sms notification messages tell the phone to do things. For example the message to turn on the new SMS indicator is a blank text message with a subject of
Voice Mail
From
"Voice Mail System" . <[email protected]>
The SMS application should delete it afterward. After Talking to a smart guy from T-mobile Wireless Data group I also learned that this is a function of the Glenair voicemail system. Some upgrades cause it to send these messages as I did NOT get them in the past on my Nokia 8290. Some handsets do this automatically apparently or maybe its just something new.
Of course I may be totally wrong...
other imput appreciated.
BeDammit
Beos aint dead
http://www.yellowtab.com[/b]
There`s a key in the registry (HCUK/Software/Microsoft/SMS/Protocols/..) in which is defined which Application should start when a SMS arrives, standard is /windows/tmail.exe - if you change this key(s), you can redirect the SMS to other programms and the POPups are away. But be carefull: If the Application in the key don`t handle the SMS, the SMS-Text are "lost in space".
Hope that helps al little bit? ;o)
Greetings from Hannovre,
Andreas
Bedammit said:
This is a problem that the SMS app should clean up. Basically, the sms notification messages tell the phone to do things. For example the message to turn on the new SMS indicator is a blank text message with a subject of
Voice Mail
From
"Voice Mail System" . <[email protected]>
The SMS application should delete it afterward. After Talking to a smart guy from T-mobile Wireless Data group I also learned that this is a function of the Glenair voicemail system. Some upgrades cause it to send these messages as I did NOT get them in the past on my Nokia 8290. Some handsets do this automatically apparently or maybe its just something new.
Of course I may be totally wrong...
other imput appreciated.
BeDammit
Beos aint dead
http://www.yellowtab.com[/b]
Click to expand...
Click to collapse
This notification you mention is specific to T-Mo and does only that, wake up. I have tried to kill this little run many times with no avail. For some reason the 2003 OS's except 4.00.10 do not have this as a default. I did not do a system snap in between upgrades, wish I did then I could finally tell what little bastard does this and kill it in future versions if I or other US users are happy being notified only once instead of twice by two different methods that they have a flippin' Voicemail :roll:
On MDA there's an Option to turn off the Bubble (but there's also an envelope on top of the screen.
Start->Settings->Sounds&Notifications->Notifications->Post: New SMS
If you remove the hook on "Show Message" further on there is no bubble again
Greetings from hannovre,
Andreas
Hmm i use SMS receiving acknowledgement by standard.
Can i turn off the signaling for it?
I think just a popup is enough. I dont need a "beep beep" on my phone immediateley after sending a SMS to another.
Hello messia,
As the SMS notification is a simple SMS you recieve from the network when the recipient get your SMS, you have to deactivate the sounds for incoming SMS's.
You can controll all notifcations in the settings:
Start > Settings > Sounds & Notifications > Notifcations
(Start > Einstellungen > Sounds & Benachrichtigungen > Benachrichtigungen)
If you choose "Messaging: new SMS" (Messaging: neue SMS) , you can turn off the sound for incoming SMS messages.
The downside of this is that sound notification is disabled for all incoming SMSs, not only for the send notifcations.
Greetings,
BGK
thx but that is not the problem, the problem is that i want a sound for a new sms i get, but i don`t want a sound for a sms that someone receives from me.
A popup for this is sufficient
I remember turning OFF the notification of sent messages previously, i think the info is in the forum somewhere, but it turns it all off. Both sound and popup.
I think it was a registry hack too. Was a long time ago, im fighting wm2005 now so havent got time to check back how i did it sorry.
yes i know how to deactivate completely but i just want to deactivate the annoying sound
it`s impossible, isn`t it?
Yes, it is impossible. The SMS you receive from the network looks the same as an sms from one of your contacts to your phone. The device cannot distinguish one SMS from another, so you can only choose to switch of the sound for all sms-es. You can also choose to disable delivery notification entirely, but then you will only get a pop-up that the sms is send, not when it is received by the other party, since the network will not send you an sms to notify you of delivery.
However, even when I am writing this, I consider two issues:
1. There is some program floating around that enables blocking certain senders of sms. That means however that the sms will not reach your phone, so this is bascially the same result as with switching sms delivery notification off.
2. BUT! Darek, the creator of DKToday ( search for him on this forum with the term DKToday, or his name dkot) uses the SMS delivery for counting the number of sms send this month. Basically, he could not find a way to extract sent sms info from the system, so instead, he chose to count the returning delivery notification sms from the network as a measure of the no. of sms sent by you. So, in some way, he must be able to distinguish delivery notification sms from normal sms, as sent by your contacts. I recommend you to contact him and ask him how that is done, maybe he can tell you what the distinguishing feature is between normal incoming sms and network sms.
Edit: After re-reading your first post in this thread, I may have given you an answer to a problem you did not have. Do you want to cancel out the sound for the incoming network delivery notification sms, or the sound from the pop-up after sending the sms ( the system sound)? For the delivery sms, see my answer. For the system sound: I have no clue...
I have written to him. Maybe he can help
hello all, this is my first post on your forum, i'd like to ask if there's a way to prevent delivery reports to SMS's from being sent when i receive SMS's. I use Call SMS blocker but when i set it to block incoming SMS's the delivery report is sent, so the sender actually knows that his SMS reached its destination. I would really like to able to receive SMS's without sending delivery reports, but i don't know if it can be achieved. I have the v1640.
Delivery Reports like this are controlled and sent by your telecoms provider, not your device.
When you send an SMS, your device informs you that it has been sent to the network...if necessary, the SMS is transferred to the end users home network and when the SMS is sent from the network to the end users device a delivery report is then sent back to your device (if delivery report was requested in the SMS)
You cant stop it
yes i am already aware of that, but i was wandering if somehow i managed to intervene with the reception of SMS's and fool the network into believing that the SMS has not been delivered to me, like when the phone is off for example. There must be some kind of talking between the network and the phone regarding the reception of SMS's.
The network sends the delivery notification when it sends the SMS to your phone, and it send the SMS to your phone when your phone is visible.
The only way you can stop these notifications is to turn your phone off - you cant intervene with the network provider, they wont let you and yyou cant change the standards set for SMS
The other thing is, if you managed to somehow stop the network being told you had received the SMS, presumably, it would just keep trying to send it to you.
Ouch!
There is always a way
After receiving an SMS message, the recipient mobile phone will send back a message delivery report to the SMS center to inform whether there are any errors or failures (example causes: unsupported SMS message format, not enough storage space, etc). This process is transparent to the mobile user. If there is no error or failure, the recipient mobile phone sends back a positive delivery report to the SMS center. Otherwise it sends back a negative delivery report to the SMS center.
If the sender requested a status report earlier, the SMS center sends a status report to the sender when it receives the message delivery report from the recipient.
Once your phone receives the SMS, you can decide whether to block it. In case you wanna block it, the application has to simply send a Storage full / Message format not supported Error to the message station instead of normal status.
There's always a way guys
ameypg said:
After receiving an SMS message, the recipient mobile phone will send back a message delivery report to the SMS center to inform whether there are any errors or failures (example causes: unsupported SMS message format, not enough storage space, etc). This process is transparent to the mobile user. If there is no error or failure, the recipient mobile phone sends back a positive delivery report to the SMS center. Otherwise it sends back a negative delivery report to the SMS center.
If the sender requested a status report earlier, the SMS center sends a status report to the sender when it receives the message delivery report from the recipient.
Once your phone receives the SMS, you can decide whether to block it. In case you wanna block it, the application has to simply send a Storage full / Message format not supported Error to the message station instead of normal status.
There's always a way guys
Click to expand...
Click to collapse
i tried googling.... but can't find such s/w... can u pls help me wid dat.....
Guys,
To the best of my knowledge you'd need to know the exact SMASI interface being used by the operator and then find a public API to be able to call it.
I've done it on a server level in Perl, but not on a device level.
Has there been any progress here?
Follow-up
Hello guys,
9yrs since the question first appeared. Has anyone had any success on this?
I have removed SMS app by rooting my android mobile. I tried to send SMS to that device and guess what? Of course, I did not received any SMS because I had removed SMS app completely by rooting but at the same time my second phone from which I had sent SMS received "delivered" report !!! How come?
CHD_2017 said:
I have removed SMS app by rooting my android mobile. I tried to send SMS to that device and guess what? Of course, I did not received any SMS because I had removed SMS app completely by rooting but at the same time my second phone from which I had sent SMS received "delivered" report !!! How come?
Click to expand...
Click to collapse
Hi, i believe that the messages app isn't responsible for the delivery reports process. It is only responsible for showing the sms and sending. I have a messages service app in my phone so i think it is the one responsible for that, or there is another reason. For now I'm still searching and i will try some tinkering in my phone until i achieve a result and the I'll post it on XDA
Hi,
In some countries, if you send sms to landline phone via cellphone, you will receive delivery report!
ameypg said:
After receiving an SMS message, the recipient mobile phone will send back a message delivery report to the SMS center to inform whether there are any errors or failures (example causes: unsupported SMS message format, not enough storage space, etc). This process is transparent to the mobile user. If there is no error or failure, the recipient mobile phone sends back a positive delivery report to the SMS center. Otherwise it sends back a negative delivery report to the SMS center.
If the sender requested a status report earlier, the SMS center sends a status report to the sender when it receives the message delivery report from the recipient.
Once your phone receives the SMS, you can decide whether to block it. In case you wanna block it, the application has to simply send a Storage full / Message format not supported Error to the message station instead of normal status.
There's always a way guys
Click to expand...
Click to collapse
So sending a failure delivery report to the SMS center will also send a failure delivery report to the recipient mobile phone? This would not be a complete solution to prevent delivery report but a way to prevent a successful delivery report. The sender could still track if the device is connected to the network.
If I remember correctly, I noticed that when some mobile network operators are overwhelmed with SMS, for example at the time of New Year's Eve in France, SMS can be received (sometimes delayed) but no delivery report is sent.
Also, if someone sends an SMS to a mobile phone that is powered off or in flight mode for several days, the SMS may never be delivered. I had this kind of issue with Lycamobile Germany and sometimes the SMS was delayed for several hours if the mobile phone was just powered off or in flight mode for a few minutes while the SMS was sent.
No there must be some way for real for example u can receive calls while it says your phone is shut down to the caller so if that can be done this can be also.
I am also looking for the same since long.....
Hey guys,
Ok so I have my txt messages set to vibrate when they come in. Well the problem i have, well i guess its more of a preference, is that when im in HTC Threaded messages view and I recieve a new txt message it wont vibrate or anything, the message will just pop up. But it does do so when still in the windows mobile threaded messages view.
So my question is, is there a way to make it vibe when I receive a new txt message while still in the HTC Messages view?
Thanks.
I'm trying to make an app through which I can send remote commands to my phone via SMS from another phone. I want the program to detect when an SMS comes from a specific number and intercept it, i.e. preventing the Messaging app from ever detecting it and showing it in the Inbox.
Would this be possible without turning off notifications for the default messaging app and if does anyone know of any example source code?
Thanks
Recognize/React on incoming SMS :: anddev.org - Android Development Community | Android Tutorials
From what I recall there is no way to cancel the intent from being sent to other recievers, but you can adjust the priority yours is called in relation to others using the priority attribute. Set your reviever to run after the text message activitiy's receiver (use priority -1), and identify/delete the message using the text message content provider.
I think that's right, I am out right now and can't research it.