windows-store

UWP App Upgrade Approach - Without Losing User Data

蓝咒 提交于 2019-12-08 09:03:37
I have a UWP app deployed to the Microsoft Store, and in use. It's a hobby project, available for free, and although I will update it now and then such updates will probably be infrequent. I'm about to release a new version to the store - it will be the first time I have done this. The app includes a SQLite database, which is created at runtime (so not part of the solution / source code). Update : the folder this ends up in is: C:\Users\...\AppData\Local\Packages\[Package ID]\LocalState I'd like to release a new version without having the user lose their existing data in the database. What's

UWP App Upgrade Approach - Without Losing User Data

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 08:57:06
问题 I have a UWP app deployed to the Microsoft Store, and in use. It's a hobby project, available for free, and although I will update it now and then such updates will probably be infrequent. I'm about to release a new version to the store - it will be the first time I have done this. The app includes a SQLite database, which is created at runtime (so not part of the solution / source code). Update : the folder this ends up in is: C:\Users\...\AppData\Local\Packages\[Package ID]\LocalState I'd

Why is my Windows Store app not showing anything in the print preview?

左心房为你撑大大i 提交于 2019-12-08 08:21:29
问题 I was using the PrintSample and successfully modified the BasePrintPage code to the following (just trying to cut it down to a manageable size and the simplest case for testing): protected PrintDocument printDocument = null; protected IPrintDocumentSource printDocumentSource = null; internal List<UIElement> printPreviewElements = new List<UIElement>(); protected event EventHandler pagesCreated; protected void PrintTaskRequested(PrintManager sender, PrintTaskRequestedEventArgs e) { PrintTask

How to make Windows 10 Store “forget” an app download for testing purposes?

梦想与她 提交于 2019-12-08 08:14:39
问题 I'm testing my Win32 app converted to UWP, so I'm new to the whole Windows 10 Store concept. So far I was able to get my app certified & published in the store via a private link. Now I would like to download and test it, but there's an issue. The first time someone sees the app it has the following options: but once you get it, all you see is this: and even if you log in under a different Microsoft account (on the same computer), or previously uninstall the app, you get this: and "free trial

How to cancel asynchronous callback function in C++/WRL?

旧时模样 提交于 2019-12-08 06:08:59
问题 I'm writing Windows 10 Store / WinRT code using C++/WRL which I'm new to. And I'm curious to know how do I cancel long-pending asynchronous operation? The best way to illustrate it is with this example: #include <Windows.Services.Store.h> #include <wrl.h> auto onAppLicCompletedCallback = Callback<Implements<RuntimeClassFlags<ClassicCom>, IAsyncOperationCompletedHandler<StoreAppLicense*>, FtmBase>>( [](IAsyncOperation<StoreAppLicense*>* operation, AsyncStatus status) { //Asynchronous operation

How to cancel asynchronous callback function in C++/WRL?

坚强是说给别人听的谎言 提交于 2019-12-08 05:22:28
I'm writing Windows 10 Store / WinRT code using C++/WRL which I'm new to. And I'm curious to know how do I cancel long-pending asynchronous operation? The best way to illustrate it is with this example: #include <Windows.Services.Store.h> #include <wrl.h> auto onAppLicCompletedCallback = Callback<Implements<RuntimeClassFlags<ClassicCom>, IAsyncOperationCompletedHandler<StoreAppLicense*>, FtmBase>>( [](IAsyncOperation<StoreAppLicense*>* operation, AsyncStatus status) { //Asynchronous operation is done return S_OK; }); //'opAppLic' is defined as: // ComPtr<IAsyncOperation<StoreAppLicense*>>

zlib for WinRT?

℡╲_俬逩灬. 提交于 2019-12-08 05:17:34
问题 I require zlib library for the development of Windows Store app. Has anyone converted Win32 zlib project to WinRT yet? Can anyone please describe the steps to convert the existing win32 static lib project to winRT? 回答1: Visual C++ is already a supported language for WinRT development, if you wan't to use zlib, just compile it together with your solution. There is nothing that is preventing you from reusing standard ISO C and C++ libraries from within the WinRT, if you are using the C++

How to prevent data-scraping a valuable data web service?

落花浮王杯 提交于 2019-12-08 04:25:56
问题 I have a great idea for a windows store app. I'd like to make this app. However it requires a large and valuable database that I will need to create a service for so that people cannot easily steal it. My thinking is maybe host a mobile service on Azure (which I've never tried) and create a .net Web API project to take requests and dish out Json like candy to a windows 8 mvvmclient. However what I don't want is someone sniffing my traffic back and forth from app to service and figuring out

Transparent tile but colored icon for the Windows Store

筅森魡賤 提交于 2019-12-07 06:25:59
问题 I want to have transparent square tile for my app, but in the Store it should have green background behind same icon. Is there any way to achieve that? In 8.1 we had (still have) 300x300 "App tile icon" which is used for the Store I believe, but now it seems store using image from Package.appxmanifest, and even if I explicitly set non-transparent image for "Store Logo", it doesn't work. Question is: is that at all possible to have transparent tile for start screen but solid-color background

SDK error in Visual Studio Community 2015

浪子不回头ぞ 提交于 2019-12-07 06:07:00
问题 Upon rebuilding the solution to a file in Visual Studio exported from Construct 2 I received errors: MSB3774 Could not find SDK "Microsoft.WinJS.2.0, Version-1.0" MSB3774 Could not find SDK "Microsoft.WinJS.2.1, Version-1.0" 回答1: Open Visual Studio Click File->New Project Click Windows Click Windows 8 There will be an option there to install the Windows 8.1 tools. 来源: https://stackoverflow.com/questions/33715663/sdk-error-in-visual-studio-community-2015