Is it possible to use Camera in Background or Hidden Mode in Windows Phone 8? - windows-phone-8

There are many ways we can access Camera in Windows Phone 8 / 8.1. Most of them launch specific UI for that.
Is there any way we can access camera without displaying anything related to camera in Windows Phone 8/8.1 ?
I want my camera to capture an image when my application opens.

Related

Windows Phone 8.1 camera app prevent pin passcode from showing

In WP8.1, one can write a phone camera app which is used when the camera button is tapped (to replace the out-of-the-box Windows Camera App or Lumia Camera App)
Setting the camera app works fine, and launching it with the camera button works too, however, when a pin / passcode is set on the device, it first asks for the passcode / pin before showing the camera app. For the Lumia and Microsoft Camera app, they get launched without asking for the pin.
Do you have any idea why?
Thanks

Universal app in windows : In Windows RT app not displayed transparent tile

I have just started to develop in universal app. I have developed app in Windows 8 store apps and also developing Windows Phone 8 and Windows Phone 8.1 (SilverLight) Apps. Question is related to universal app in Windows and Single UI which is created in App. Share folder.
1. I have a transparent Image as Icon but still it display white background check below images
I - > Package.appxmanifest
II - > Display in start menu .
You can't have transparent tiles in Windows Store apps.

How to register for Scroll Event on Windows phone

I am working on an app on Windows phone. I want to get notified when the ScrollViewer starts scrolling.
I see some example does this:
ScrollViewer sv;
sv.OnScrollChanged += ScrollViewer_ScrollChanged;
But the problem is I think the 'OnScrollChanged' properties is not available on Windows phone.
How can I get notified when user starts scrolling on a ScrollViewer?
Windows Phone Runtime or Windows Phone Silverlight?
The Windows.UI.Xaml.ScrollViewer used in Windows Phone Runtime events exposes ViewChanging and ViewChanged events.
The Silverlight ScrollViewer doesn't expose any direct events like this, but you could try binding to the Horizontal or VerticalOffset properties

No Basic Camera UI for Windows Phone 8.1

OK. Questions.
I know there is no CameraCaptureUI in Windows phone 8.1, so I have to use MediaCapture class. That's fine but what about UI? Do I have to make and position button in my screen from scratch?(like flash button, front camera button etc)
About Nokia Imaging SDK. does it provide any UI? and can I use that API for taking picture instead of working directly with MediaCapture?. I tried to find out some information about initializing and taking picture using nokia imaging sdk, but I couldn't find.
Can you let me know any useful link for implementing MediaCapture in windows phone 8.1? There are lots of links but only for silverlight 8.0 not 8.1.
You can use FileOpenPicker and if you specify .png and .jpg in the list of file types, the picker will have a camera capture button that will open standard camera capture UI:
FileOpenPicker picker = new FileOpenPicker();
picker.FileTypeFilter.Add(".png");
picker.FileTypeFilter.Add(".jpg");
picker.ContinuationData["Data"] = "Something"; // Will be passed back to the app after the picker finishes
picker.PickSingleFileAndContinue();
If you still want to write your own UI, check this link: http://www.romasz.net/how-to-take-a-photo-in-windows-runtime/

Button to enable multiple display (Windows 8.1)

I'm creating a windows app for windows 8.1 tablet. And I was wondering if it was possible to create a button within the app that will enable me to turn on and off the external display connected to the tablet. Similar to a computer when a projector is connected, a user must press a key in order to show or turn off the display on the projector.
Instead of swiping on the right edge and choosing devices and selecting the multiple display. I want to be able to do this within the app with a press of a single button to enable and disable the multiple display function. Is this possible to do?
Here's an sample from Windows 8.1 SDK that might guide you through the implementation:
http://code.msdn.microsoft.com/windowsapps/Multiple-Views-Sample-2582fcf3