I am converting an app from Windows Phone Silverlight to RT, this app can zoom image and it use ViewportControl for this function, but when I used this control on XAML Page of Windows Phone 8.1 RT, there is no control has that name. Does Microsoft provides any replacement for this control, thanks a lot!
I suggest you use the ScollViewer. In the Windows Runtime it has more options then the Silverlight one. Use the ViewChanged to get the offsets and modify the position by using ChangeView()
Related
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
I am developing a Windows Phone 8.1 Silverlight application. Its very similar to a e-commerce app. I need something similar to a ListView. But that is not supported in Silverlight apps due to the missing Windows.UI.Xaml in them. So any suggestions for alternatives and corresponding template???
Thanks in advance.
Can we use WinRT XAML Toolkit to draw customized graphs in Windows Phone 8.1 apps?
I am trying to find out a tool or a authorized set of APIs to draw charts which can be customized during real time by retrieving data from a database.
http://www.telerik.com/…/w…/overview/all-controls/chart.aspx was given as an option but I think u have to pay for it.
I am looking for a free option.
yes you can use the WinRTToolkit, they even have a Nuget package specific for Windows Phone 8.1, more info on their CodePlex
i have seen a way to detect end of listview for Windows 8 app and i was wandering how to achieve this in 8.1 (being precise - for windows phone 8.1).
I tried this method but this works with windows 8 - i dunno how to get scrollview from listview in 8.1 (or is it even possible?).
Is there any other way?
How to format / convert html in windows phone 8.1 (universal) application for displaying it in RichTextBlock control?
I was using HtmlAgilityPack in Windows Phone Silverlight application to parse / convert html content to display it in RichTextBox.
How can we achieve the same in windows phone 8.1 (universal app)?
Or do we have any other control like Webview to display HTML content in windows phone 8.1 (universal app)?
If you want to display HTML content in your (universal) app, then WebView is the way to go, since it supports both platforms. From what I've seen so far, you can either load a page by a URI or specify the HTML as a string.
Here's a basic sample: http://www.c-sharpcorner.com/UploadFile/99bb20/webview-control-in-windows-store-apps-using-C-Sharpxaml/
This might also be helpful, as there are some points what the control will NOT do: http://blogs.msdn.com/b/wsdevsol/archive/2012/10/18/nine-things-you-need-to-know-about-webview.aspx