android-homebutton Questions
18
This has been driving me nuts for a while now.
Is there any way of reliably detecting if the home button has been pressed in an android application?
Failing that, is there a robust way of tellin...
Scrag asked 16/1, 2012 at 15:12
8
Started emulator from Android Studio and it's Home button not working.
When I press Home button, in logcat I can see
I/WindowManager: Not starting activity because user setup is in progress: Inte...
Karafuto asked 24/3, 2016 at 7:16
2
I am new to the Android development world and I've built a simple "Hello World" app. First, activity requests a text. When the "Go" button is clicked, the app launches the second activity displayin...
Singhalese asked 26/8, 2013 at 17:22
25
I'm trying to display a Back button on the Action bar to move previous page/activity or to the main page (first opening).
And I can not do it.
my code.
ActionBar actionBar = getActionBar();
actio...
Lou asked 28/3, 2013 at 15:59
7
I want to simulate all physical buttons of our Android devices.
So is there a way to simulate:
BACK BUTTON
HOME BUTTON
MENU BUTTON
SEARCH BUTTON
TASK BUTTON
VOLUME (+ AND -) BUTTONS
Hashum asked 14/12, 2012 at 9:54
5
Solved
I Am a New Android Developer,
I know Handle The Back Button but I Don't Know How To Handle Home Button,
when I Clicked Home Button,
I Tried a Lot Of Methods,
But Not Used,
Please Any One Help To Me...
Overplay asked 3/6, 2012 at 11:12
3
Solved
I recently downloaded the ACDisplay lock screen app:
https://play.google.com/store/apps/details?id=com.achep.acdisplay
The application shows an overlay on my device while also at the same time de...
Sharitasharity asked 18/3, 2019 at 15:5
0
I have a main activity having intent with CATEGORY_HOME to behave like a launcher. It also has CATEGORY_LAUNCHER so that user can access from App Drawer. Here is the main activity:
public class Ma...
Salubrious asked 21/7, 2018 at 11:49
6
I know this question is asked many times but I found that none of the solution is working.
I tried the code given below...
protected void onPause() {
super.onPause();
Intent intent = new Inten...
Nuristan asked 3/4, 2016 at 8:45
3
Solved
I'm currently working on an Android app. I would like to use the app icon in the action bar to navigate to the "home" activity. I read on this page that all that needs to be done is to add an onOpt...
Catharina asked 21/1, 2012 at 12:58
3
Solved
I have preference screen extended PreferenceActivity. For targeting OS 4.0.3, I wanted to add < icon on action bar so I did this in onCreate().
ActionBar actionBar = getActionBar();
actionBar.s...
Floccule asked 15/8, 2012 at 15:1
0
I want to prevent user from leaving my app. I am trying to achieve this through home launcher activity/application and I don't understand android's behaviour. Pressing HOME first time always create...
Phaeton asked 23/2, 2016 at 21:51
3
Is it possible to display both home icon and back icon in the toolbar?
1) Is it possible change the order of display of back button icon and home icon.
Currently it displays the arrow button first...
Riparian asked 24/5, 2015 at 4:21
2
I need to disable 3 virtual buttons in any activity in my app. I disabled back button and multitask button somehow but I cannot dsable home button.
I tried onAttachedToWindow() style answers on st...
Bordelaise asked 21/1, 2016 at 8:45
6
I'm trying to remove the Home button and the Multithread button. The idea is to remove it completely from the running application, better if we can remove it completely from every application on th...
Michaelmas asked 3/12, 2015 at 11:22
5
Solved
I'd like to lock the screen. I want to disable the home key and only use the back key. How do I accomplish this?
Isochronal asked 10/10, 2010 at 3:20
3
Solved
I just created my own "Home" to replace the stock android one or Sense.
All is working fine and I get all I want. My only problem is to replace to long press on home key ( that usually show the la...
Reaves asked 29/5, 2010 at 8:28
4
Solved
for some specific requirement
I am required to change Android Default Home application
with my customized Home application ( a setting inside my app that will toggle default home = my application o...
Sudor asked 1/10, 2010 at 2:42
3
Solved
I know this question has been asked many times and the answer is always "No we cant disable home button".
I have a little different query to ask.
I wrote simple code in which my activity override...
Stimulus asked 27/4, 2012 at 11:21
3
Ok here's my problem.
Whenever I press the HOME button nothing happens.
If i'm in an app and press it i'm not sent to the home screen like I should be.
However, if the screen is locked and i press...
Byelorussian asked 30/7, 2011 at 22:3
5
Solved
I've developed and app that is a slide show of pictures which each play a sound when you tap them. It's like a picture book for ages 2-4.
The problem is, since android won't let you capture a home...
Narceine asked 25/11, 2010 at 15:20
2
I am working on my own home launcher replacement and it works fine but one thing bothers me. When I press a home key, current home activity (the one defined in manifest as main/defualt/launcher/hom...
Antler asked 28/12, 2010 at 19:46
3
Solved
I have a Home replacement Activity from within which you can launch a number of apps. When you tap the Home button, you are returned to my Home replacement Activity.
As I understand, tapping the H...
Inconformity asked 9/7, 2013 at 15:57
3
Solved
I do know that it is ill advice to take control of the HOME button for users. But I'm developing a android lockdown application for educational purposes. I was browsing the site and came upon this ...
Paregoric asked 28/6, 2011 at 13:17
1
Solved
Background:
I currently enable the HomeUp button on Activity, thanks to:
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
According to the Documentation, it's related to setHomeButtonEn...
Hatti asked 6/5, 2014 at 4:53
1 Next >
© 2022 - 2024 — McMap. All rights reserved.