I need to use volume buttons to control a variable parameter in my application. I use Activity.onKeyDown to get notified when the button is pressed but the media volume is also increased. Android is doing something like below when I press the volume key: 1. increase media / ringtone volume 2. pass the event to my application Is there a way to avoid increasing the system volume and use volume key only for my application?
I am a phone junky, I've had a bunch of phones including all the bberry's. Love my incredible, it's like going 10 years in the future. The only issue I have is I keep bumping the volume buttons. Why don't they have an option to Lock the volume by pushing both buttons at one time? Push both of item again and but unlocks the volume.
Say a user runs my app from the HOME screen. The app has 3 tabs. Say he/she selectes a different tab, so he/she is in a different screen (same task). Now - if the user presses BACK - the device returns to the HOME screen. If the user launches my app again - the default tab is shown. BUT - if the user presses HOME - the device returns to the HOME screen (same). If the user launches my app again - the OTHER tab is shown.
I understand (sort of) the logic - BACK returns to previous app, popping my app from the history stack, so when launched again - it is started from scratch. But this is confusing my customers - they say it's a bug ! They dont understand the different between two keys doing the same thing as far as they see (returning to HOME). Moreover - I see a different behavior with the built-in DIALER app - I change tabs, press HOME, launch the app again - and it starts with the default tab.
Any way of completely disabling the physical volume up/volume down buttons (specifically on an SG Mega 6.3)? I never, ever use them, other than to put the volume backup having accidentally depressed volume down! If there's any kind of app or tweak that will disable them that would be great. The only caveat is that my device isn't rooted.
I've had the Telus Desire for just under a week now and everything about the phone was working great until yesterday when the side volume buttons just stopped working. I can't adjust the ringer volume on my home screens, or the media volume when I'm running any apps or the in call volume either. I feel like I've accidentally triggered some volume lock, but I've searched for answers and come up empty. Does anyone have any ideas as to what happened or how I can solve this? They were working just fine up until yesterday, and I don't believe I installed or changed anything since the buttons were working.
When I try to adjust the volume (ringer/media/navigation) I press the button and sometimes it's okay but mostly nothing will happen for up to 5 seconds and then all of the sudden it'll catch up and shoot right to the end. If I press it repeatedly instead of holding on, it normally takes a few presses before the first adjustment then it'll work pretty much okay but it might do a few moves then stop again randomly. The most annoying time is when I'm on the phone and I can't hear what's being said! I do not want to install a volume control app.
Is anyone else annoyed by the fact that the volume and power buttons are positioned at the same level on opposite sides of the phone? When I try to hit the power button I usually hit the volume button as well because of the positioning so my ringer goes from vibrate to on or changes volume. The power button really should have been up top.
The volume control on my Droidx sis locked and can no longer be controlled by the buttons on the side of the phone. I've searched for any other post on this problem and can't find a solution. Anyone know how to restore that behavior?
I have been loving my new X and have experienced zero issues with it until tonight. I noticed that there's light leakage around the volume buttons, where the top and bottom components connect. As I trace around the edges, everywhere seems to fine except at that one connection point. Now I'm really concerned that my phone has a physical defect and may need to be exchanged. Has anyone else noticed this? Should I be concerned and get an exchange? I'm really bummed that my phone may have a problem.
I have a strange problem after using cm10 for a few weeks. suddenly my home and volume buttons aren't working most of the time. When I want to decrearse/increase volume and press the volume button (no matter if i press it fast again and again or if i wait a few second between pressing) it only goes one step louder every 5 seconds. Also when I want to lower volume. i also cant use cwm recovery cause my home button only works maybe once per hour. Now I have twrp touch recovery.
What i tried: - wiped everything several times - flashed gb and ics stock firmwares - flashed different kernels
My volume buttons seem loose. Is that normal you think? Perhaps its a petty thing to think about, but play (I can hear them rattle a bit if I shake the phone gently) in my experience leads to quick wear.
I dropped my phone from a height of less than 2 feet (knocked it off a table) and the back cover and battery fell off/out. So I popped it all back together, but just noticed that the volume buttons on the side of the phone are missing!
I have installed Tasker and I'm new to using it. My favorite music player is Playerpro, but what I was wondering is what would i need to put in variables or actions, if I wanted to use the volume buttons to press skip or back while the screen is off and i'm using the app.I would use Gravity Box to do so but Cyanogen or any of its tweaks and mods are not compatible with the SM-G730v.
After installing cwm recovery twice, now my tablet(micromax fun book pro)does not boot..it only goes in recovery mode on starting...Major problem is, in this recovery mode my volume keys have stopped working , only power button works for for selecting 1st option I.e reboot.
So unable to do anything, can't even select a ROM backup that I have in SD card..
I want to override the default android messaging application. If I receive a sms or mms I want to send that to email but i don't want any notification on phone. So basically I want to replace the default messaging application.
How can I make my application the default one that receive the sms?
I have an application that will have 5-15 buttons depending on what is available from a backend. How do I define the proper GridView layout files to include an array of buttons that will each have different text and other attributes? Each button will essentially add an item to a cart, so the onClick code will be the same except for the item it adds to the cart.
How can I define an array so I can add a variable number of buttons, but still reference each of them by a unique ID? I've seen examples of the arrays.xml, but they have created an array of strings that are pre-set. I need a way to create an object and not have the text defined in the layout or arrays xml file.
Update - Added info about adding to a GridView
I want to add this to a GridView, so calling the addView method results in an UnsupportedOperationException. I can do the following:
But that doesn't layout the buttons in a grid like I would like. Can this be done in a GridView?
I'm looking for a volume control application (or apps that work together) to 1) Change volumes, vibrate etc. at certain times 2) Lock the volume slider (I'm fed up constantly changing the ringer vol)
I have looked through loads of apps but haven't seen one that does both, and if I use 2 separate programs they fight with each other. I'd prefer one with a widget but not a deal breaker. I currently use Timeriffic for the volume settings/timing and Volume Locker for the locking.
I am running out of room on my application for buttons, so I want to stick them into some sort of sliding container, like the one at the top of the Astro File Manager application. How do I go about doing this?
I was just wondering if there was a way to control the volume for each application independently. For example I was using my droid for GPS navigation and music in my car the other day and kept getting shouted at by the navigation since the volume was turned up for the music. Needless to say it gets really annoying fast. This problem stems from the fact that all the apps have their volume control handled by the media volume control.
I currently use Timeriffic, which has been great at managing settings for different times of the day. What I am looking for, however, is an application similar to that where I can define the sound behavior for one specific application.
What I am trying to do is make it so all notifications are at 10% volume during the night, but Id like to make notifications from Google Talk louder, like at 50%. I haven't been able to find anything that would allow a rule like that, but thought Id ask since you guys seem to know everything!
Some Android programs trigger the "media volume" slider when the hardware volume up/down buttons are pressed. My application seems to set the ringer volume when the hardware buttons are pressed. How would I enable the media volume slider? I would hate for users to have to go into their settings to change the media volume when they use my application.
Whenever I put my phone on "silent," its not suppose to make a sound. I have my media volume all the way down. When I get a call, it doesn't ring or vibrate or anything, but when I get a text, it rings. I searched through all the threads about the apps for the volume, but I want to know which one is the best free one. I really don't want a repeat of what happened in my class.
If there was any app that would allow me to control volume of various other applications. One thing I really loved about my old Blackberry is I could set up a profile that muted everything except calls. When I go to sleep at night I want to be able to get a phone call in case of an emergency, but don't want to hear my email/twitter etc. Apps going off all night. Is there anything out there for my Moment that can accomplish this same thing?
I am not able to find out the perfect layout(viewgroup) to place four buttons as shown in the attached image. Basically, i want to place four buttons near the top/left/bottom/right edge of the screen. AbsoluteLayout helped, but it is deprecated (It is also better to avoid AbsoluteLayout as it is not very flexible for orientation changes)