home-button

In-App Home Button to Navigate to MainPage allowed?

三世轮回 提交于 2019-12-07 17:14:56
问题 I was wondering about the implementation of an In-App Home Button that takes you back from any Page to the MainPage. As far as I remember this is not allowed by the WP7 Development Guidelines. But I can't find any written Information about that. Does anyone know where this is written? 回答1: Home button is generally discouraged, msdn source: Placing a Home button in your user interface deviates from the Windows Phone navigation model. Implementing a Home button in your app may also cause a

IOS 6, safari fullscreen webapp, home button

江枫思渺然 提交于 2019-12-07 05:19:13
问题 I'm developping a webapp (javascript) to put on the homescreen of the iPad to be able to run it in fullscreen mode. Everything is working but after a random while, the home button doesn't work anymore. But the app still continuing to run, and the is no bug at all. I still can run javascript functions in the console with safari on my mac, alert, prompt, and all of those stuff are working. but not window.close(); To quit the application I have to restart my device by pushing the switch off

prefersHomeIndicatorAutoHidden not working on iPhone X

試著忘記壹切 提交于 2019-12-07 01:48:23
问题 I am currently updating one of my apps to iPhone X and tried to hide the home indicator on a fullscreen viewcontroller showing an image using: override func prefersHomeIndicatorAutoHidden() -> Bool { return true } This method seems to do nothing, though. It is never called and the home indicator is never hidden, even after a while of inactivity. The simulator does seem to support this since the Photos app does hide the home indicator. Is there some other flag that needs to be set to make this

android: Difference between pressing home button and power button?

倖福魔咒の 提交于 2019-12-06 12:27:24
does anybody know the difference between pressing the power button and the home button? In my app, I've tried putting a debugging statement in every lifecycle of the activity and both result the same, that is, the activity will be onPause and will be onRestart then onResume when the activity is re-opened (if we press home button earlier) or when we turn on the device again by pressing the power button (if we press power button earlier). Having this same behaviour/sequence, I expected my camera app to run the same in both cases. But it's not. I used surfaceview to preview to camera. If the

In-App Home Button to Navigate to MainPage allowed?

霸气de小男生 提交于 2019-12-06 03:47:49
I was wondering about the implementation of an In-App Home Button that takes you back from any Page to the MainPage. As far as I remember this is not allowed by the WP7 Development Guidelines. But I can't find any written Information about that. Does anyone know where this is written? Home button is generally discouraged, msdn source : Placing a Home button in your user interface deviates from the Windows Phone navigation model. Implementing a Home button in your app may also cause a second issue, one that has a much more severe implications for your app: it might inadvertently create a

IOS 6, safari fullscreen webapp, home button

匆匆过客 提交于 2019-12-05 09:16:11
I'm developping a webapp (javascript) to put on the homescreen of the iPad to be able to run it in fullscreen mode. Everything is working but after a random while, the home button doesn't work anymore. But the app still continuing to run, and the is no bug at all. I still can run javascript functions in the console with safari on my mac, alert, prompt, and all of those stuff are working. but not window.close(); To quit the application I have to restart my device by pushing the switch off button and the home button. If anyone can help me to figure out what it is I would be very happy. The

prefersHomeIndicatorAutoHidden not working on iPhone X

守給你的承諾、 提交于 2019-12-05 07:09:23
I am currently updating one of my apps to iPhone X and tried to hide the home indicator on a fullscreen viewcontroller showing an image using: override func prefersHomeIndicatorAutoHidden() -> Bool { return true } This method seems to do nothing, though. It is never called and the home indicator is never hidden, even after a while of inactivity. The simulator does seem to support this since the Photos app does hide the home indicator. Is there some other flag that needs to be set to make this work? I tried it in multiple view controllers and none of them show the correct behaviour. I also

override Home key in android ICS

喜欢而已 提交于 2019-12-03 18:07:46
问题 I need to override HOME key in my application. I've used code from this post but it's not working on android 4.X. Do you know other workarounds to achieve this task? I've looked a little bit in native Phone application (on android 2.2) but I couldn't find where is the code that overrides HOME button, but I've searched for text "TYPE_KEYGUARD" in all project and my ide couldn't find anything, which makes me think that there is another way to suppress HOME key. Any ideas? 回答1: Post ICS i.e.

Xcode 6 GM Seed - iPhone 6 simulator does not show the home button

杀马特。学长 韩版系。学妹 提交于 2019-12-02 09:02:32
I am creating a game in Xcode-6-GM-Seed and am having an issue that the home button is not showing up in the simulator. I need to be able to press the home button to be able to quickly delete the app from the phone but am not seeing the home button. How do I get around this? Is there some sort of command to use or do I need to do it programmatically until they add the home button? Is there another way to delete the app and it's content? Use Command + Shift + H for pressing Home button. You can also choose "Reset Content and Settings" to erase the App. As mentioned above, shift+command+h is how

Overriding the functionality of Home Button

时光怂恿深爱的人放手 提交于 2019-11-29 16:14:42
In android I have been able to override the functionality of back button very easily but for my app I need to override the home button . For example the user is in Activity A , when he presses the home button, activity B is launched . I have tried to do the following but it failed. @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_HOME) { startActivity(new Intent(this, ActivityB.class)); return true; } return super.onKeyDown(keyCode, event); } I am sure it can be done because in Nova Launcher when the user is on home screen and he presses the home