FAQ Database Discussion Community


sql engine for local datastore in windows app

c#,mongodb,sqlite,windows-phone-8.1,win-universal-app
I would write an application where I have local database which has ~650K rows. This database will have ~3 tables and my app will use in 99% queries about selection. What kind of db is better? Sqlite or MongoDb? The application will be for windows 8.1/windows phone. Generally for .NET.

Uploading a StorageItemThumbnail to Azure blob storage from a Windows Universal app

azure,windows-runtime,windows-azure-storage,win-universal-app,storagefile
I am building a Windows Universal app. I have a Windows.Storage.FileProperties.StorageItemThumbnail obtained from a Windows.Storage.StorageFile as the result of a call to StorageFile.GetThumbnailAsync. Now I need to upload the thumbnail to Azure blob storage. The correct method appears to be UploadFromFileAsync or UploadFromStreamAsync on Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob. But the only documentation I...

How to show an alert in Windows Universal Apps with Radio buttons which does not light dismiss?

c#,win-universal-app
I am working on Universal apps and I am new in this platform. I want to display an Alert box with languages in it and get input from User based on RadioButton checked. I used CustomMessageBox in Windows Phone 8 for this purpose. But its not available in Windows Universal...

How to keep PlaceholderText when Textbox get focus WP 8.1 Universal app

windows-phone-8.1,win-universal-app
I want to keep PlaceholderText in the Textbox when it gets the cursor (focused) like in the MSN Weather app image. How can I achieve this? ...

Scroll view mistakes

c#,xaml,scrollview,win-universal-app
I'm using MS Visual Studio 2013. My project is for Windows universal app. I have one problem, my scroll view doesn't work.And i don't know why.. This is my code: <ScrollViewer Height="8000" VerticalAlignment="Top" VerticalScrollBarVisibility="Visible" VerticalScrollMode="Enabled" AllowDrop="False" BringIntoViewOnFocusChange="True" HorizontalScrollMode="Disabled" IsHoldingEnabled="True" > <Grid> <TextBlock HorizontalAlignment="Left" Margin="108,87,0,0" TextWrapping="Wrap" Text="Total points:" VerticalAlignment="Top"...

pushing Dialog back to microsoft band after interacting with Cortana on Band

c#-4.0,windows-phone-8.1,windows-8.1,win-universal-app,microsoft-band
I have developed an application and I use voice commands(Cortana integration) to get some data in my phone. Now I would like to add band support. I expect the similar function but I needs to push the data to my Band. I just spoke the same voice command through my...

Universal Drivers will run inside Universal Apps in Windows 10?

windows,driver,win-universal-app,kmdf
I am wondering how I will be able to integrate my KMDF driver into a Universal App. Currently I have the user download a KMDF driver which is used in my desktop application. If I transition to a universal app, how will I be able to use my drivers? Does...

How to get an IBuffer from an IRandomAccessStream

c#,windows-8.1,win-universal-app
If I have a IRandomAccessStream object, how do I create a IBuffer object?

Can't get WinAppDeployCmd for Appx deployment to work

windows-phone,win-universal-app,windows-universal,windows-10
During the App Packaging and Deployment for Universal Windows Apps presentation (fast forward to 00:36:00) one specific command line utility - WinAppDeployCmd - was used for deployment Windows 10 Universal application to the phone running Windows 10 Mobile. This utility could be found here: "c:\Program Files (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe" But every...

Change the Location of DefaultPage in Universal App

c#,xaml,win-universal-app
How can I change the location of the default MainPage.xaml in an Universal Windows App? I want to have in the Windows and WindowsPhone Project a subfolder named "View" where I save the MainPage.xaml file like this example.  - Windows Project  -- View  --- MainPage.xaml  - WindowsPhone Project  -- View...

getting the Unique DeviceId in Windows Phone 8.1 using C++ code

c++,windows-phone-8.1,uniqueidentifier,win-universal-app
I'm trying to get unique 44 digits device id of windows phone 8.1 using c++ code. I've followed the following link for it. http://abundantcode.com/alternate-way-of-getting-the-unique-deviceid-in-windows-phone-8/#comment-85511 It's a short code of one line only, var UniqueID = Windows.Phone.System.Analytics.HostInformation.PublisherHostId; but I'm getting a lot of errors on it. error C3083: 'Analytics': the symbol...

Universal App ListView Item HorizontalAlignment

xaml,listview,win-universal-app,windows-10
I would like to create a ListView that has right aligned items as well as left aligned. So far in all my attempts with DataTemplates and ItemContainerStyles, I am not able to get this working. The left alignment works fine as that is the default, but I cannot figure out...

Dynamic table in universal app

c#,wpf,mvvm,win-universal-app,stackpanel
I am developing universal app for windows phone 8.1/windows 8.1. I am using MVVM pattern. I have table with dynamic number of stackpanels that are bind to source in view model. One stackpanel is one row in the table. How can I make items in stack panels same width? I...

Windows 10 Universal apps. What controls should I use for a hamburger menu? [closed]

c#,windows,win-universal-app
So I've got VS2015 RC and the Windows 10 tools. I was watching //build day 2 keynote when I saw A really nice UI and hamburger which scaled really nicely. http://i.imgur.com/JxwoVZg.png Which controls would I use to implement the hamburger menu? There must be something better than my rectangle and...

Track information of current song in Universal App

c#,xaml,win-universal-app,universal,windows-media-player
I'm trying to get the track info (song, album, artist name) of the currently played media in an Windows Universal App. The information can be updated by using the SystemMediaTransportControls. Is it possible to read the information of a song played by another app (like XBox Music)?...

Is there a better way to show enums in a control, eg combobox

c#,enums,winrt-xaml,win-universal-app
My goal is to present to the user the list of available enum's in a user friendly string format rather than the code value, and display said property when required. Given that the DataAnnotations namespace doesn't exist in 8.1 universal apps, I can't simply apply [Display(Name="Nice display string")]. I have...

How to generate dynamic buttons inside a canvas in Windows Phone 8.1 from viewmodel?

c#,wpf,xaml,data-binding,win-universal-app
EDIT: As becuase there are too many suggestions I got, so firstly I consider to change it step by step, so my first problem is to get the dynamic Buttons from ViewModel to View. I am writing a WP 8.1 Game apps. So from MainPage.xaml my game navigate to GamePage.xaml....

How do you read the serial port with windows 10 core

c#,raspberry-pi,core,win-universal-app,windows-10
using python on the Raspberry PI I use similar code to what is shown below to read data from the serial port: baud = 9600 # baud rate port = '/dev/ttyACM0' # serial URF port on this computer ser = serial.Serial(port, baud) ser.timeout = 0 var message = ser.read(9); Essentially...

Reordering in Windows Phone 8.1 ListView

c#,xaml,windows-phone-8.1,win-universal-app
I have a Windows Phone 8.1 ListView. I want to reorder the items in the ListView.I want to initiate the reorder mode on longpress, I can manage it by tapping in to the items Holding event and change the ListViews ReorderMode to Enabled. The ListView looks like this 1. Is...

Is there a Windows (Phone) equivalent of the Android selector?

c#,android,xaml,windows-phone,win-universal-app
Android xml has a nice thing for button (and other things) states which are selectors. Here is an example of the Android Documentation: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android" android:constantSize=["true" | "false"] android:dither=["true" | "false"] android:variablePadding=["true" | "false"] > <item android:drawable="@[package:]drawable/drawable_resource" android:state_pressed=["true" | "false"] android:state_focused=["true" | "false"]...

How can I implement the same models and data across ASP.NET and Windows Apps

c#,asp.net,asp.net-mvc,windows,win-universal-app
Bit of a beginner question, but I'm currently building an ASP.NET MVC web app and I would like to transfer my models and data across to a Windows Universal App to begin with and then maybe a Xamarin app in the future. Are there any good tutorials or blog posts...

Windows phone is not showing fontweight to Light on device

xaml,fonts,windows-phone-8.1,win-universal-app
I am trying to add fontWeight="Light" in my windows phone app. but it is not working on designer it shows light font on emulator or device it does not make font thiner at all. <TextBlock Text="Some text in normal" FontSize="22" FontFamily="Segoe UI" FontWeight="Normal" /> <TextBlock Text="Some text in normal" FontSize="22"...

WNS push notification never fires Activated event when app is suspended

c#,push-notification,windows-phone-8.1,win-universal-app
My head started to spin: I have a windows phone 8.1 universal app. In App.xaml.cs I have implemented the following methods: public sealed partial class App : Application { public static bool isSuspended = false; public App() { this.InitializeComponent(); this.Suspending += this.OnSuspending; this.Resuming += this.OnResuming; } private void OnSuspending(object sender,...

Windows phone 8.1 universal app DataTransferManager UI not showing

c#,windows-phone-8.1,win-universal-app
In my windows phone 8.1 universal app project I am trying to make a share option. But when I click on the button (ShareCommand) the Share UI is not showing up, I have tried this in the emulator and on a device. The event is correctly wired up since the...

How to store data / use databases with Windows Universal Apps (C#, XAML)

c#,database,win-universal-app,windows-universal
I'm looking into developing Universal Windows Applications with C# and XAML. If I were to design an application to log user's meals (nutrition log app) I'd need a database of foods (nutrition data - protein, fat etc.), user's data (age, weight, height, goals, calorie needs etc.) and meals (time, foods...

Save/Get ObservableCollection to/from Roaming

c#,json,windows-store-apps,observablecollection,win-universal-app
I'm making a Universal windows store app and I have an ObservableCollection. What I want is to save the data from the ObservableCollection somewhere so that the data can sync between desktop and phone that have the same universal app, and then I need to be able to get this...

8.1 Universal App. Setting textbox focus on load

c#,xaml,focus,win-universal-app,windows-10
I was wondering if there was a way to force focus to a textbox in a Windows 8.1 Universal app? I've been playing around with publishing to Window 10 IoT on the raspberry pi 2. While publishing to it I noticed that the only textbox does not pickup focus, despite...

Can't deploy universal app to phone with Windows 10 Mobile Tech Preview

deployment,win-universal-app,windows-universal,windows-10,windows-10-mobile
I have a developer unlocked Lumia 635 just yesterday updated to Windows 10 Mobile Technical Preview (OS version: 10.0.12562.84). After creating "Blank App (Windows Universal)" targeting Windows Phone 10 in Visual Studio 2015 RC and tried to deploy it to the device (and have changed configuration to ARM for that...

frame issue when creating a method in a class for windows phone 8.1

c#,windows-runtime,windows-phone-8.1,win-universal-app
I am trying to create a method I can reuse on multiple pages in my code for windows phone 8.1 universal Runtime app. So I copied this snippet from one of the pages into my helper class. However, I am struggling with "Frame" class. I also defined "Frame Frame;" outside...

Change the style of content dialog button in windows phone universal application

styles,windows-phone-8.1,win-universal-app
I have this content dialog box defined inside my xaml: <ContentDialog x:Name="AlertMessage" Background="#363636" IsSecondaryButtonEnabled="True" SecondaryButtonText="Cancel" IsPrimaryButtonEnabled="True" PrimaryButtonText="Ok" > <ContentDialog.Content> <StackPanel Name="rootStackPanel" Height="Auto" > <StackPanel Margin="0"> <StackPanel Margin="0,0,0,10" Orientation="Horizontal"> <TextBlock x:Name="HeadingText" x:FieldModifier="public" Style="{StaticResource ApplicationMessageBoxHeadingStyle}"...

Run Windows 10 Universal Apps on Windows 8.1

windows,windows-8.1,win-universal-app,windows-10
Is it possible to run a windows 10 universal app on windows 8.1? I searched a lot, but I didn't find a clear answer on MSDN etc. Thanks....

Why is XAML not the equivalent of AddHandler?

c#,xaml,win-universal-app
I am porting over a WPF application to Windows Universal. I want to add the same MouseLeftButtonDown handlers to my controls. They seem to have been replaced with the Tapped Event. However, when I add a handler as such: <Border Tapped="brd_Tapped" /> The handler is not called. After researching the...

No exports where found that match the constraint: Contractname. When creating an universal app new project

visual-studio,win-universal-app
I am running Visual Studio 2013 update 4 and Visual Studio 2015 RC I get this message in 2013: I have read both no exports were found that match the constraint:ContractName and Error message "No exports were found that match the constraint contract name" I have several folders in C:\Users\JP\AppData\Local\Microsoft\VisualStudio...

Windows Phone 8.1 Universal app adding a new contact

javascript,html5,windows-phone-8.1,winjs,win-universal-app
I have to save new contact to People app. How can I make it? Can HTML apps do something with contact storage? I was looking for API but it only explain contact object. Any solution?...

Bing maps sdk with Telerik UI controls for universal app

c#,telerik,windows-8.1,win-universal-app
Hi I am using Telerik UI controls for universal application .Since windows phone 8.1 has its own control for map so I used that but when I added bing maps sdk extension to windows 8.1 project and build it it shows following error Payload contains two or more files with...

UWP: styling the window buttons does not work on the close button

c#,.net,win-universal-app,windows-universal
in a Windows 10 UWP we can style the title bar and window buttons (windows chrome). However this does not work on the close button when use hover or click onto them. Take the following snippet: Color PrimaryColor = Color.FromArgb( 0xFF, 0xFF, 0x00, 0x00 ); Color ContrastColor = Color.FromArgb( 0xFF,...

How to store PDF files: in sqlite or in the separate folder

sqlite,windows-8.1,win-universal-app,sqlite-net
I am developing Windows 8.1 Universal Application and I use Sqlite and Sqlite-Net to store the data. Now I need to add ability to store PDF files (1 Mb - 50 Mb) files in my application. What is the best solution in this case? Store files in the Sqlite or...

Why does DeviceAccessInformation.CreateFromDeviceClass throw a FileNotFound Exception

geolocation,windows-phone-8.1,win-universal-app
I have the following snippet of code that is intended to check if I can access Location Services. It builds ok but on the device and emulator I get a FileNotFound Exception on the switch (accessInfo.CurrentStatus) line (there is nothing on Google about this) var accessInfo = DeviceAccessInformation.CreateFromDeviceClass(DeviceClass.Location); accessInfo.AccessChanged +=...

Windows Phone 8.1 - get WebView Height [duplicate]

webview,windows-phone-8.1,win-universal-app
This question already has an answer here: Get WebView's content height - Windows Phone 8.1 1 answer I want to add a WebView control to my page with its height to be has the HTML content's length. The deafult behavior of the control is to stretch according to the...

HttpClient not writing to stream while downloading

c#,http,stream,win-universal-app,dotnet-httpclient
Currently I am implementing a way to report Progress with the HttpClient, since we share code with a .NET4 WPF and a Windows Universal App we use the Microsoft HTTP Client Libraries from NuGet. The idea was to wrap the target file stream in a CountingInputStream and report progress there:...

How do I include a timer in a universal windows app with c#

c#,visual-studio,win-universal-app
I need a timer in my universal windows app. I have read that the only one available for universal windows apps is System.Windows.Threading.DispatcherTimer. In order to use this I manually added the WindowsBase.dll to my app's references in the solution explorer in visual studio. Now I get the following error:...

Windows Phone 8 Universal App - Use JS within C# Code

c#,windows-phone-8,win-universal-app
I am trying to build a WP8.1 Universal App based on an empty C# Project. In the projectexplorer I can add / creata JS files but I cant find a way to make use of them within the C# project.. So what I am trying to do: Use C# code...

Is it possible to retrieve phone battery status in a Background Task in a WinRT/Windows Universal App?

c#,windows-phone-8,windows-runtime,win-universal-app
I'm attempting to run a timed Background Task in a Windows Universal app. In the Background Task, I'd like get some details about the user's phone, including remaining battery charge percent. It appears that the only way to access Battery info is through the Windows.Phone namespace, which is unavailable to...

About Camera UI in window phone 8.1

c#,windows-runtime,windows-phone-8.1,win-universal-app
How to access to Standard Camera Capture UI from code in winphone 8.1? I tried FileOpenPicker to open Picture Library (added button to access camera on navigation bar). Is there any another way to access Camera Capture UI than using FileOpenPicker, for example- custom UI with class MediaCapture or is...

Universal Windows Platform and SignalR (Could not load file or assembly 'System.Net, Version=2.0.5.0)

c#,signalr,win-universal-app,visual-studio-2015,uap
when using the new Universal Windows Platform and a SignalR client (from Nuget) a strange thing happens when you set the network credential. The following code works flawlessly: NetworkCredential Connection_Credentials = new NetworkCredential( "Name", "Password" ); Microsoft.AspNet.SignalR.Client.Connection Connection = new Microsoft.AspNet.SignalR.Client.Connection( "http://localhost/Bla" ); However when you assign the NetworkCredential in...

Text input focus issue on Windows Phone (Universal) with Cordova

cordova,windows-phone-8,win-universal-app,hybrid-mobile-app,visual-studio-cordova
I'm currently building a mobile app using Cordova platform. The app was targeted on Android, iOS and Windows Phone 8. Recently, I had to change the latter to Windows Phone 8.1 (Universal). After adding the winstore-jscompat library and making couple changes to CSS everything seems to work the same way....

What is the alternative for BackgroundWorker in Windows 8.1 Universal Apps?

c#,win-universal-app
I am migrating my Windows Phone App to Windows Universal Apps. In Phone App, I used BackgroundWorker for database retrieval and then show in UI. Below is the class which I prepared in Windows Phone 8 and how it was called. public class TestBackgroundWorker { private BackgroundWorker backgroundWorker; ProgressIndicator progressIndicator;...

How to play video using Youtube Data API v3 and video id in Windows Universal App

c#,windows-phone-8.1,win-universal-app,youtube-data-api
I am receiving Youtube Video Id (i.e "par2cUNk8OE") from server, by using that id i want to play video in Windows phone universal application, i have searched a lot but not found any sample which will guide me. So can anyone tell me how to do that or any sample...

How to keep the page in Portrait mode in Windows Universal Apps?

c#,win-universal-app
I am migrating my Windows Phone App to Windows Universal Apps. In my phone app, there was an attribute Support Orientation for which we can set value Portrait and Landscape.I want to achieve the same in Windows 8.1 App of Universal Apps. Even if the person rotated his/her tablet in...

“InvalidOperationException: A method was called at an unexpected time” when calling MediaCapture.StartPreviewAsync

c#,wpf,windows-phone-8.1,win-universal-app
I'm trying to start and stop a MediaCapture preview for the camera in a Windows 8.1 Universal app. In the OnNavigatedTo method, I have the following code: protected override async void OnNavigatedTo(NavigationEventArgs e) { var scanItemsParameter = e.Parameter as ScanItemParameter; if (scanItemsParameter != null) { ((ScanItemViewModel)DataContext).ScanCallback = scanItemsParameter.ScanCallback; } try...

What are the Windows 10 universal app deployment methods?

win-universal-app,windows-universal,windows-10
I'm trying to evaluate Windows 10 universal app platform for future development, and trying to understand how Windows 10 universal apps can be deployed to Windows 10 computers. Are they can be deployed only via the Windows Store, just like Windows 8 Metro apps? Or can they be deployed via...

CameraPreviewImageSource empty preview frame

windows-phone-8.1,win-universal-app,lumia-imaging-sdk,nokia-imaging-sdk
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 CaptureMedia -...

ComboBox style in universal app

c#,wpf,combobox,win-universal-app
I am overriding style for combobox in universal app using wpf. Everything works fine on windows 8.1, but on windows phone 8.1 I got error stating that no resources with the key/name ComboBoxThemeMinWidth exists. <Application x:Class="wcc.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:wcc" RequestedTheme="Dark"> <Application.Resources> <Style TargetType="ComboBox"> <Setter Property="Padding" Value="8,0" /> <Setter...

How to encode IImageProvider as a PNG image?

windows-phone-8.1,png,windows-8.1,win-universal-app,lumia-imaging-sdk
Assuming I have a LumiaImagingSDK rendering chain setup, with a final IImageProvider object that I want to render, how do I encode that into a PNG image?

WinPhone 8.1 | Force xaml layout change

c#,xaml,windows-phone-8.1,win-universal-app
I have a textbox that when the user presses enter, we perform an API call. However during this time I want to update the XAML layout to show a progressbar. However the layout update only takes place after the method has completed meaning that no progress bar is visible while...

Windows Universal app - no “Any CPU” configuration for Windows 10?

win-universal-app,visual-studio-2015,windows-universal,windows-10
I'm updating Windows Universal project that was created with Windows Software Development Kit (SDK) for Windows 10 Technical Preview to Windows Software Development Kit (SDK) for Windows 10 Insider Preview: So the solution file's changes is only VisualStudioVersion from 14.0.22609.0 to 14.0.22823.1. The project file's changes are also minor: <TargetPlatformVersion>10.0.10030.0</TargetPlatformVersion>...

Check if a type defined by a Type variable implements an interface in .NET Portable

c#,.net,portable-class-library,win-universal-app
I have portable component in my universal app, and thus, the component uses .NET Portable v.4.6. In that component, I'm trying to check if the type defined by a Type variable myType implements a certain interface IMyinterface. If I were using the standard .NET framework, I could check if myType.GetInterface("MyClass.IMyinterface")...

Cannot load shared 'project' in Windows Universal app after upgrading to Azure SDK 2.6

visual-studio,azure,win-universal-app
I've just installed the April 2015 release of the Azure SDK. It is version 2.6 and previously I was on 2.5. Now one of my projects will not load. It is the shared project in a Windows Universal application. When I right-click the project and choose 'reload' I get the...

How to get all classes in a Namespace using Reflection in a WP8.1 App?

c#,reflection,windows-runtime,windows-phone-8.1,win-universal-app
I have read several post about how to get Classes using reflection even there are different examples in StackOverflow but none of them is related to this Version of WP or Windows and if you try those codes no of them works. This is the last one that I tried:...

What is the alternative of Pivot Control in Windows 8.1?

c#,listbox,windows-8.1,win-universal-app
I am migrating my Windows Phone 8 app to Windows Universal Apps. I am currently working on Windows 8.1 project.In my Windows Phone 8 app , I used Pivot Control to show multiple pages and for each App bar was different and in that when I used to slide the...

Windows Phone 8.1 Showing progress view until async/await task finishes

c#,asynchronous,windows-phone-8.1,win-universal-app
I have two tasks which download an mp3 from web address inside local storage and returns timeSpan. public async Task<TimeSpan> filedownload_Ignition_Outside() { Uri sourceIgnition_Outside = new Uri(TemporaryAddress.download_playCarSound+"Ignition_Outside"); //download and store file return duration_Ignition_Outside; } public async Task<TimeSpan> filedownload_Idle_Outside() { Uri sourceIdle_Outside = new Uri(TemporaryAddress.download_playCarSound +"Idle_Outside"); StorageFile destinationFileIdle_Outside; //download and store...

LongListMultiSelector equivalent in windows phone 8.1 universal app

c#,windows-phone-8.1,win-universal-app
What is the equivalent of the LongListMultiSelector in windows phone when created as a universal app? All I want to do is provide checkboxes when I tap on the left inside of a list but I can't figure out to do it. I've tried using the ListView, but that either...

How to show a progress ring with a text in Windows Universal Apps?

c#,win-universal-app
I am migrating my Windows Phone 8 App to Windows Universal Apps. In that, I used Progress Indicator to show some text like "Loading Please Wait.." till I receive response form server for a Web Service Call. Now I want to achieve the same purpose in the Windows 8.1 App...

How to check if Mouse is available in XNA - Monogame

c#,xna,mouse,monogame,win-universal-app
I'm using Monogame to develop an universal app for Windows Store and Windows Phone. I know that is possible to check if a TouchPanel is available and I'm looking for a method that do the same thing with a mouse. I can't ignore the fact that a mouse is not...

Retrieve StorageFile with the help of path from Local Folder

window,windows-phone-8.1,win-universal-app
I am making Windows 8.1 Universal App and want to retrieve file, (local -> folder -> sub Folder -> file) which is stored in Local Folder. One way is open Local Folder, then open folder, then open sub folder, then file. But If I know the path, can I simply...

How to Display BackContent For Secondary Tile in Windwos Phone 8.1

c#,windows-phone-8.1,win-universal-app
In WP8.0 tile is display front and back, When coming to WP8.1 tile display only front, How to give backcontent for Secondary tile. In WP 8.0 StandardTileData NewTileData = new StandardTileData { BackgroundImage =new Uri(@"Shared/ShellContent/Snow.png",UriKind.Relative), Title = ((CheckBox)sender).Content.ToString(), Count = 1, BackBackgroundImage =new Uri(@"Shared/ShellContent/Snow.png", UriKind.Relative), BackTitle = "Back Title", BackContent...

Drawing a Custom Bitmap in Windows Universal App?

c#,windows-phone-8,bitmap,windows-phone-8.1,win-universal-app
I'm trying to draw a custom Live Tile in my Windows Universal App. Specifically, a circle. I understand that I can provide a bitmap, but I'm not having any luck. I've tried to follow examples online, but without any luck. Like this: How do I create a WP8 Live Tile...

How is Microsoft's iOS bridge IslandWood implemented?

ios,objective-c,win-universal-app,windows-10
Microsoft's newly announced Project Islandwood is interesting, as it allows Objective-C code written for iOS to be repurposed into a Universal Windows app. I couldn't find any information on the details, so: Has Microsoft effectively implemented an iOS subsystem in Windows 10? Is it built on existing software (e.g. the...

Add a sidebar in Windows Phone 8.1 application

c#,windows-phone-8.1,win-universal-app
I'm building Windows Phone 8.1 application and I want a sidebar like in android apps. How can I do it? I tried this example, but doesn't compile and manipulation event's do not fire....

mvvm light : call method in viewmodel from view

c#,windows-phone-8,mvvm,mvvm-light,win-universal-app
I am working on Universal app actually, I want to call a method in the viewmodel from the view to update the data to display. In my viewmodel : public async void GetDateScore(DateTime dt) { string date = dt.Date.ToString("yyyyMMdd"); List<Score> scoreList = await HtmlGetterHelper.GetLastNightScore(date); LastScore = new ObservableCollection<Score>(); for (int...

Getting Location in Windows 10 Universal App

c#,win-universal-app,windows-universal,windows-10
In the new Windows 10 documentation, it says that before getting a user's location that you should use Geolocator.RequestAccessAsync(). However, the method doesn't seem to be available. The only options I can use are are "Geolocator.Equals" and "Geolocator.ReferenceEqual". When I try to get the location without using the RequestAccessAsync. I...

Windows universal application (WIN 10) app manifest validation error

win-universal-app,windows-10,appxmanifest
I found error in Blank app (Windows Universal) template in Visual Studio 2015 RC. It is some mismatch inside schemas. error 0xC00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 23, Column 4, Reason: Element '{http:/schemas.microsoft.com/appx/manifest/foundation/windows10}TargetDeviceFamily' is unexpected according to content model of parent...

Reading the response from HttpClient.GetStringAsync

c#,windows-runtime,windows-phone-8.1,win-universal-app
I am working on a Windows Universal app using the new runtime for Windows Phone/Store apps. I am sending a request to a server using the following code and expecting a HTML response back. However when I return the string and display it in the UI, it just says: "System.Threading.Tasks.Task'1[System.String]"...

VS 2015 RC - Xaml designer won't load when trying to create windows 10 universal apps in Windows 8

c#,win-universal-app,windows-10,vs-2015-preview
I've started working on Windows 10 IoT apps, and I'm baffled by the following issue XAML designer won't load when trying to create Windows 10 universal apps in Windows 8 VS 2015 RC. Upon comparing the blank project XAML for Windows 8 applications to the new blank project XAMLfor windows,...

Windows Runtime / Universal Apps Package Dependencies

windows,windows-runtime,win-universal-app
I am trying to find more information on this property: https://msdn.microsoft.com/en-us/library/windows.applicationmodel.package.dependencies.aspx (As you can see, the documentation is not very thorough.) There is a downloadable package that claims to demonstrate this property in its third sample here: https://code.msdn.microsoft.com/windowsapps/Package-sample-46e239fa However, when I run this sample and click the Dependencies button provided...

Error Installing Windows 10 development tools for Visual Studio 2015 RC on Windows 8.1

windows-8.1,win-universal-app,visual-studio-2015
I am running Windows 8.1 and I have installed Visual Studio 2015 Enterprise RC with Blend. I am trying to install the Windows 10 development tools for Visual Studio 2015 RC and getting the following error: ExecuteError: Package (VSSecondaryInstaller_box) failed: Error Message Id: 1603 ErrorMessage: Windows 10 SDK 10.0.10069 :...

Adding references in a shared (.shproj) project

c#,windows,xaml,windows-phone,win-universal-app
I'm having an issue with adding a dll reference to a shared project. As seen in the picture below I have a Universal solution with a project for windows and a project for windows phone. In the HubApp1.Shared project I need to add a reference for some code in Class.cs....

Can't add a using statement in View in universal phone app

windows-phone-8.1,winrt-xaml,win-universal-app
We had a phone app in windows 8.0. Recently we started on migrating our app to 8.1. Found out we should use Universal apps instead of silverlight if we want certain features like background audio player. When doing so my current problem is that I can't add reference in my...