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

Notification and Home Button

I wrote a Notification function to send notificaiton, and it will switch to a defined activity when user click the notification on the top bar. My code did what I want. But there is a problem. Let's say there are 3 activities (A, B, C) and it away…
0
votes
1 answer

editorInfo not resetting upon pressing home button Android

I have two different editors and I am differentiating them based on the variable editorInfo.privateImeOptions. Each editor has a different value set for this variable. When I open an editor and press the back button and then open another editor,…
user1253887
  • 1,309
  • 3
  • 11
  • 13
-1
votes
2 answers

android: softkeyboard not shown after return to activity, layout remains panned

My activity is panned in order to make space for soft keyboard(keyboard is visible). When I leave activity in this state by pressing home button, after return to this activity, layout remains panned, but keyboard is not shown. I'd love keyboard to…
-1
votes
1 answer

Hide Home and Recent Button in Android App Programatically

I need to hide Buttons in the images I need to hide Recent Button and Home Button if the My App is opened.. I have searched for so much codes. nothings seems to be working... Please someone help me out.. Thanks in advance :)
-1
votes
1 answer

Android Home button click ignoring saved state?

Can I ignore the previous stage of application after tapping Home button in android? So that I can get the application from initial screen.
inforg
  • 749
  • 2
  • 8
  • 15
-1
votes
1 answer

How to prevent click on Home button from going to home screen (springboard)?

My users require an alert in order to avoid leaving accidentally my app when clicking on Home button (otherwise, they loose their -long- work and have to restart it... Indeed, my AR app cannot recover its state at restart). So, I want to display an…
toto_tata
  • 14,526
  • 27
  • 108
  • 198
-1
votes
1 answer

Listen for Home button press

Is there a way to listen for the user pressing the Home button? I wanted to override the Home button functionality, but I have read in many places that "For security reasons we can't override home button". Can we override the Home button, or not? I…
Siva
  • 1,849
  • 2
  • 13
  • 28
-1
votes
4 answers

How can I disable click event on Home key in android?

I am Using following method to disable HomeKey click event ,but after Clicking Home key My App will be closed. I want ,whenever user click home key my app will not be close. @Override protected void onUserLeaveHint() { super.onUserLeaveHint(); …
ManiCR7
  • 1
  • 2
-1
votes
3 answers

how to disable soft home key programatically in android?

Is there any way to disable soft Home key Programatically? public boolean isSoftKeyAvail(Context context) { final boolean[] isSoftkey = {false}; final View activityRootView = ((Activity)…
-1
votes
1 answer

android app is not exists in home button cache

I Develop An Android App And When I Run On Android 4.3 After Home Button Pressed App Is Not Exists In Applications Cache But When I Run It On Android 5 It Exists Correctly In Cache After Home Button Pressed ... Please Help Me How Can I Solve This…
MohamadReza
  • 43
  • 2
  • 11
-1
votes
2 answers

Redirect to particular Activity when launching app from recents

Assume you are in Activity A and press home button now your app will goto background. Now long press your home button and you can see recent's app. If I click my app it should take to particular activity not Activity A.
Selvakumar
  • 84
  • 7
-1
votes
1 answer

Need to stop Home button in android 4.2.2

I develop on application which contain the customize lock screen. Now my problem is there when I am on lock screen and I press home button the it take me to the my home screen because lock screen is not my home screen so I need to stop its work and…
-1
votes
3 answers

How to disable multitasking function on android while our app is running?

We would like to know, if there is a way to block "long pressed" home button function, that opens "appswitch/multitasking" dialog. Our app crashes, when we try to open multitasking on samsung galaxy s3 by holding the home button. Is there some way…
-1
votes
2 answers

How to disable android home button and task history button within an activity?

For home button disabling: Home key pressing event cannot be intercepted in activity by onKeyDown() beyond version3.x. I can add: in the intent-filter of the activity, but this will make even pressing home button outside of the activity to…
-1
votes
1 answer

what's the name of 3rd number button and how to control 2 and 3 button?

I want to control this 3 buttons back,home,3rd button I know using onbackpressed the back button is control but how can I control or disable the home button and 3rd button here I put it image you can check this. I have tried on back pressed and it…
Mahesh
  • 1,559
  • 6
  • 27
  • 57