Android :: Overwrite The Functionality Of The Home Button?

May 23, 2010

Essentially, I just want to change the home button from just hiding my app to killing the activity that is on the screen.

I thought about writing a broadcast receiver that kills the activity, but I'm not sure how to kill the activity from the receiver.

How do I change the functionality of the home button to "finish" the specific activity?

Android :: overwrite the functionality of the home button?


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 :: Adding Go Button In SoftKeyBoard & Functionality

Apr 5, 2010

I want to put "Go" button in android application softkeyboard for search and other related scenarios can any one guide me how to achieve this? with example.any help would be appreciated.

View 3 Replies View Related

General :: How To Change Back Button Functionality When In Internet Browser

Nov 18, 2011

Any way that you can make the back button in the browser retain the same function that it normally would - IE taking you back to the last program you were in. I hate how it takes you back a page instead - I mean the Browser's back button is there for a reason, right?

View 9 Replies View Related

General :: How To Override Default Functionality Of Hardware Power Button

Sep 22, 2011

If I write an app, is it possible to to override the default functionality of the hardware power button?

I only found this on google, but it didn't work: [URL]...

View 3 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

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

Android :: Way To Overwrite Header Of File?

Sep 16, 2010

I write file to sdcard using BufferedWriter.After that I want to overwrite header of file,but other data must be without changes( In the header I must add size of file). So I think I must change position where I need write.

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

Motorola Droid X : Back Button Functionality - Cannot Simply Go Back One Menu Using The Back Key

Jul 15, 2010

This is my first android device and i'm loving it... but one thing that irks me is the use, or lack thereof, of the back button.

As I am navigating menus and options in the Settings, I cannot simply go back one menu using the back key. For example, if I go to Settings->Battery Manager->Battery Profile Options and want to go back to the Settings screen, I cannot.

Pushing the back button does nothing and I can only go back to the Settings menu by going Home, then re-entering.

Another quirk regarding the back button is when reading emails. Using a regular email account such as Hotmail, I cannot simply read an email and go back to the inbox using the button.

It makes navigating the phone very tedious.

View 5 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 :: How To Overwrite Default Background Of List Item In ListView?

Apr 16, 2010

I am trying to overwrite the default backgroud color of List item which is holding the focus in the ListView. As you can see, in Android Setting Menu, when you scroll through the ListView, the focused ListItem has a red backgroud to highlight its focus. Does any way to change the default behavior by highlighting it with other color or just a bottom red line under this Item.

View 5 Replies View Related

HTC Hero :: Will Nandroid Backup Overwrite Last One?

Oct 25, 2010

If i make a nadroid backup will it overwrite the last one.

View 3 Replies View Related

HTC Hero : How To Overwrite Gmail Contacts?

Aug 27, 2009

I got annoyed with the sync with gmail feature. I didn't want all those ppl in my contacts. So i turned off the sync and I just manually edited all my contacts and attached them to their facebook accnts. Now im a ill worried that they are all on my phone and not being backed up anywhere. Is there a way to sync with gmail and overwrite my contacts? Or is there a way to sync it with a new gmail account?

View 4 Replies View Related

Motorola Droid X :: Clockwork Mod / Custom Recovery Overwrite?

Nov 11, 2010

I am rooted, deodexed, froyo'd (clockwork recovery mod/ROM). I want to install a different ROM. either tranquility 3.0 or some of the later/faster ones just to switch it up. After I back up my current ROM, Can I just install the new ROM without worry? Or is there some special trick? I also have a custom theme too, but I don't care if that gets erased, etc.

View 5 Replies View Related

HTC Incredible :: Overwrite The Recovery Flash In Order To Get Root

Sep 24, 2010

Does anyone know if one needs to overwrite the recovery flash in order to get root? What if I don't want to flash new roms but I would like to remove the extras that are put on my phone.

View 3 Replies View Related

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.

View 9 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







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