win-universal-app

Is there a way I can have an object take up multiple grids in Windows UA?

可紊 提交于 2019-12-20 06:06:00
问题 I'm trying to make my first app, and I'm having a little trouble with the grids. I'm trying to make the left side of the screen a map, and the right side 2 boxes/grids. I'm not sure if there is a way to have an object within multiple grids or how to just setup a layout like that (basically a + with the left line gone) So far, this is the code I gotten for the layout. <Grid.RowDefinitions> <RowDefinition Height= "*"/> <RowDefinition Height= "*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions>

Anyways of running app without requiring Windows 8 Pro version

℡╲_俬逩灬. 提交于 2019-12-20 05:32:14
问题 I have been using Windows 8.1 for creating Windows Store apps. Below is output of winver command. I have installed necessary updates to start developing universal Windows Store app using JavaScript. When I try to launch app on Windows Phone emulator, I am getting following error. Unable to start windows phone emulator It also suggesting to use Windows 8 pro version. Is there anyway of running this without requiring to throw more money on getting Windows 8 Pro version? 回答1: Windows Phone

How to retrieve appointments in UWP from a Windows 10 calendar using C#

允我心安 提交于 2019-12-20 05:12:32
问题 I'm creating a Universal Windows Application in windows 10 using C# which manages appointments in the Windows Calendar App. I am able to add appointments, and can edit or delete them using the ID. However, without retrieving them and filtering, I won't know their ID. Has anybody had any experience with retrieving a list of calendar appointments in Windows 10 using C#? 回答1: You can retrieve all the calendar appointments using the Windows.ApplicationModel.Appointments.AppointmentStore class. In

Event Triggered Toast Notification UWP

橙三吉。 提交于 2019-12-20 04:12:17
问题 Idea:I am automating wifi login for a particular network where user have to enter credentials by poping a toast notification like alarm app but instead of snooze or dismiss button there would be login or logout. Issue:How to trigger toast notification immediately when the user connect to a particular wifi network? 回答1: You need to use a Background Task which is getting triggered by a System Event - in your case the NetworkStateChanged trigger. Here are a list of available triggers:

Where i can obtain client secret for my Universal app?

倖福魔咒の 提交于 2019-12-20 03:27:11
问题 I'm following this guide (http://msdn.microsoft.com/library/windows/apps/hh465407) to implement push notifications on my app, but it seems to be outdated since I can't find the client secret as shown in this image: . In developer dashboard (App identity tab) I've got only SID. I also checked Windows Live Services site but there are only passwords and private keys. There is no client secret: Where i can find that exact client secret shown in the msdn tutorial? 回答1: Azure also can't validate my

How to display a clock with the current time in a Windows Core IoT app?

本小妞迷上赌 提交于 2019-12-20 02:58:07
问题 I am trying to create an Windows 10 IoT app running headless on a Raspberry Pi 2. Everything is set up correctly and I am able to debug my from Visual Studio using the Raspberry Pi as the remote machine for debugging. Now I want to add a clock on the app page but I can't figure out how to keep the displayed time updated. In plain old C# I would use a BackgroudWorker or something similar to keep the displayed time current, but that type is not available in UWP. I have been looking into "Create

Flyout behind Appbar

空扰寡人 提交于 2019-12-20 02:56:17
问题 When you want your app to expand to the full screen (including status bar and appbar), you have to do : var applicationView = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView(); applicationView.SetDesiredBoundsMode(Windows.UI.ViewManagement.ApplicationViewBoundsMode.UseCoreWindow); Then if you want to have a flyout in your appbar or anywhere in your app, they will be displayed behind the appbar : <Page.BottomAppBar> <CommandBar> <AppBarButton Icon="Preview" Label="Preview">

UWP NetworkConnectionChanged Event

半腔热情 提交于 2019-12-20 02:45:20
问题 I am developing a UWP App and need to do some things after I lost network connection or the device connected again. Is there any event firing after a connection is lost or connected? I searched the www but anything I found was for WP8... I need this for UWP on Windows 10. I tried to use NetworkInformation.NetworkStatusChanged . 回答1: I had the same problem too. This article (and the whole website) has helped me alot: http://windowsapptutorials.com/windows-10/how-to-check-for-network

I can't create a universal 10 project after upgrading from windows 8.1 pro to windows 10

余生颓废 提交于 2019-12-20 02:29:32
问题 Problem I have upgraded my windows 8.1 pro 64 bits to windows 10 64 bits to work on universal apps with windows 10 ,but what I note is there many errors when I create a new universal 10 project with visual Studio 2015 . Tried modified the installation of visual Studio and the universal tools are already installed then I have repaired visual Studio but always I have a problem in opening a universal 10 Project (those errors are not appeared when I come to create a universal windows 8.1 app

Error DEP0001 : Unexpected Error: -2147009287 deploy Windows Phone Universal 10

↘锁芯ラ 提交于 2019-12-20 02:07:38
问题 When I try to deploy my application to Windows phone 10 I get this error: Error: -2147009287 from visual studio 2015 comunity. How can I solve that? 回答1: As Jay Zuo said in his comments (via a link). The easy way to solve this issue, seems to be to uninstall existing app (which is probably installed from the store) and then try to deploy the app again via Visual Studio. This worked for me. :) 回答2: I had the same problem. I was using a USB cable that was not in an excellent state, so to speak.