Android :: How To Make Phone Silent Through Code?
Aug 16, 2009
Has anyone made the phone silent from code? Is there any permission needed? I am using this method, but it's doing nothing:
((AudioManager) context.getSystemService(Context.AUDIO_SERVICE))
.setMode(AudioManager.RINGER_MODE_SILENT);
View 3 Replies
Aug 6, 2010
So I downloaded Tasker and created a profile that's supposed to silence my phone when it's plugged in at night, and it almost works. Tasker says the profile is active and I can see the "silent" icon in the notification bar, but texts and emails still make noise. As far as I can tell, Silent Mode is also supposed to silence notifications, but it's not working for me. I'm using Handcent SMS and Gmail.
View 1 Replies
View Related
Jul 16, 2009
I have downloaded the code successfully using "repo sync" on my linux system and now I want to buld it using make but it fails and telling that
"frameworks/policies/base/PolicyConfig.mk:22:*** No module defined for the given PRODUCT_POLICY (android.policy_phone) . stop. "
View 9 Replies
View Related
Jun 24, 2010
A lot of Android apps are open source, but how can we make sure the person who finally uploads to the Google Market does not include some spyware just before uploading?
Background: Mobile apps security seems to be a growing concern, and I would like to reassure the users of my Open Source Android app. Solutions that require to modify the deployment process or application content are acceptable too.
View 1 Replies
View Related
Jul 25, 2010
I am trying to create something similar to Blackberry Messengers "PING" function. I want certain people to be able to make my phone vibrate even if I have placed the phone on silent mode. I have tried to use Setting Profiles to do this, by creating a profile (let's call it "Profile1") that turns on notification vibrations. I also created a rule that would activate Profile1 if I received a text message from someone containing the phrase "PING".
But when I test this out, the Profile1 never activates. As I've messed around with the rule, I've also tried having the rule activate based on the receipt of any text message (i.e., leaving the "*" in the contents field), and that does not work either. Any suggestions for those of you familiar with setting profiles, or if you know of another application? I have an EVO 4G.
View 2 Replies
View Related
Aug 31, 2010
I am making a slideshow app. I have been looking for a sample code, but I couldn't get it. Does anyone know sample code for it?
View 3 Replies
View Related
Jul 28, 2009
I'm try to make a dial in native code, could i make a dial with RIL through socket or IPC communication?or push AT command directly to GSM Modem.
View 2 Replies
View Related
Sep 13, 2010
I have some ideas about running some anti-piracy measures for my app so I wondered if I could do this to sign the application on install. Running the code on first launch is no good, because someone could still copy out the apk without running it.
View 1 Replies
View Related
Jun 19, 2010
Any application that switches the phone to silent and back again without having to press the on/off button please?
View 2 Replies
View Related
Dec 2, 2009
I got reports from some users that after making the phone silent with my application, sometimes, text messages or emails still make sounds. I don't have a phone so this is why I am asking. The application is making the phone silent this way:
final AudioManager am = (AudioManager) context.getSystemService (Context.AUDIO_SERVICE);
am.setRingerMode(AudioManager.RINGER_MODE_SILENT);
View 2 Replies
View Related
Jan 12, 2010
code snippet to identify whether the phone is in Silent mode or not. I am using Android 1.5. I tried by using "android.provider.Settings.ACTION_SOUND_SETTINGS". It is not working.
View 2 Replies
View Related
Apr 7, 2010
I want to make my phone communicate with computer with socket. I have try many kinds of source in internet. None of them works. The phone always display "HelloWorld <ActivityName>". Log.d() seems not work on my phone, because, I have used that, but nothing was printed.
View 3 Replies
View Related
Nov 16, 2010
I'm not sure what's going on with my Evo, but all of a sudden it's been deciding to put itself in silent mode for no apparent reason and I'm missing tons of calls because of it. I will turn the sound back on and then all of a sudden it's off after a couple of hours for no apparent reason. I don't want to have to return the phone, but I'm not sure what other options I have at this point. Has anyone heard of this issue?
View 3 Replies
View Related
May 18, 2010
I am going to try taking my eris in to get it exchanged because of the silent phone problem. I am on leak 3. I have some questions first though.
- Will I even be able to have a legitimate complaint if I am on a leaked version?
- Will a new eris come with 2.1 or 1.5?
- if the new eris has 2.1 what are the chances of this happening again?
I cant stand having to reboot to use my phone as a phone.
View 20 Replies
View Related
May 2, 2010
Is it possible to turn the phone on silent but still have the alarm go off in the morning? I was able to do this with my env touch. I would just set it to "alarm only" for the volume setting.
View 5 Replies
View Related
Jan 18, 2010
I like to put my phone on silent but keep the vibrate on. Does anyone know an app that does this. I'd also like to disable the volume controls at the side of the handset because I sometimes knock this and that turns the ringtone back on. Is this possible.
View 7 Replies
View Related
Oct 30, 2010
My phone has a really annoying habit. Every night before I go to sleep. I switch it to silent mode. But if a call or a text message comes through overnight it vibrates. The next morning I find that the phone is now in vibrate mode. I did have Foxy Ring installed, although it was not activated. I wondered whether it could have anything to do with this, but I've now removed it from the phone, but the irritating behaviour persists. Short of turning the phone off overnight, how can I get a quiet night's sleep?
View 2 Replies
View Related
Jul 13, 2010
Does anyone know how to get them back? I am not really sure when it happened, but my audible touch tones are set to short. I have tried each of the settings for that, and have also rebooted, just no touch tone sounds.
View 10 Replies
View Related
Sep 23, 2010
I got my Inc about 2 months ago and at first I thought this was just a fluke, but it's happening all the time. Basically, if my phone is sitting flat on my desk and I get a call, the phone will ring for about a second before going silent. It still vibrates and still wants me to answer the call, but the ringtones have stop.
I even experienced this today driving in to work. The phone was sitting on my leg when I got a call. Same problem. Rang for a second and then silent. If I am holding it or it's in my pocket, it seems to ring without any problems. That "silent ring on pickup" or whatever option in the settings is not selected and I don't believe I have any sort of app installed that controls the volume of the phone.
View 5 Replies
View Related
May 4, 2010
I've noticed that my notifications were sporadic, both from e-mail and messages. I think I even missed a call once and was surprised because I never heard it ring/vibrate. After some testing I think I've figured out that when the phone is in my pocket, and I'm sitting at my office desk, the phone is face down in that same, fairly flat level position, that turns the ringer off if you flip your phone over on a desk while in a meeting. Is there any way to turn this feature off?
View 28 Replies
View Related
Aug 11, 2010
Last week I downloaded and installed the file for the 2.2 update, the FRG01B or whatever.
Since then:
- I cannot put my phone on silent. It will only go down to vibrate.
- Battery life has diminished. Went from lasting on average I'd say about 26 hours or so to now about 20.
- Some text messages don't go through to people I send to, and some sent to me don't come until much much later.
Now that I'm reading that the actual OTA update that is being pushed out again today is the same as what I forced last week, I'm beginning to consider just going back down to 2.1 so I don't have these issues.
View 6 Replies
View Related
May 20, 2010
Let's see if those of you with the "Silent Bug" in 2.1 have apps in common
View 12 Replies
View Related
May 22, 2010
Been messing around for a very long time with apps to see exactly what is causing this, and never found anything. Recently i downloaded Launcherpro and the problem has not come up since then (knock on wood). Maybe it could be HTC Sense?
View 28 Replies
View Related
Jan 16, 2010
I've looked for an answer through out the forum but did not find one if I overlooked it sorry. But the problem I have is even when I set my phone to silent or vibrate it still has and audible ring. Email and other notifications are silent but the ring isnt. I use home++ and stock home and it does the same thing. I can set it to silent using the stock silent or using ringer widgets. I will try anything, Ive had way to many embarrassing moments with Chris Brown playing during quiet time.
View 4 Replies
View Related
Sep 22, 2010
Looks like there is no way to make the phone completely silent without having to press a button when a call is coming in. I tried pressing the volume button all the way down, pass the vibrate mode but that seems to have been removed in 2.2.
View 2 Replies
View Related
Nov 3, 2009
Sometimes when my phone is on silent and I turn it off and reboot it, it plays all the start up sounds as its loading. Sometimes, it does not. I hate this, because at work (in a spa) I keep my purse in my cabinet, and I don't love for it to play a bunch of sounds when it is supposed to be on silent. This is the only thing that makes any noise when the phone is on silent, and its only sometimes.
View 2 Replies
View Related
Sep 13, 2010
I wanna have the phone on silent but the alarm ringer on. Anybody know if this feature is available?
View 4 Replies
View Related
May 23, 2010
I was just wondering if there is a way to force the silent phone issue. I've had it once, I'm on the v3 leak, and I'd like to get a refurbished Eris. Last time I had it I just rebooted it and it worked but I was wondering if there was a way to force it?
View 2 Replies
View Related
Jun 3, 2010
Anyone having issues with their phone changing itself to Silent mode? Every morning, I switch to Vibrate before I go to work. At roughly 9:00, the phone will then change itself to Silent mode without me doing anything.The only thing I can think of is that I used to use the app "Settings Profiles" to do changes for me automatically. I wasnt crazy about it though so Ive uninstalled it. The program no longer shows up for me so I dont think thats the problem.
View 1 Replies
View Related
Sep 17, 2010
My phone has gone completely silent, it does not ring for an incoming call it just vibrates, silent mode is not on, I do not get any sound alerts at all for any messages. I have done a factory reset and it is still the same. Does anyone know how to fix this?
View 1 Replies
View Related