windows-phone-8.1

Could the ViewportControl support on windows phone 8.1?

陌路散爱 提交于 2019-12-08 09:35:23
问题 Now, I want zoom in or out the picture on listviews. The people had share to me that these question but It use ViewportControl that windows phone 8.1 is not support. 回答1: The ViewportControl is supported for Silverlight 8.1 apps. It is not supported for Windows Phone Runtime apps. You can use a ScrollViewer to allow a picture to zoom in or out: <ScrollViewer x:Name="scrollViewer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto"

AJAX responses messed up in Cordova application on Windows Phone 8.1

柔情痞子 提交于 2019-12-08 09:23:15
问题 We are using Cordova 3.4.0 to develop an app. Everything works fine on Android and iOS and also if we launch our app in a desktop browser. But we are stuck with really strange issue on Windows Phone 8.1. Here is a simplified code example to test. index.html in the application root: <!DOCTYPE html> <html> <head> <title>Mobile sandbox</title> <meta charset="UTF-8"> <script type="text/javascript" src="libs/jquery/jquery.min.js"></script> </head> <body> <div id="redbox" style="width:100px;height

How do I launch other app from my own app in Windows Phone 8.1?

我只是一个虾纸丫 提交于 2019-12-08 09:10:13
问题 I know this is possible because some app like Transparency Tiles is doing it. I know we can use Launchers for common tasks or built-in apps in Windows Phone. But how about third party apps like demonstrated by Transparency Tiles? I have also read that you can launch some apps by URI as long as the app (internal or 3rd party) has registered the URI "scheme" with the phone. Is there a list online where we can find the third party URI scheme? 回答1: Nevermind. I think I've found some clues Nokia

HttpClient in Windows Phone 8.1 Universal app

北城以北 提交于 2019-12-08 08:16:49
问题 So i'm testing universal applications and have reached this: I have an application on Windows Tablet that gets data from server. Server is protected with certificate ( SSL ) I have this code, runs great on simple Windows Store Application, and Universal application project for tablet, but not Phone async public static Task<string> GetDataFromServer() { try { HttpClientHandler aHandler = new HttpClientHandler(); aHandler.ClientCertificateOptions = ClientCertificateOption.Automatic; HttpClient

How Can Use Isolated Storage in wp 8.1

[亡魂溺海] 提交于 2019-12-08 08:12:54
问题 How can I Use IsolatedStorage In this Code: private void Button_Click(object sender, RoutedEventArgs e) { textblock.Visibility = Visibility.Visible; } I use Windows Phone 8.1 Silverlight c# 回答1: I assume you want to store the state of your Button Control. Then you can do this, if(!IsolatedStorageSettings.ApplicationSettings.Contains("ButtonVisibility")) { IsolatedStorageSettings.ApplicationSettings.Add("ButtonVisibility", Visibility.Visible.ToString()); } else { IsolatedStorageSettings

Reminders in Windows Phone Silverlight 8.1

给你一囗甜甜゛ 提交于 2019-12-08 08:02:02
问题 Reminders in my app, Muslim Prayers works great on Windows Phone 8 and whenever a user taps on any reminder, it simply launches the app. I have updated my phone to Windows Phone 8.1 and the same app works fine. However, after re-targeting my app to Windows Phone Silverlight 8.1; the reminders do not launch an app upon tapping on it. I want to know is this a known bug or am I missing something? Thanks 来源: https://stackoverflow.com/questions/24300665/reminders-in-windows-phone-silverlight-8-1

CameraPreviewImageSource empty preview frame

风格不统一 提交于 2019-12-08 07:50:47
问题 I made cut and paste of the code below about how to use CameraPreviewImageSource and access to preview buffer frames, but do not work and it seems the frame buffer size is 0x0 reading the value of IImageSize parameter of OnPreviewFrameAvailable event. How to get preview buffer of MediaCapture - Universal app protected override void OnNavigatedTo(NavigationEventArgs e) { InitializeAsync(); } public async void InitializeAsync() { _cameraPreviewImageSource = new CameraPreviewImageSource(); await

How to get the Download/Upload status(in %) from Http Client in Windows 8.1 Universal App?

喜夏-厌秋 提交于 2019-12-08 05:57:24
问题 I have a spec in which there is a need to ignore HTTPS certificates and also to get the status of Upload/Download. I am using HttpClient to ignore the certificate but i could not find the way to get the status of downloading/Uploading. I know it was there in WebClient Windows Phone 8 and Webclient not there in Windows 8.1. So please guide me to accomplish both these things. 回答1: For Download progress, You can return response stream from your Http request and can use below code to write to

Set start page in Windows Phone 8.1 universal app

依然范特西╮ 提交于 2019-12-08 05:48:51
问题 I need to change start page in my app depending on logged user or not. In Silverlight 8.1 version all what I need to do is delete starting page in manifest file and in App.xaml.cs: private void Application_Launching(object sender, LaunchingEventArgs e) { Uri uriMain = new Uri("/PivotPage.xaml", UriKind.Relative); Uri uriLogin = new Uri("/MainPage.xaml", UriKind.Relative); var settings = IsolatedStorageSettings.ApplicationSettings; if (!settings.Contains("user_id")) { RootFrame.Navigate

WindowPhone FlipView System.ArgumentException

泄露秘密 提交于 2019-12-08 04:46:31
问题 I have a problem with using FlipView in my WindowsPhone app. I have a Page with FlipView, which has ItemsSource that binds to ItemsGroup and SelectedItem that binds to CurrentItem. DataTemplate of FlipView includes WebView which has attached property Html that binds to Html of CurrentItem. Everything goes well, but the app crashes with System.ArgumentException from time to time and I have no idea what's wrong. XAML: <Page x:Class="UkraineNews.ItemPage" xmlns="http://schemas.microsoft.com