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

Android HOME Button override not working

I know this question has been asked many times but none of the solution provided seems to work for me. I have tried here,here and here My requirement :- I want to over-ride the HOME BUTTON and the RECENT APPS button on android. I know this not a…
0
votes
2 answers

How to disable home button of Android device in lollipop

I want to intercept home button click of Android device in lollipop version.
0
votes
1 answer

How can I return Home activity from child activity?

This is my code, I want to go to Home activity by clicking app icon button. My same code works fine for HomeActivity button . package com.coderbd.englishtutor; import android.app.Activity; import android.os.Bundle; import…
0
votes
2 answers

How to get backbutton to act like homebutton cordova in android

When pressing backbutton in android I want the app the be close and paused, not terminated, as when you press the homebutton. Is it any way to do this in cordova (ionic)? Like what method/event is "homebutton" firing? Thanks
0
votes
2 answers

How to avoid activity from being resumed using home button?

I have an activity which opens using alarm manager.There are some operations can be performed by user in it.On clicking a button ,activity finishes using finish(). My problem is that after being finished,user can still resume the activity using Home…
Sar
  • 550
  • 4
  • 18
0
votes
0 answers

How can i disable all bottom navigation button for lockscreen..?

I'm creating lock screen application. and all activity work perfectly, But when screen lock activity comes up on screen on, all Home and task navigation button works. Only back button is not working because I have return nothing in onBackPressed()…
hardwork
  • 781
  • 7
  • 14
0
votes
0 answers

IMGSRV error android

I have created an android app which plays stream from the internet. When HOME button is pressed while images re being downloaded I get the following error: 05-16 08:22:11.768: E/IMGSRV(29297): :0: SGXGetFreeDeviceSyncList: Get free DeviceSyncList…
Maria Agaci
  • 281
  • 2
  • 3
  • 11
0
votes
1 answer

onPause(), different results from home and back button

I'm creating an application which uses locationManager() to handle updates from the GPS. When the app is closed, I want the updates from the locationManager to stop and has this piece of code at the moment. @Override protected void onPause() { …
Rabs G
  • 1,300
  • 1
  • 11
  • 16
0
votes
1 answer

App error by pressing Home Button

I developed an app and now, since I am almost finished, I am in the process of fixing bugs and polishing it. At the moment I have the problem that whenever I press the home button it displays whatever was on the screen at that time as my homescreen…
Sebastian R.
  • 447
  • 8
  • 21
0
votes
0 answers

how to change the home, back, windows button in Android cellphone

I'm trying to change the function of the three main buttons of an android cellphon. is there a mathod or funcation to do that because I search the internet, but not sure what write to find my answer. So any help will be great. Thanks.
0
votes
1 answer

how to make my app as default launcher when press home, as an OPTIONAL feature

i want to know if i can set my app as default launcher when i want it to be (not a fixed feature) , because i'm developing babies game ,and i want to put lock buttons as an option so i can handle home button when pressed. and when the app is…
Khalil Tam
  • 441
  • 1
  • 3
  • 13
0
votes
1 answer

Android - Application Launchs the Main Activity always

We have an issue with android application. We created a Sample project which has 3 screens. LoginScreen, WelcomeScreen,HomeScreen. When user login, will navigate to Welcome Screen and from Welcome screen place a button to navigate to Home Screen.…
Ravi
  • 151
  • 2
  • 13
0
votes
0 answers

How to find the home press button in android L

Hi in my code I'm trying to catch the home Button click in android i'm using this code for capture the home button click public boolean isApplicationSentToBackgroundAbove(final Context context) { ActivityManager am = (ActivityManager)…
Jagan
  • 692
  • 1
  • 12
  • 38
0
votes
1 answer

Is it possible to disable the home button in android?

I have to disable the home button in my android application. I have an Actionbar Sherlock and setting DisplayHomeAsUpEnabled didn't work. Here is my code: ActionBar ab =getSupportActionBar(); ab.setDisplayHomeAsUpEnabled(false); Thanks for your…
Halo
  • 729
  • 1
  • 8
  • 18
0
votes
0 answers

Determine whether user has pressed home or rotated the device in a fragment

I've got a fragment where I'm recording audio, I want to pause the recording when a user presses the home key, but continue to record on a rotation. In onPause, onStop or some other method that gets called, how can I differentiate between when the…