PhotoChooserTask built in crop option for windows phone 8.1 - windows-phone-8.1

In Windows Phone 8 I was using PhotoChooserTask to get images from phone gallery and when I fixed Pixel width and height automatically windows phone start a page for cropping the selected image. Can someone tell me how to enable this option with FileOpenPicker?

Unfortunately the Windows phone 8.1 SDK does not have this operation, and I swear I tried look for it in every where, and the people of MDSN tell me it is impossible.... But you can try two options:
First: In the workflow of FileOpenPicker the user has two options take a image file already exists or take a new picture like the follow pic:
So in this case you do nothing and talk to UX area that is impossible to do =) .
Second: You can create a module(separated project) in the same Project Solution which uses the Windows Phone 8.0 SDK (instead 8.1). Do what you need to get the job done using the PhotoChooserTask... After in the main project add a reference to it and be happy.
Some big projects are using this solution because the 8.1 SDK removed a lot of features of 8.0 SDK and did some things hard to do.
One project you should take a look in the source code is https://telegram.org/apps
I hope it helps.
Good Luck!

Related

How to create a "Photo Gallery" in windows phone 8.1

I'm building one app and I want to make a gallery in my app.
What I did was create a GridView binding all my photos.
But what I really want to do is, create a gallery the same way of Windows Phone.
Well Microsoft did create a control for this! It's called the MediaViewer Class, but it's a difficult one to use. It's however the closest representation of the actual control used in the WP camera app! It was first featured in the Basic Lens app sample and provided as a nuget package PhoneMediaViewer
Hope these code examples help

Windows Phone 8.1 Right to Left Language support

I am working in a Windows 8.1 Universal (not silverlight) app Windows Phone, and need to support right-to-left languages such as Arabic. Is there a was, other that setting the flow direction on the entire root frame, that I can alight the text right-to left to reflect this language?
You can set FlowDirection for specific Text to "RightToLeft" not for the entire root frame or you can set HorizontalAlignment to "Right" but this is not a nice way to do it.
Proved your XAML code please ?

How to set text on the secondary tile in Windows Phone 8.1 Universal App

I want to show a text across the middle of the secondary live tile (not the small text at the bottom). I am struggling to find any documenttion of how to do it. I know it was possible in WP 8, but I wonder if this functionality is still available?! I also want to it from code not from XAML.
Are you familiar with the tile template catalog for Windows Runtime apps?
http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx

Windows Phone Live Tiles with Background from the Web and updated automatically.

I am currently working on a windows Phone App that is supposed to have a flipping liveTile. Here's how it is supposed to work:
The Front will be generated from UI Elements that are filled with Data pulled from a Web API. That Backside will be generated from an Image downloaded from the Web. the Idea ist to have one Image for the small liveTile size and one for the big live tile.
Can someone give me a hint, how i can update the livetile automatically without having to have the app opened? I can't do it with a Push notification because i don't have a server to do the pushing in the first place. I tried using the ShellTileSheduler and RemotImageURI property but this doesn't work for different sizes. Am i missing something? Has anyone done somehting like this and has an idea how to do it? I'm getting really frustrated.
Here is a good start to generate tile
http://blogs.msdn.com/b/andy_wigley/archive/2013/04/10/live-apps-creating-custom-tile-and-lock-screen-images.aspx

creating pull down menu in windows phone 8

I have this requirement where i have to show a menu when users slide their finger down the screen. Just like viewing notifications in android and iOS.
If not the same thing may be any alternatives that i can use.
I'm new to windows phone development.
Please help.
While it can be done on your own, it's a pain to do well, and Telerik has already done this - check out their Data Bound ListBox control - http://www.telerik.com/products/windows-phone/overview/all-controls/databoundlistbox.aspx