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.