Keeping Windows phone 8.1 screen unlocked - windows-phone-8.1

I am writing test automation for Windows phone 8.1. After the phone is developer unlocked (to be able to deploy apps), the maximum timeout for keeping the screen unlocked is 5 minutes. The setting is under Settings > Lock Screen > Screen times out after dropdown on the phone.
For Win phone 8.0 there is an option to never time out the screen. My question is, since this seems not to be supported yet by Microsoft, is there some way to keep the phone 8.1 screen active, without having to manually touch it?

If you want to develop an App on your device, you only have to unlocked when you run the project (F5).
Anyway, the screen can be forced to stay on using the UserIdleDetectionMode property of the current PhoneApplicationService.
To disable automatic screen lock:
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
To enable it again:
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Enabled;
More information on MSDN

Related

Windows Phone 8.1 : Timing of 'Holding' gesture

Per the Windows 8.1 documentation, the UIElement.Holding event, the "exact timing of what the system interprets as a holding action is adjustable by users through system settings"
What exactly is meant by this? It would suggest that the user should be able to change the timing of what is interpreted as a holding action through the device's settings, but I see no such option on Windows Phone 8.1.
Or is this an option available to the developer? If so, how can the developer modify this setting for the app?
Thanks
As per the comment here on the Microsoft Phone Dev Center forums from Rob Caplan (a Microsoft employee),
"This is not adjustable by apps. It is a user setting. I believe that
on Windows systems it will be based on the double click rate (most UI
timings are based on that). I'm not sure on the phone. There may be an
adjustment in the ease of access centre."
There is no such adjustment on Windows Phone 8.1 Developer Preview in the Ease of Access settings.
It seems like there is nothing I can do here. Perhaps it is possible to code your own gestures in Silverlight?

how to connect rss feed to lock screen windows phone 8

how to connect rss feed to lock screen windows phone 8?
what's the code and where to put it (like app.xaml or mainpage.cs)
I'm absolute beginner.
There's fairly extensive documentation on setting up lock screen notifications and also on being a lock screen wallpaper provider, on the MSDN website

Can I Deploy windows phone apps in my Nokia Lumia 620 Freely

I Have windows phone 8 And I want to Develop apps and Deploy it Freely.is this possible.
Ya, max 10 developer app or unsigned apps are allowed to install in your phone.
I assume what you want to do is sideload the apps . For that you need to developer unlock you lumia620 first , which obviously is going to cost you.Please check price for developer unlocking you phone with microsoft.
Other than that it is impossible to load apps freely ,if it is not through App store.
Hope my answer helped you.
It is possible to load any number of unsigned xap files onto a Windows Phone device provided it is fully unlocked (interop unlock). How you go about getting your device to that state presents a challenge. So far, only the Samsung ATIV S has been unlocked to that level for Windows Phone 8.
Once you have fully unlocked your phone you effectively have free reign over your device being able to fully access components such as the registry or file system.
Both Samsung and LG have provided back door diagnostic tools on their phones that facilitate making the needed registry changes to completely unlock their phones. Whether such features are available on other brands has yet to be discovered.
If you are a software developer, you will probably want to get your hands on an ATIV S before they disappear.

Detect if AIR application is running on a phone or other device that can make phone calls?

I have an AIR application that runs on iDevice and Android, for tablets and phones.
I am trying to add functionality to turn displayed phone numbers into links that allow the user to launch a call to that number, but I only want this to happen on devices that can actually make phone calls (i.e. primarily on phones, not tablets).
Is there an easy way of detecting whether the application is running on a phone?

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