Android :: Intercepting - Blocking All Hardware Buttons From Working
Oct 20, 2010
I'd love to prevent hardware buttons from working while user runs my app. Perfectly all of them, but any number would help :) I am not sure it's doable but maybe I miss something, hence my question. For those wondering - "why?" - we got an app that does full screen colorful animation and users often run it and hand the phone to their babies as they can stare at it for hours :) but the problem is, kids accidentally press hardware buttons (usually camera trigger, but also Home or Search - depending on the device model). I'd love to add the option to block all keys beside one which can hardly be pressed accidentally.
View 2 Replies
Oct 6, 2009
Is there a API for intercepting and blocking a call? What I want to do is to create app that autometically detect incoming call and based on the caller it either alert the user or don's alert the user. Like, if the number is stored in the phone book then alert the user other wise just send a message to the caller that the person is busy.
View 3 Replies
View Related
Jan 10, 2010
Even registering the broadcast receiver at the highest priority still fails to receive the Bluetooth media button events on the HTC Hero phone. The Bluetooth media button registration code works fine on the other Android phones that I have tested. Apparently this isn't the first time HTC has done something like this, as I also found a report of a similar problem on one of the HTC Microsoft Mobile Devices reported here
It seems extremely short sighted of HTC to code their media player so that it grabs the Bluetooth AVRCP media button events in such a way that other applications are unable to work with the Bluetooth head phone buttons and Bluetooth in car stereo systems.................
View 2 Replies
View Related
Sep 29, 2010
I have applied the follwoing selector to all my buttons by specifying it in my theme:
CODE:...............
This works fine. But I want the background of the button to remain "@drawable/my_btn_pressed" when the button is pressed, as if to highlight that this was the last button pressed. Hence, I added the code in my onClick() to set the background resource:
CODE:.............
This also works to highlight the last pressed button with "my_btn_pressed". However after this, my selector properties do not seem to work on the other buttons. Mainly, the state focussed is not distinguishable, at all.
How I can do both, i.e distinguish focussed, pressed and normal states of the button, as well as highlight the last pressed button?
View 1 Replies
View Related
Oct 20, 2009
Since a few days, we get an increasing number of reports of users that are unable to uninstall multiple of our applications. Often people give a 1 star rating in the market then, is it possible to fix this?
Our users comments are for instance: "Uninstalled it yet still appears as installed with buttons greyed out" "This has been uninstalled from my phone for about a month and the icon won't go away. I'll click it and its like I have it installed." "Its a fun app until you decide to uninstall it. It then shows as installed in the market and seemingly a fixture. Can't get rid of it."
This is for 3 different apps, and none of these apps have been forward- locked. We have told some users that emailed us already that they should try rebooting their phone because the market sometimes gets stuck, but that didn't help.
View 2 Replies
View Related
Jun 29, 2010
You can intercept a call on Android?
View 2 Replies
View Related
Sep 1, 2010
I'm writing an application which will have two Activities, when the user presses the back button on the second activity a dialog should pop up asking the user to confirm the action. So how do I intercept this? I seriously doubt about this coz the backstack is a part of the OS itself. Has anyone found a workaround?
View 2 Replies
View Related
Oct 28, 2009
I have an application that generates a list with two buttons for each entry in the list.
It's working to a limited extent. I have run into a problem which I have not be able to resolve.
Can anyone point me to a tutorial or code sample, or both where I could see a working example of a list with buttons attached to individual list entries?
View 2 Replies
View Related
Jun 15, 2010
What's the best way of intercepting screen touches and coords during a game loop? At this point, I don't have a View from my main.xml file, so the normal OnTouchEvent doesn't apply, as far as I can tell. What's the usual procedure for this?
View 2 Replies
View Related
Feb 26, 2010
I just went through the API and found nothing to intercept incoming and outgoing email messages.
View 7 Replies
View Related
Oct 14, 2009
I've had my phone for a while now but a few days ago some of the physical buttons stopped working. I'm not sure why but the home, call pick up, and camera buttons now no longer function. I'd have assumed this was a physical fault immediately, however when the screen is darkened (power save?) if I press any of the "failed" buttons then it will light up again! I'd be interested in knowing whether there are any diagnostic tools available for this also. Failing anything else I'll be phoning O2 to get phone replaced! I've updated to II4 via the NPS update and they are still broken.
View 5 Replies
View Related
Aug 14, 2010
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.
View 3 Replies
View Related
Feb 12, 2010
I intend to buy an N1 soon, but I have been reading some reviews and I found many complains about hitting the home buttons by accident when you don't want them to work, and have problems pressing them when you need them. Was that issue already addressed in some previous OTA update? Or is it a hardware flaw? What can I expect about this problem?
View 1 Replies
View Related
Aug 28, 2010
I only got my X10 just over a week ago and the menu, home and back buttons on the bottom were randomly not working and it's only becoming more and more consistant. It's driving me nuts and it's especially frustrating since it's a brand new phone. I can't find anything on the internet and yes my phone software is upgraded. The guy at Rogers was like oh welllll guess you'll just have to wait 2 weeks until the next upgrade then MAYBE it will work again.
View 14 Replies
View Related
Aug 25, 2010
The "Menu", "Back" and "Search" buttons are not working for some reason? The "Home" button is the only one that works. I'm talking about the hard buttons on the bottom of the phone.This started today. Tried removing the battery and restarting the phone and that didn't seem to work either.Now Droid X not booting at all. Just stays on the "M" and nothing happens. Tried the Power button with home key press to get to recovery and nothing.
View 2 Replies
View Related
Jun 7, 2010
I'd like to create dynamic HTML in my app that will also include referecences to a few images. The images should not be resolved / requested by the internet, but instead I would like to somehow intercept these calls and then respond will classpath resources to those requests.I think this is similar how phonegap or titanium do this, but this is just an assumption.Does anyone know how webkit's resource loading can be intercepted and resources can be served from a local cache/ classpath intead of contacting the internet?
View 2 Replies
View Related
Jul 19, 2010
The buttons at the bottom of the phone (not the hard-press buttons, but the lower row of touch-screen buttons -- dialer, open app list, and contacts), are non-responsive.
Everything else seems to be working okay. Tried powering off/up, also tried battery pull, still the same.
I'm close to opting for "restore factory settings", but I've spent some time customizing, and that's really a last resort.
View 5 Replies
View Related
Sep 5, 2010
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.
View 3 Replies
View Related
Aug 26, 2010
Volume Buttons have stopped working. How annoying. Just got everything setup my invisible shield on. And I am going to have to get a new phone.
View 6 Replies
View Related
Mar 30, 2010
Discovered that the lock button on the side of the phone and the red end call button does not work...by themshelves! I have to push the home buttom and either one of the non-functioning buttons for it to work.
It's both a relief and pain to have figured this out. For the longest time, I thought the battery was horrid because when I would push the unlock button, the phone would not recognize it so the screen remains black making me think it off, out of battery. But then I noticed recently that the phone comes on when I hit the home button.
This is such a let down, you are never happy when your purchase breaks. Fortunitely I have the replacement insurance if it need be used. I was wondering if this is a known problem and can be fixed by me or if the phone need to be sent in for a replacement.
View 1 Replies
View Related
Jul 7, 2010
Just got my 1st problem with my nexus 1, had since january. my home and google search keys has stopped working. also the power button no longer locks the phone. problem started when the wi-fi wouldnt turn on, so i rebooted phone and then lost all these buttons when started up again. not done a factory reset yet as i am still at work and want to make sure ive got everything backed up 1st. also what is the best application for backing up sms?
View 4 Replies
View Related
Jul 12, 2010
Hey guys ive just got my x10 yesturday the phone is geat but one problem every once and a while the 3 buttons on the front just stop working and i have to reboot my phone for them to start working again. Is anyone else having this problem, is my phone just faulty?
View 4 Replies
View Related
Sep 17, 2010
I've only had the X10a for about a week.Everything was working fine.However, I'm starting to have issues with the three menu buttons at the bottom.I will power up my phone, and the buttons will work for about 5 minutes.Then the two LED lights between the buttons will just randomly shine one time (even though I did not press a key) and go off.Once they go off, and I try to press a key, nothing works.The LEDs don't come on, and none of the buttons work.Does anyone have any idea what might be going on? This just started happening to me today.I really would appreciate any help, as I can't really use my phone right now in its current state!
View 3 Replies
View Related
Oct 14, 2010
recently the bottom buttons (ie. menu, back, etc) arent working as well as the side ones.I can only use the screen.Upon turning on the phone the buttons will work for a maximum 2 minutes and then I have to rely on the screen.I tried repairing and reinstalling everything but it didnt work.Ive also read that it could be from holding the camera button down but that is not the case.
View 3 Replies
View Related
Nov 1, 2010
Once a day my phone freezes to the point that the bottom buttons are non-responsive. The only fix is to reboot.Any ideas? There's no pattern - it can happen as I'm actively using the phone or as I start to use it after it's been idle for an hour.
View 7 Replies
View Related
Aug 31, 2010
For someone my keyboard on me Xperia X10 Mini doesn't seem to work as it should and by that i mean when i press some buttons like the . or a it. will print out more than one letter or even a whole string of numbers. Also when i press the back button all it does is close the app rather then going back. Which is what the middle button should be doing.
View 2 Replies
View Related
Jul 21, 2010
Sometimes the three touch screen tabs at the bottom of the screen ,just stop working ,i can move between home screens and all other touch screen icons work,but not the three at the bottom,then suddenly they will respond Anyone else had this?,i have not installed any apps for a while so i dont think it is an app causing it.
View 2 Replies
View Related
Mar 23, 2013
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
View 1 Replies
View Related
Oct 30, 2011
I am looking for an app that can:
- make a log of all the other apps, including stock ones, that make attempts or actual connections to the internet, and at what time
- be able to intercept those connections
- preferably I would create a white list of apps that are allowed to connect, but others do not have permission.
Purposes include:
- saving on bandwidth in poorer countries where internet is expensive.
- making sure apps or malware doesn't try to send off my data when it shouldn't be.
- prevent annoying background sync/apps from running when I don't want them
I find it strange that we either give all the permissions the app wants, or it doesn't work. Why can't we restrict their internet access?
Does this sound feasible? Does it already exist?
I'm rooted and using an Asus Transformer.
View 3 Replies
View Related
Jul 10, 2013
My galaxy s2's screen has occasionally stopped responding, the os was still running and everything so it wasnt frozen, my touch screen just simply stopped working. Only way to fix it was to hit the back of the phone and do a battery reset. This issue started poping up more and more, and now it won't respond.
Model: GT-I9100M
No custom roms/kernels have ever been installed, has always run off the stock. Never been dropped or had water on it (I took very good care of it).
The nav bar at the bottom (back/search/options/menue) and hardware buttons all work. Everything above the screen no longer works.
What iv done: I've reset the phone, did a bettery pull for the night, fully charged it, looked at the board and checked all the connections (all good). Would flashing a custom rom/kernel be something to try next? Why would the bottom nav bar work but no the rest of the screen? Could it be locked somehow? If it is.. how would I unlock it?
View 1 Replies
View Related