Questions tagged [android-homebutton]

The home button in the android Operating System

This button is used to get back to the Home screen on the android enabled smartphones.

350 questions
0
votes
1 answer

Handling Home press button event when application not open

i am developing security app on android platform. now my requirement is to handle home button press event when application not open or not in foreground screen. is there any way to handle home button event out of application??
0
votes
1 answer

Second Activity Opens After the HOME button is pressed

In my application I have a SplashScreen which is opened when the app is launched. And after 1 second the Login activity is opened. But I have an issue when the HOME button is pressed right after the app is launched. If I tap on the HOME button,…
Laura
  • 2,653
  • 7
  • 37
  • 59
0
votes
3 answers

How to stop my app from exiting when back/home button button is pressed?

I am making an app exclusive for the tablet it was installed to. I wanted to put a restriction so that when the back button or home button is pressed the user will be prompted to enter a password and if the password is correct application be allowed…
Christian Burgos
  • 1,572
  • 9
  • 26
  • 48
0
votes
1 answer

Restoring original activity as it is (like home button) when back button pressed

I am designing android application using tabHost. TabActivity is always being launched from anther activity( suppose, Activity A). After that Activity A has no use. When I am on tabActivity & if back button is pressed, then all goes in background(…
userx
  • 806
  • 1
  • 11
  • 23
0
votes
3 answers

How to show alert Dialog when home button is pressed ?(ICS)

I want to show alert when user presses home button on device(do you want to exit the app ?) How to do it ?
0
votes
1 answer

Android - need a true trick or hat to lock/unloack the home button

I have read a lot about it, and many people stating that it's a bad design ... and so on.. but there are some apps that must benefit of locking / unmocking the home button to prevent unintentionally click/ press on the GUI during an activity…
user762579
0
votes
0 answers

Actionbar up navigation with fragment and activity

I'm going to use home button (Action bar App icon) as back button. I got it to work but not in the way i intended. My MainActivity is an activity which holds (1) a drawer that shows a list of categories. And a Fragment that displays a list of items…
0
votes
1 answer

Android multi-button widget: pressing Android Home brakes widget buttons identification

I have a simple widget with 2 buttons. Clicking on any widget button should open the same activity, but with a different parameter. Everything works good: clicking button 1 opens an activity and passes param 1, clicking button 2 opens an activity…
Gena
  • 187
  • 1
  • 12
0
votes
3 answers

Move application to background

Similar to Android and Ios I want to move my application to background and move foreground without losing progress on opening again. How can we achieve that in Tizen. The hardware home button is doing the same how can I do that through code.
Viswanath Lekshmanan
  • 9,945
  • 1
  • 40
  • 64
0
votes
1 answer

how to make home activity visible after login activity kill and home button pressed

After successful login the Login activity launched the second activity. I want my first activity(Login activity) not to be shown after successful login, for that i called finish() method after login But after the home button pressed, instead of home…
Rahul Rastogi
  • 4,486
  • 5
  • 32
  • 51
0
votes
2 answers

Disabling the home button

There is an app called Holo Locker and when you press the home button, it does nothing. I can't figure out how to do it.... I thought about making my app a launcher and only call the launcher function when the app is open. Any help? Thanks!
DDukesterman
  • 1,391
  • 5
  • 24
  • 42
0
votes
3 answers

Override Home Button Android

I'm programming an app that must stay on the screen of a tablet which is accessible by everyone. This means that only people who know the passcode can access the tablet, while passing-by users can only use the app. However, I'm stuck on the home…
Luca Pasquali
  • 66
  • 2
  • 8
0
votes
1 answer

How do I catch the home button click via a broadcast reciever or other technique and stop it?

I'm trying to build a screen-lock app. However, I'm experiencing a gaping hole in the system. The moment the user clicks/touches/presses the home button, the activity goes to the background. How do I prevent that? Is that possible? I'd like a…
0
votes
0 answers

how can I disable home button in android.I am writing an screen lock app but cannot disable the home button

I am writing a screen lock app for android.Overriding back button , power button is fine. But it seems that we cannot disable home button. Is there any way out to disable home button?
user35990
  • 7
  • 2
0
votes
1 answer

App ignoring Home button press

I downloaded a drawing app for my kid that protects against the child accidentally exiting out of the app by hitting the Home button. In the past I've done similar things by registering my app as a Launcher and the effect is that the child hits the…
Yevgeny Simkin
  • 27,946
  • 39
  • 137
  • 236