About Camera UI in window phone 8.1 - c#

How to access to Standard Camera Capture UI from code in winphone 8.1?
I tried FileOpenPicker to open Picture Library (added button to access camera on navigation bar). Is there any another way to access Camera Capture UI than using FileOpenPicker, for example- custom UI with class MediaCapture or is it not a good idea to use MediaCapture for simple capturing image? It mean, Can I call to Standard Camera Capture UI if I know what happen when click button camera in FileOpenPicker?

Sadly, there isn't one in Phone 8.1, see here: CameraCaptureTask missing in Window Phone 8.1 runtime???
You can use the FileOpenPicker to let the user choose an existing image or if they so choose, they can capture on in the moment by tapping the camera button in the app bar.
Windows Phone 10 is set to bring this back, as far as I know.

Related

Flip Image continuously like tile in windows phone 8.1 store app

I have one image in Grid. I want to give image a continuous flip effect like tiles in home screen. Also on tap tilt effect. How can we achieve this? any good start?
Thanks
http://phone.codeplex.com is the official toolkit for Windows Phone apps, this kit includes new components, functionalities and more. Effects like Effects – SlideInEffect, TiltEffect and TurnstileFeatherEffect are available
Also you can use HubTile for flip effect for tile image in your application
You can try FlipView :
You can Change title effect by FlipView.SelectIndex

How to invoke system camera from custom Windows phone 8.1.app

Is there a way to use default camera app(Nokia/Microsoft camera) in my app?
I would like to, on btn click to call system camera. Take a picture with it, and then upload that picture to the server from my app.
If there is no way to do that, what is the best way to create camera app so user can use zoom, flashlight, etc.
EDIT:
This was available in older versions of Windows phone, and it was simple to use
like this:
CameraCaptureTask camera = new CameraCaptureTask();
camera.Show();
camera.Completed += new EventHandler<PhotoResult>(camera_Completed);
I don't understand why would MS remove this ability from Windows phone 8.1
Thank you,
regards
The camera capture task was based on Silverlight APIs and was valid for Windows phone 7 and 8 that used silverlight Pages . The camera APIs are now based on WinRT Universal APIs . Have a look at this
https://channel9.msdn.com/Series/Building-Apps-for-Windows-Phone-8-1/17
You can do by this link,
capturing an image in windows store 8.1

Image Background for Start Screen in WP 8.1

Is it possible to change the background image of the start screen from an app?
Example: I have an generated image within the app and want to set it as background image (for tiles) of my start screen in windows phone 8.1 by a simple tap on a button.
Unfortunately, there is currently no API that allows changing the Windows Phone 8.1 Start Screen background image programmatically.

Using Gestures in Metro Apps

I have a MediaElement on my main page and I want to add gestures support in my app. More exactly I want to play/pause the movie when the MediaElement is tapped, increase/decrease the volume when the is a slide up/slide down, or jump to another position in the movie if there is a slide right/slide left. How exactly can i do that ?
My app is designed for Windows Store, so I want the simplest method that I can use for a Metro app. Also I have to say that my application is written in C# and I used XAML for the page design.

overlay window implementation in windows phone

In my wp8 phone app, I want to show overlay window when a particular action is completed based on certain data a(eg: summary, or game level details).
Is there way to do this in c#?

Categories

Resources