Windows Phone 8 SDK Voice Commands and Fast App Resume - windows-phone-8

I'm having a problem integrating Fast App Resume into my Windows Phone 8 app. When I hold the start button and enter a voice command, the command won't fire a Navigate event if the app is already loaded. I've tried intercepting every event I can when the app loads.... nothing.
Does anyone have any insight on how this should be handled in code?
Thanks!

I have confirmed with Microsoft that this behavior is indeed the case, and it is the way they intended it. They have left feedback to Engineering to take a look, but we can help it along by voting for it on UserVoice here.

Related

Prevent WinRT App from entering suspend state in a Line-of-Business app

I'm developing a line of business app for Windows 8.1, that is, I am not deploying through the Windows Store and will be able to control all of the features of both the OS and hardware this app is being deployed on.
Because this app is working as the UI in a real-time situation I would prefer if I could ignore the life-cycle events and not have the app suspend or terminate at the whim of Windows 8. Does anyone know of a way to do this?
I have seen some older answers, such as this one and this other one indicating otherwise, but I haven't yet found anything more recently and specifically dealing with the case of a line of business app. I have found the Embedded Lockdown Manager which would prevent the app losing focus and addresses some of the needs I have, but I still would like a way to simple disable Lifecycle events.
Have you tried Assigned Access Mode? Basically use PC Settings -> Accounts to lock an account to a single app. You have to reboot the device and log-in again in order to run anything else.

Close Windows Phone 8 App Programmatically

I've a Windows Phone 8 Application and with a button click, I want to ask user something like "Are you sure?" and if answer is yes(ok) then application will be closed.
I've searched a lot but couldn't find anything except "Application.Terminate()" but seems this is not the right way how to do it.
Though it is possible to do this using System.Windows.Application.Current.Terminate() as Nikita says it is not recommended to offer such a functionality. Here's an excerpt from the Windows Phone Guidelines on MSDN:
Don't include Close buttons or offer users other ways to terminate
your app in its UI. Users should feel confident that the system is
managing their apps for them. The system can terminate apps
automatically to ensure the best system performance and reliability,
and users can choose to close apps using gestures on Windows or
through the Task Switcher on Windows Phone.
The user should only be able to Close an app using the home or back-button.

Run Windows Phone App in background without UI

I am developing a Windows phone 8 app that need to run only in background with UI. Is there any way I can run the app in the background, or without actually being open?
It depends upon what you want to do in the background. Generally speaking you can't implement something like a Windows service that will startup automatically when the phone is launched.
That said you can run your app in the background within given limitations. Check out MSDN for detailed information.
Why all these limitations you might ask yourself? It's to provide a good battery life to the user.
Edit:
For the periodic agent to start running the app must be started once. Further the agent must update a live tile (user must pin it to the start screen) or the app has to be once opened every 14 days.
Another option might be using push notifications to trigger an update..

user interaction windows phone 8

I have to do my university project. We suppose to develop windows phone application that should track the user behavior and interaction with phone while driving.
At the moment we just trying to understand what we able to do and track.
we thought about monitoring maybe
incoming call, incoming sms and afcourse if the user answered to those,
maybe outgoing call
headset plugged in/out
click on any hardware button
screen touching..
and all the interrupts made by the user.
What our options? Can someone refer me to relevant reading?
for the purpose of your app, I suggest you implement something with voice control so that the driver can interact with his windows phone without having to touch it.
Visit these links for more info:
Here's the first link
Here's the second link

How to disable screen saver in WinRT

This is how you do it on Windows Phone 7 http://blog.jerrynixon.com/2011/11/mango-sample-lock-and-run.html is it possible in Windows 8?
This sample is showing you how to implement the functionality so your app will still "run" when the device is locked. It only seems to work with a kind of "background tasks" which makes it not exactly the same as it is for Windows Phone.
http://code.msdn.microsoft.com/windowsapps/Lock-screen-apps-sample-9843dc3a
Please note that an app that can run when the device is locked should have at least one of the following background tasks:
Control Channel
Timer
Push Notification
Here is some more info on the lockscreen: http://msdn.microsoft.com/library/windows/apps/Hh779720
UPDATE:
As far as I have found there is no exact behaviour like in Windows phone to run your app under the lockscreen. There are a few recent posts on the MSDN blogs which explain the background model http://blogs.msdn.com/b/windowsappdev/archive/2012/05/16/being-productive-when-your-app-is-offscreen.aspx?wa=wsignin1.0
Sorry to see that at this moment there is no way to make it work under the lockscreen