windows-8

Metro IndexedDB, browsing the database

纵然是瞬间 提交于 2019-12-06 06:42:53
I am trying to store data in a "Metro" App for Windows 8 using IndexedDB. I would like to be able to browse the database (to monitor that my operations modify the data as intended). So my question is; Is there any way of viewing the actual database of a metro app (IE10)? (something like in Chrome Dev Tools (Resources > IndexedDB)) Regards Not that I know, but my linq2indexeddb library has a viewer in it. That way you can inspect the content of you database while debugging. The nuget package for Metro apps can be found here . And as last, I have a blogpost on how you can use it. The IE team has

How to display a Windows 8 metro style tile within an app?

牧云@^-^@ 提交于 2019-12-06 06:36:51
Windows 8 metro style app tiles are created based on pre-defined xml templates (found here ). Is there any way to hook up to Windows' rendering of the tile to allow a tile preview within an app? In my app I would like to offer the user a subset of the tile templates listed in the above link and let the user customize the tile content. A live preview of the customized tile rendered within my app would greatly improve the user experience. you should look into HubTile . I don't know any free control's right now, but Telerik and Syncfusion have HubTile control You can't get access to real Windows

Grid view like Windows 8 or Google Play

大兔子大兔子 提交于 2019-12-06 06:26:40
I'm looking for the source code, or an example, of a gridview. I know that with eclipse i can do something really simple: many squares next to each other. But i want to have something strange and particular like this example: Click here Someone can help me? You can use StaggerdGridview from Here Github It Looks Like This You can do it through layout nesting. It's basically just like doing your html pages. For example: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent"

Windows RT .NET compatibility

徘徊边缘 提交于 2019-12-06 06:21:54
I just need to know if I need the same framework to develop an app for Windows 8 for Tablets (Windows RT) and PCs or the tablet one still uses .NET compact framework. The only type of applications that run on Windows RT (ie. the Tablet/ARM version of Windows 8) are Windows Store Apps. These are full-screen applications that run on top of the WinRT API. You can use a subset of .NET 4.5 on these devices, and use XAML to build your interface just like you would with WPF on the desktop. You can read more on MSDN - .NET for Windows Store apps overview . This article describes a lot of the changes

Windows 8 Spell checking provider

荒凉一梦 提交于 2019-12-06 06:17:02
I'm trying to implement my own Spell Check provider for Windows 8. I have a class which receives a word and returns the correct word, however, I cannot find the class or function in the Spell Checking Provider Sample by Microsoft where I receive the user input string and return for it the correction. Since you are implementing a spell checking provider, you will be implementing the ISpellCheckProvider interface. (In the sample you refer to, this is implemented by the SampleSpellCheckProvider class) There are actually two phases for spell checking. The first is checking to see whether some text

Handling Windows Store App exceptions from GetFileAsync

梦想与她 提交于 2019-12-06 06:15:44
问题 I have a problem with the following code example: Windows::Storage::StorageFolder^ location = Package::Current->InstalledLocation; try { task<StorageFile^> GetFileTask(location->GetFileAsync(sn)); GetFileTask.then([=](StorageFile^ file) { try { task<IBuffer^> ReadFileTask(FileIO::ReadBufferAsync(file)); ReadFileTask.then([=](IBuffer^ readBuffer) { // process file contents here }); } catch(Platform::Exception^ ex) { // Handle error here } }); } catch(Platform::Exception^ ex) { // Handle error

Program runs on Win 7, but not on Win 8

為{幸葍}努か 提交于 2019-12-06 06:09:09
I have a program I've written on Windows 7 (64-bit) that compiles and runs correctly on my computer. But on other computers (specifically on Windows 8 (64-bit)) the program does not run. When I try to run it it says that my program has stopped working, it crashes. I should add, both computers have .Net installed at version 4.5. But, if I delete all the components that I've added onto my form (I'm using Visual Studio 2012 Express) it runs just fine. But I have to delete all of the components. Deleting only some of them doesn't work. Has anyone heard of this happening? Thanks to Hans, I hadn't

Disk space in WinRT using C# in Windows 8

不羁的心 提交于 2019-12-06 05:56:14
问题 I got two solutions but both are not useful for me. Solution 1: kernel32.dll (its working code) Note: But I don’t want to import any dll in my application. b/c its problem with market place submission. [DllImport("kernel32.dll", SetLastError = true)] static extern bool GetDiskFreeSpaceEx( string lpDirectoryName, out ulong lpFreeBytesAvailable, out ulong lpTotalNumberOfBytes, out ulong lpTotalNumberOfFreeBytes); static void TestDiskSpace() { IStorageFolder appFolder = ApplicationData.Current

show progress bar/ring in windows 8 app while a webpage is loading in webview control

喜夏-厌秋 提交于 2019-12-06 05:41:16
I have the experience of adding the progress bars and progress rings while calling async functions . That has been an easy job as it relies on only IsIndeterminate and IsActive properties of progress bar and progress ring respectively . Now my question is that , how to show a progress bar/ring in the app while some webpage is loading in the webview control of a windows 8 app . I am searching for a property or event , that tells the web page in web view is currently in loading state . If somebody came across such a property , please write it up else if you have any other solutions , please do

How to Turn Off Automatic Termination of Suspended Apps

坚强是说给别人听的谎言 提交于 2019-12-06 05:38:33
问题 I'm trying to debug my Windows Store App when it gets suspended (trying to prevent my server app from kicking my WSA client when it gets suspended and stops responding to keep-alive messages). But Windows keeps terminating my app almost immediately after it suspends it. Is there a way to prevent Windows from terminating suspended apps? I've searched the interwebs and the group policy editor for such a setting, but the best I can find is a setting to prevent it from auto-terminating apps on