windows-phone-8.1

How can I port a Windows Phone 8 app to Windows Phone 8.1?

≯℡__Kan透↙ 提交于 2019-12-07 14:04:53
问题 I've been working on a Windows Phone 8 app, which I now want to change to be Windows Phone 8.1. How can I do this? Should I create a new Windows Phone 8.1 app and copy all my existing files into it? Or is there an automated way for me to upgrade the existing solution to 8.1? 回答1: There are two ways to do that: like in comment - right click on oyour project and you should see Retarget to Windows Phone 8.1 or you can open Properties window of your project and the in dropdown box Target Windows

How to download and store an image using Windows.Web.Http?

被刻印的时光 ゝ 提交于 2019-12-07 12:14:47
问题 How do I download and store a jpeg image from the internet in a Windows Store App with Windows.Web.Http? The problem that I am facing is that I don't know what Get…Async and Write…Async method I must use for an image? It is very different with files, than with strings. Only Windows.Web.Http ! No third-party solutions ! If you suggest something else, please use the comment section, not the answer. Thank you! … using Windows.Storage; using Windows.Web.Http; Uri uri = new Uri("http://image.tmdb

TensorFlow on Mobile Devices (Android, iOS, Windows Phone)

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-07 12:10:40
问题 I am currently looking on different deep learning frameworks out there, specifically to train and deploy convolutional neural networks. The requirements are, that it can be trained on a normal PC with a GPU, but then the trained model has to be deployed on the three main mobile operating systems, namely Android, iOS, and Windows Phone. TensorFlow caught my eye, because of its simplicity and great python interface. There is an example application for Android (https://jalammar.github.io

How to create something similar to “toast notification” in Android in windows phone 8.1

一世执手 提交于 2019-12-07 11:59:14
问题 I want to create something similar to "toast notification" in Android in windows phone 8.1. What I want is, a text box to be displayed, indicating the user of some events happened ( like "Paired", "Connection Lost"...etc) . But the text box should get dismissed automatically after a few seconds without any user interaction. I have gone through Message Box, and Popup in windows. But both doesn't suite my needs, or I have to use a timer callback to dismiss it automatically, which is not

Windows Phone 8.0 app packaging in Visual Studio 2015 Preview

假装没事ソ 提交于 2019-12-07 11:58:38
问题 I have got Visual Studio 2015 Ultimate Preview installation through my students Dreamspark account. I installed it on top of updated Windows 8.1. workstation. I have Windows Phone 8.0 application that I need to publish to Windows Phone Store. I am following MS guide on their site, but I am stuck with step in which my options for packaging solution are disabled in VS 2015 Preview (can't start the wizard). Here is the screenshot of Visual Studio: On this site: http://goo.gl/pjbLPh I have found

Create a SQLite Database in Windows Phone 8.1 Class Library

≡放荡痞女 提交于 2019-12-07 11:34:29
问题 I have a Windows Phone 8.1 Class Library that I want to later add as a reference to a Windows Phone 8.1 App project. This ClassLibrary should be responsible for creating and managing its own database. I tried creating a new SQLiteConnection in my ClassLibrary, but it throws the following error: A first chance exception of type 'System.InvalidOperationException' occurred in SQLitePCL.DLL however, if I do the same in my MainApp everything works fine. So, is it possible to create a SQLite

How to split text with HTML tags to array

半城伤御伤魂 提交于 2019-12-07 11:22:11
问题 I have very simple text with HTML (only <b> tag) e.g. Lorem Ipsum is <b>simply dummy</b> text of the printing and <b>typesetting industry</b> I would like to split the text to array like this: [0] - Lorem Ipsum is [1] - <b>simply dummy</b> [2] - text of the printing and [3] - <b>typesetting industry</b> The text inside HTML tag must be separated from another text. Is there any simple solution for it? Thank you 回答1: You may achieve this using following code string value = @"Lorem Ipsum is <b

How to get text from TextBox inside ListViewItem's DataTemplate

笑着哭i 提交于 2019-12-07 10:12:55
问题 I don't know how to get text from "firstBox" and "secondBox" after button click. <ListView.ItemTemplate> <DataTemplate> <Grid> <!-- some code --> <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding Data}" VerticalAlignment="Top" Height="18" Width="100" FontSize="13.333" Margin="162,9,0,0"/> <TextBlock HorizontalAlignment="Left" Margin="0,35,0,0" TextWrapping="Wrap" Text="{Binding D_gospodarzy}" FontSize="14.667" VerticalAlignment="Top" Height="59" Width="100"/> <TextBlock

How to set a binding inside a style?

拈花ヽ惹草 提交于 2019-12-07 09:14:45
问题 I am fairly new to Xaml. I am learning UWP(Universal Windows Platform) and I have more buttons and I want to bind their Background property to a property of a ViewModel that will change during some events. I implemented the INotifyPropertyChanged and everything works ok (the color of the buttons change) when I bind the Background property in the Buttons' declaration in XAML: <Button Content="0" Grid.Column="0" Grid.Row="5" Background="{Binding ButtonColor, Source={StaticResource AppViewModel}

How to Call [Unmanaged C++ DLL func] from [C# WP8.1 WRT/SL] project

℡╲_俬逩灬. 提交于 2019-12-07 08:27:08
问题 This is not a duplicate of "how to call C++ function from C#" I know how to do it for regular PC app and I tried and it works: This is called P/Invoke 1. Create a C++ dll project, but you can't add the C++ dll project as a reference to the C# project. Copy the dll from C++, and paste the dll to the C# exe folder 2. in C# use [DllImport...] in C++ use extern "C" __declspec(dllexport) ... But when I do this on WindowsPhone, failed. There are 2 type of unmanaged c++ native dll project for