windows-phone-8.1

Caliburn Micro GoBack to previous page instance WinRT

柔情痞子 提交于 2019-12-23 03:46:08
问题 I am using Caliburn.Micro.Core.2.0.1 on Windows Phone 8.1 (WinRT) application All my ViewModels extends Screen as the base. In my MainView(Model) I am able to navigate to a SettingsView(Model) with CM's INavigationService using private readonly INavigationService _navigationService; public void Navigate() { _navigationService.NavigateToViewModel<SettingsViewModel>(_param); } Then using the Hardware Back Button or public void GoBack() { _navigationService.GoBack(); } I can navigate back to the

Error communicating with the Windows Phone Dev Center. (ErrorCode:0x64)

 ̄綄美尐妖づ 提交于 2019-12-22 23:03:57
问题 I am trying to resolve the following error: Error communicating with the Windows Phone Dev Center. Set the correct date and time on the phone, check your Internet connection, and try again. (ErrorCode:0x64). I've checked our developer account and can see there are no devices unlocked so we haven't hit our limit. (We did have 3 devices previously unlocked but they have since been deactivated and removed from the account). The date/time are correct and the device is connected to a valid Wi-Fi

Windows phone 8.1 app connect with a database

泄露秘密 提交于 2019-12-22 22:25:33
问题 I'm totally new to the windows phone 8.1 app development. I'm trying to develop a simple app with a database using visual studio 2013. It is not a silverlight app. my app just have a text field and a button.And i have a MySQL database in a local server(WAMP). I need to get a input from the text field and store it in the database. First thing that I want to know is it possible to do? If it is possible I would be very grateful if you could provide a step by step guide or a link where i can

Is there any way to fetch Mobile Number of windows phone 10 using c#

泪湿孤枕 提交于 2019-12-22 17:33:40
问题 I have created my application in UWP. I need to search current sim and sim Mobile number. Please help me for find the mobile number using windows phone 10 in c# 回答1: Yes, it is possible. You can use SmsDevice2.AccountPhoneNumber to get the phone number. From this article,Pay attention of This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. Hence it requires the

Windows Phone Pivot Displaying above where it should

爱⌒轻易说出口 提交于 2019-12-22 14:55:26
问题 I have the following xaml <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <StackPanel Orientation="Horizontal"> <Frame Height="Auto" Width="200" Background="Green" /> </StackPanel> <Pivot Grid.Row="1" Background="Red" Width="200" VerticalAlignment="Stretch" Title="Pivot Title"> <PivotItem Header="Blah"> <TextBlock Text="Pivot content"/> </PivotItem> </Pivot> </Grid> Which produces the following layout The issue is that the pivot is

How to get all files in a StorageFolder in Windows Phone Runtime?

百般思念 提交于 2019-12-22 11:09:29
问题 I want to get all files in a folder and its sub folders. but a flat query like this: var allFiles = await myFolder.GetFilesAsync(Windows.Storage.Search.CommonFileQuery.OrderByName); throws a ArgumentException exception: A first chance exception of type 'System.ArgumentException' occurred Additional information: Value does not fall within the expected range. before I query subfolders one by one, isn't there any other way? 回答1: You want all the files and folder which are a descendent of the

Native images generated against multiple versions of assembly System.Net.Http

大憨熊 提交于 2019-12-22 11:04:23
问题 I have Windows Phone Silverlight 8.1 application which is using BackgroundTask project for WNS and timer tasks. I`m getting following error on calling some method from BackgroundTask project: ERROR: Native images generated against multiple versions of assembly System.Net.Http. Does anyone have some idea where can be problem? 回答1: I found a problem: I have Windows Phone Silverlight 8.1 main project (converted from WP8 for IBackgroundTask support) referenced to DAL project (WP Silverlight 8.1).

How can I load remote content in a WinJS iframe whilst avoiding SEC7117 errors?

浪尽此生 提交于 2019-12-22 10:37:00
问题 I'm trying to port an existing web app to Windows Phone 8.1 (and later, to Windows 8.1). This is not static content, this is a dynamic page with loads of client-side functionality. My default.html file has <iframe src="https://remote.example.com/app.html"></iframe> . The content in the iframe works in the emulator, and resources that are directly referenced in that initial HTML seems to work. However, my web app but triggers several errors like this: SEC7117: Network request to https://cdn

Multiple audio stream in Universal App(Runtime API), XNA SoundEffect replacement

陌路散爱 提交于 2019-12-22 10:29:31
问题 As the XNA SoundEffect is no longer available in the Windows Runtime API (for developing Universal App), I need something similar to play multiple audio streams at the same time. Requirements: Play the same audio file multiple times, simultaneously. Previous Silverlight implementation with SoundEffect : // Play sound 10 times, sound can be played together. // i.e. First sound continues playing while second sound starts playing. for(int i=0; i++; i < 10) { Stream stream = TitleContainer

Mutex and Windows Phone 8.1

随声附和 提交于 2019-12-22 09:42:08
问题 Here's my problem. Windows Phone 8.1 Visual Studio 2013 Release 4 I've got a main project, and a background project that runs every 30 minutes. I want to pass data between the two. I want to ensure exclusive access to storage in Windows.Storage.ApplicationData.Current.LocalSettings, so I'm using a Mutex. In my main XAML project, I create and use a Mutex named "B+DBgMu" (don't ask). public static Mutex Mu = null; // A Mutex Mu = new Mutex (true, "B+DBgMu"); // Create a Mutex. This is done only