windows-8

W8 Store App: Writing UI in HTML and CSS, and using C# DLLs for Domain/Model? [closed]

ε祈祈猫儿з 提交于 2019-12-05 01:28:36
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . We've started to research the possibility of creating the LOB W8 Store apps pushed to Surfaces through our/customers' domain store. We

Qt, QML and Windows 8 [closed]

眉间皱痕 提交于 2019-12-05 01:23:54
I always been curious about QML introduced by Qt framework. But never had a chance to work with it. But now with Windows 8 coming, old school widget based interface is going to get outdated (just my opinion! :) ). Now I want to ask those, who had some experience with QML: Is it easy to write Metro-style (or how is it called nowadays) applications with QML? Is the QML photoshop plugin useable for real project? For those who don't have a clue about Photoshop plugin, try search in youtube: Introducing Qt Quick for Stunning UI Creation - Nokia Developer Day, Barcelona 2011 (not sure, whether I can

Unit testing async method for specific exception

旧城冷巷雨未停 提交于 2019-12-05 01:03:24
Does anyone have an example of how to unit test an async method in a Windows 8 Metro application, to ensure that it throws the required exception? Given a class with an async method public static class AsyncMathsStatic { private const int DELAY = 500; public static async Task<int> Divide(int A, int B) { await Task.Delay(DELAY); if (B == 0) throw new DivideByZeroException(); else return A / B; } } I want to write a test method using the new Async.ExpectsException construction. I've tried :- [TestMethod] public void DivideTest1() { Assert.ThrowsException<DivideByZeroException>(async () => { int

WinRT Xaml ListView - Touch doesn't scroll well

喜夏-厌秋 提交于 2019-12-05 00:51:06
问题 I have a horizontal list view that scrolls offscreen to the right, such as this: The problem is, when using touch you can't swipe to scroll the ListView by default, it seems to just grab the ListView item and pull it horizontally a little bit. The only way I can get it to scroll is to click the 5-10 pixels in between each ListViewItem, which is horrible. Is there a setting to modify this behavior? My Xaml is basically this: <ListView x:Name="listView" Grid.Column="1" IsItemClickEnabled="True"

Is it possible to create an IME in WinRT?

跟風遠走 提交于 2019-12-05 00:15:20
问题 The built-in Bengali keyboard layout in Windows 8/ Windows RT is not user-friendly at all. So using an IME is the only option for most users. There are quite a few Bengali Input Method Editors in Win32. They work fine in Windows 8. But for Windows RT there are no solutions at the moment. Is it possible to write IME's using purely WinRT APIs? 回答1: A good information of writing IME is given in this MSDN Link I putting some traits from the article which is important Requirements for Windows 8

Enable Safe Exception Handling in C++ Builder

北战南征 提交于 2019-12-05 00:10:06
For Windows 8 application certification, there are (among other) these requirements: 3.2 Your app must be compiled using the /SafeSEH flag to ensure safe exceptions handling 3.3 Your app must be compiled using the /NXCOMPAT flag to prevent data execution 3.4 Your app must be compiled using the /DYNAMICBASE flag for address space layout randomization (ASLR) I wasn't able to find out how to enable either of these in C++Builder XE. For /NXCOMPAT and /DYNAMICBASE , one can use editbin.exe from VS or peflags.exe from Cygwin. Though I would feel more confident about possible side-effects, if there

Give Java application a Metro Look and Feel in Windows 8 [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-05 00:06:28
I have already developed a Java application which is working well in Windows XP, Windows 7 & Windows 8 consumer preview. The application is developed using GWT, CSS3 with Spring framework,and built-in Jetty server which is used to launch the application using the Internet explorer. After exploring throught the metro apps principles, i want to give my application users an extra benefit of using is as a metro app I read about DWR , gwt-explorer . But still i'm not sure. Is there any other workaround with minimum code changes? Thank you Mr.Andrew Thompson for helping me. You could mimic Metro

Can 64bit Delphi desktop application be certified for Windows 8.1

为君一笑 提交于 2019-12-04 23:44:46
问题 As far as I know 32bit Delphi desktop applications cannot be certified for Windows 8.1 due lack of SafeSEH via Can a desktop Delphi application be certified for Windows 8 But what about 64bit Delphi desktop applications? Can they pass other requirements, since they don't have to satisfy SafeSEH requirement? Are there any compiler/linker settings that have to be set to specific values if the answer is yes, and what is minimum Delphi version needed (obviously at least XE2). I am specifically

Windows 8 Apps - Local Storage Security

 ̄綄美尐妖づ 提交于 2019-12-04 23:34:03
问题 How secure is the local data ApplicationData.Current.LocalSettings storage used in Windows 8 Store Apps? This application data storage article says nothing about security, neither does this one. Can this data be manipulated from outside of the app? I looked at the location of the data C:\Users[username]\AppData\Local\Packages[package_namespace]\LocalState) but did not find it. Where is it saved exactly? I'm trying to asses the security of this storage mechanism to decide whether I can store

decompress a ZIP file on windows 8 C#

别说谁变了你拦得住时间么 提交于 2019-12-04 23:28:49
I am building a metro style app for windows 8 and I have a zip file that I am downloading from a web service, and I want to extract it. I have seen the sample for compression and decompression, but that takes a single file an compresses/decompresses it. I have a whole directory structure that I need to extract. Here is what I have so far: var appData = ApplicationData.Current; var file = await appData.LocalFolder.GetItemAsync("thezip.zip") as StorageFile; var decompressedFile = await ApplicationData.Current.LocalFolder.CreateFileAsync("tempFileName", CreationCollisionOption.GenerateUniqueName)