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
-1
votes
1 answer

Android home activity without application chooser

I have an Android activity that opens when the device is open and when Home Button is pushed the activity is show. I did this using having this intent associated to the activity:
Plebios
  • 835
  • 1
  • 7
  • 17
-1
votes
1 answer

android press home button and re-enter my application

In my app, my own Application class saved some static variables, after clicked home button in my application, the screen go back to home. now i want to resume my application, when i click my app icon in launcher, the variables of the variables…
popo
  • 13
  • 1
-1
votes
1 answer

Overriding the funcationality of home button

In android i have been able to override the funcationality of back button very easily but for my app i need to override the home button. I am sure it can be done but how can i achieve this.
Harshit Rathi
  • 1,862
  • 2
  • 18
  • 25
-1
votes
1 answer

Button return = action button home

I'm doing an Android app and I would know if this was possible: When the user press the return button, it does the same action as the home button.
qwertzuiop
  • 685
  • 2
  • 10
  • 24
-1
votes
1 answer

Disabling HOME Button

I have a Enter Password Dialog which is an Activity in a Theme.Dialog theme so it actually looks like a AlertDialog as i have to use it in a broadcast receiver but the problem is i want to block the HOME button as i need it for a security…
dythe
  • 840
  • 5
  • 21
  • 45
-1
votes
1 answer

How to shield POWER button at a activity UI

Now, I want to implement a function like this: at a activity, shield all hardware buttons, like HOME, VOLUME_UP,VOLUME_DOWM. But, only POWER button can't shield. Is there a way?
Big Bang
  • 19
  • 3
-1
votes
1 answer

How to create custom home button which shows for all activities of my project?

How to create picture type of home button which shows for all activities of my project. i have 4 or 5 activities is there. I want to click that button go back to main window. please give me code first how to create a home button
Satya
  • 340
  • 7
  • 17
-2
votes
3 answers

How to know when the home button is pressed?

In my app I want to make a change that at any point of time i.e at any activity I press Home button it shows a dialog box asking for "You want to logout?" . I have read that overriding of Home button is not possible. Is that true? Any ideas?
Navdroid
  • 4,453
  • 7
  • 29
  • 47
-2
votes
1 answer

How to detect hardware home key pressed in service android?

Basically I am trying to find my home key pressed event in my Service, I used broadcast receiver with intent-filter "CLOSE_SYSTEM_DIALOGS" & I reached half a way... Now it works perfect with soft home key but not if device has hardware home key…
-2
votes
1 answer

how do i get calling Activity name if it is a system app ( i.e gallery app )

i have searched a lot but i cant find answer so i thought i should post here. problem my app works on images which are share by gallery application(i.e default gallery app) and its works fine. but i want to override OnBackPress() method to check…
Vishal Patel
  • 554
  • 6
  • 15
-2
votes
2 answers

How to pause an activity on the emulator without stoping it

My question is almost similar to this question. In my app when I press the home button my app is stopped and not only paused. After reading the answers in the question (given in the link) I realized that onPause and onStop is indeed called after…
Sourav Kanta
  • 2,727
  • 1
  • 18
  • 29
-2
votes
1 answer

How to disable home button like 'cover' app?

As far as I know, there is no way to disable 'Home button' in android system. But recently, I found a locker 'cover'. Just install it, but the home button does not work. How is this possible?
-2
votes
1 answer

How to make an app or specific activity launched when pressing menu button or power button etc (e.g like 3 times)?

how to make an activity in specific app(security app) started when pressing (menu or any other of the device buttons), what i should do?, i'm already have BroadcastReceiver in my app(to read SMS). I'm new to android, so from where i should start?…
Yousif
  • 527
  • 5
  • 23
-2
votes
3 answers

Android App will not re-open after "going home"

Is there some way to "kill" my app when the user goes home, clicking the icon does not bring the app back after pressing home, or turning the screen off. I have to re-run the app in eclipse to get it to come forward.
dmattox10
  • 67
  • 7
-3
votes
2 answers

When I charge my app after using home button it starts in my first activity

I'm sure that this will be a really newbie question but I'm stuck and I don't know how to get out of this! I have an app that have three activities and when I use HOME button and I open the app again, it goes to the FIRST activity always, even if I…
1 2 3
23
24