Android :: Cant React To Home Button

Nov 27, 2009

How can I get my app to react when the "Home" button is pushed in the emulator? The back button works fine. I tried logging something every time onPause or onStop is called, but the button isn't triggering anything. How can I react to this action? I did research and know that onKeyDown won't work either.

Android :: Cant react to home button


Android :: React To Screen_on Only When User Pressed Button

May 17, 2009

I have a BroadcastReceiver that receives SCREEN_ON. If the screen came on because the user pressed a button, I want to do something. However, if the screen was turned on by an app (e.g., alarm clock going off or SMS popup), then I don't want to do anything. Anyone know how I can differentiate between the two cases?

View 2 Replies View Related

Android :: Using Any App And Press Home Button Home Screen Blacks Out - 10 Sec Delay Get All Icons Back

Mar 30, 2010

Whenever I am using any app and press the home button, the home screen blacks out for a few secs and it takes around 10 sec to get all the icons back and before I can start using my phone again. I am using a non rooted mytouch 3g.

This problem does not happen if I exit an app by pressing the back button. It becomes very annoying at times.

View 7 Replies View Related

Android :: How To Control Activity Flow - Back Button Versus Home Button

Sep 2, 2010

I have 3 activities in my app: Activity1 -> Activity2 -> Activity3. Inside Activity3, if the user presses Back, I would like to return to Activity2. In Activity3's onPause event, I added a finish() statement. That's probably not even necessary, but I wanted to make sure this Activity gets cleaned up. This works fine.
However, while in Activity3, if the user presses Home or starts a new app (through notification bar or some other means), I want both Activity3 and Activity2 to finish. If the user returns to this app, he should resume with Activity1.

I have figured out how to do one or the other, but I can't figure out how to handle both cases, if it's even possible. Can I trap the "Back" button in Activity3 and send a message back to Activity2 telling it not to finish()? It seems like the Activities follow the same lifecycle flow (Pause, Stop) regardless of what you do to send them to the background. Just to answer the question of why I want this behavior, imagine that Activity1 is a login screen, Activity2 is a selection screen, and Activity3 is a content screen. If I press Back from the content page, I want to be able to make a new selection. If I exit via any other means (Home, notification bar), I want the user to be "logged out".

View 2 Replies View Related

Android :: Overriding Home Button For Car Home Replacement Application

May 19, 2010

I have been working on a replacement for the stock Car Home app for a bit, and I am completely stumped on how to override the Home button so that my app will be brought back to the foreground whenever the phone is docked. This is the way that Car Home works, so there must be a way. It seems that BroadcastReceivers won't work, because the intent that is broadcast whenever the Home button is pressed will still cause the default homescreen app to launch; I cannot prevent it. I can override the Home button from within my app, but that does me no good since this needs to work when the user is outside my app. Car Home also does not do anything weird like set itself as the default homescreen app while it's running (I checked the logcat to make sure).
I've been really beating my head against the wall on this. Does anyone have any ideas, or can you at least point me in the right direction?

View 3 Replies View Related

Jelly Bean :: Galaxy S4 Home Button Not Taking Phone To Home?

Jan 11, 2014

it keeps acting as if I long pressed it when I only click it once.

View 2 Replies View Related

KitKat 4.4 :: Droid Maxx - Home Button Goes To Home Screen After Update

Jan 25, 2014

I updated my Droid Maxx to 4.4. The change I first noticed is that the home key takes you back to the home screen instead of just leaving an app and returning to the screen I was originly on. This is definitly new. Is there a way to turn it off?

View 16 Replies View Related

General :: Lock Button Isn't Working / Home Button Gives Power Screen (Samsung Vitality)

Jul 26, 2012

My phone was working just fine and randomly the lock button stopped working and the home button brings up the power screen!

View 1 Replies View Related

HTC Droid Eris :: Home Option When Pressed Home Button

Mar 8, 2010

Where is this from i noticed it when i got the app pandahome I have deleted the app but it still is there. So what is it . Is it from panda home and if so should I take it off and how.

View 4 Replies View Related

Samsung Captivate :: Home Screen When Hitting The Home Button

Jul 21, 2010

Is there a way to set the which of the home screens the phone goes to when you hit the home button?

View 4 Replies View Related

Motorola Droid X :: 2nd Click Of Home Button As Sleep Button?

Nov 2, 2010

I like being able to wake the phone to view the lock screen using the home button at the bottom of the phone, but is there any way to make it so that a second click of that button, or a click of one of the others down there, will make it sleep again? Having to press the power button up top is just an inconvenience.

View 5 Replies View Related

Android :: Implement Multiple Views That React To OnTouch?

Oct 10, 2010

Let's say I have MyActivity and inside my onCreate method I initialize MyBackgroundView, then MyPlayer1View then MyPlayer2View. I want to be able to touch the screen, figure out if I have touched Player1 or Player2 and then respond with changes to the players if I have touched them.

My problem is, where do I put the onTouchListener? Can only MyBackgroundView listen for touches, or can the players listen for touches too? If MyBackgroundView can only accept touches, do I need to call view.ontouchlistener that says, you have touched me, and I have a player at those coordinates, so I'll pass the motion event to the player and let it handle it? Or do call view.ontouchlistener in each of the players that says, you've touched me, now I will react to the motion event?

View 1 Replies View Related

Sony Ericsson Xperia X10 : X10i - When Press Home Button - Get A Prompt To Select To Complete Action Using Home Or Timescape

Sep 16, 2010

I am a new member and a relatively new owner of an X10i. Overall I am happy with the phone but I am hoping some can answer a question. When I press the home button (middle one) I get a prompt to select to 'Complete Action using Home or Timescape' This is quite annoying. I want the default action to be Home (not Timescape) but despite ticking the box in the prompt it still pops up this box.

View 3 Replies View Related

HTC Magic :: Home Button & Call Button Not Working

Oct 20, 2009

this morning when I wake up I realized that:

- home button is not working
- call button is not working unless you're into the contacts application (doesn't work from home page)
- Astrid application has lost all of the TODO tasks.
- It doesn't asks for the unlock graphical code!

It lost all of its battery yesterday night while surfing on the browser. My phone is an HTC MAgic Vodafone, using Android 1.6 Any ideas on how should i proceed? I soft reset the phone already.

View 4 Replies View Related

Android : When Click On GDE And Click The Home Button - Switches Back To Stock Home Screen

Dec 19, 2009

When I DL'd the GDE app, I accidentally set my stock droid "HOME" screen as the default screen when the popup box came up asking me to choose between stock Home and GDE. Now when I click on GDE and click the home button, it switches back to the stock Home screen. How to I switch the settings now to set the GDE app as the new home screen?

View 15 Replies View Related

HTC Incredible :: Why Phones React Differently?

Aug 25, 2010

I'm a little confused toward this one. People seem to have really varied reports about certain kernels and ROMs and whatnot working on their phones. For some, King's #1-3 are either really stable or completely unusable. Same goes for the Hydra kernels, or Skyraider, or Cyanogen.

But I don't get WHY this is the case. Take two Incredibles off of the HTC line and somehow they react differently to the same pieces of software. How's that work?

View 2 Replies View Related

Motorola Droid :: Phone Screen Does Not React To Anything / Fix It?

Sep 11, 2010

My friend has a droid 1 and when passing your finger over the screen the phone does not react to anything . does this mean the sensor went bad ? is there a fix for this ? he went to verizon and they wouldnt do anything for him. any ideas ?

View 1 Replies View Related

Android :: Android - Override Back Button To Act Like Home Button

Jan 4, 2010

On pressing the back button, I'd like my application to go into the stopped state, rather than the destroyed state. In the Android docs it states: not all activities have the behavior that they are destroyed when BACK is pressed. When the user starts playing music in the Music application and then presses BACK, the application overrides the normal back behavior, preventing the player activity from being destroyed, and continues playing music, even though its activity is no longer visible


How do I replicate this functionality in my own application? I think there must be three possibilities.

1) Capture the back button press (as below) and then call whatever method(s) the home button calls...........

View 2 Replies View Related

Android :: Changing Back Button Press To Home Button Press

Sep 1, 2009

Trying to the do as the title describes with the following code, but it doesn't seem to work. It just does nothing once i have altered the keyCode. Do i have to do something to the event?
..............

View 8 Replies View Related

HTC Droid Eris : "Home" Button Locks Phone Instead Of Taking Back To Home Screen

Mar 29, 2010

I just installed lock 2.0 and i was just adjusting the settings and now every time I'm in my phone and i touch the "Home" button it locks my phone instead of taking me back to my home screen! Is this normal? Did I accidental do it in the settings? HELP its driving me crazy

I'm on the new 2.1 leak if that matters

View 7 Replies View Related

HTC EVO 4G :: Home Button Not Going To Home Screen?

Sep 14, 2010

This only happens when running certain apps, specifically Facebook and jetflicks (and some others that I can't name off the top of my head) but when I press the home button it goes to the last screen of my home setup. I run stock froyo and sense, and I keep up with as many updates as possible. Is there a patch for this that anyone knows of?

View 2 Replies View Related

Android :: Handle Home Button

Oct 25, 2010

I need to handle home button, redirection of home button on customize way.

View 9 Replies View Related

Android :: Back Vs Home Button

Jul 4, 2010

This has been brought up before, but I was unable to find a satisfying answer. And I know it's a newbish question.

What is the difference between exiting an app with the back button compared to the home button? I am not talking about switching to the home screen, I am talking about a scenario when you want to exit an app. For example, you play a game, you're done - do you press home or back? Or, you're in the Facebook app and you want to exit to the homescreen - what do you press - back or home? At first, I thought both buttons do the same with the difference that home brings you to the homescreen instantly while back goes through your previous steps/pages/screens in the current app and then returns you the homescreen.

But later I noticed that 'reactivating' some apps that were exited via the back button cause them to 'reload' (the loading screen shows up - with certain games, grooveshark's loading screen, etc.) while they switch back instantly when "exited" with the home button.

I gather the way to 'leave' an app you don't plan on using for at least a short while (I am not talking about closing the app, I know it's up to Android, or some task-killer) is the back button, while home is more for task switching/starting new apps while old ones are running.

View 8 Replies View Related

Android :: HOME Button Calls By Default?

Feb 24, 2009

On click of some button, is it possible to perform the operation or call the method the HOME button calls by default? In other words, I just want to "Minimize my application" or moving my application to the background on pressing the back button.

View 4 Replies View Related

Android :: Overriding The Functionality Of Home Button

Sep 21, 2010

greetings, We are trying to produce a custom communication product that is based on android 2.2 source tree. This product has only one physical button (will be assigned as Home). Is there a way to override the functionality of this Home button so it can pop-up three button activity that simulates the actual Back, Menu and Home button on a regular android phone. Is there any specific configuration when compiling the 2.2 source tree to achieve the desired behavior without modifying the source code? If not, can anyone please provide some hints on how or which portion of the source to modify?

View 3 Replies View Related

Android :: Overriding The Home Button In Application

Oct 27, 2010

I am trying to override the home button in my application. I am aware that this is not recommended behaviour and all links I've found about this says that it is actually not possible. However, the native dialer of HTC Sense as well as the dialer for Sony Ericsson (tested on X10 mini) both ignore the home button press on incomming calls. How can I do the samein my app?

View 5 Replies View Related

Android :: Alternative To Holding Down Home Button?

Sep 12, 2010

I was wondering if there is alternative to holding down home button to switch between apps. I was wishing that there is some app that shows all active app and if we click on it, it gets opened. Is there anything like that? Holding down home button only shows recently opened apps. Also, I am not fans of holding down buttons.

View 2 Replies View Related

Android :: What Happened To Home Button In Cupcake

Apr 10, 2009

I tried the 'unofficial' cupcake SDK and found that the hardware HOME button doesn't bring me back to the home screen anymore. Is this a conscious UI decision? What's the reason behind it? Also, long-press on the HOME button doesn't bring up the task manager anymore. So, if I am in the browser, I have to all the way close all the pages before I can go back to home screen?

View 11 Replies View Related

Android :: Disable The Click Of Home Button?

Jan 29, 2010

I have an application, when it launches I have to disable all the buttons, I successeded in disabling end call and other i need to disable home buttom if I click it, It should not produce any action.

View 5 Replies View Related

Android :: Disable Home Button In Toddler App?

Nov 24, 2010

I've developed and app that is a slide show of pictures which each play a sound when you tap them. It's like a picture book for ages 2-4. The problem is, since android won't let you capture a home button press and essentially disable it, when parents give the phone to their child to play with unattended (brave parent), the child can inadvertenly exit the app and then make calls or otherwise tweak the phone. There are two other apps that currently have a psuedo fix for this issue. The apps are Toddler Lock and ToddlePhone. I've tried contacting the developers of these apps for some guidance but they haven't been willing to disclose anything, which if fine, but does anyone here have any suggestions?

It looks like both of those other apps are acting like a home screen replacement app. When you enable the "childproof mode" on those apps the user is prompted to chose and app for the action and the choices are "Launcher, LauncherPro, etc." plus the toddler app. You then have to make the toddler app the default and voila, the phone is "locked" and can only be "unlocked" using a key combination or touching the four corners of the screen, etc. when you "unlock" the phone. your normal home screen app default restored. You don't even have to make the toddler app the default the next time you enable the "childproof mode". I have read that these two apps have problems with Samsung phones and they can cause an an infinite crash-and-restart-loop that requires a factory reset to fix. Obviously this is not the ideal solution to the problem but it looks like the only one availiable at this point. Does anyone have any ideas on how to implement a "childproof mode"?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved