Trending forum topics: Answering your questions

AWS

Owner
FPCH Owner
Joined
Nov 19, 2003
Messages
10,976
Location
Florida U.S.A.
When learning a new development platform I always find some hurdles getting my app working just the way I want it to. Like me, many of you have used our forums to get answers to the issues you run into. For this post we selected some of the most popular forum topics to highlight and provide more resources to help keep you coding. App settings and data, applying consistent colors and styles, designing for multiple languages and cultures, and Animating Metro style controls were all highly posted, viewed and replied topics. For each topic I selected resources and put them in a table. Each table is organized with quickstarts on top, SDK samples next, and in-depth documentation last. Quickstarts are a great place to start because they contain explanations and code snippets that provide the background that helps you understand the API design. SDK samples provide a deeper dive, and are a great place to start if you know what you need to do, but you just need to see an example to get started. Docs are there if you need the deepest dive use these when you want to understand the full capability of some feature you’re already familiar with. App settings and data [/b] Link Type Highlights Managing application data ([url=http://msdn.microsoft.com/en-us/library/windows/apps/Hh465109(v=win.10).aspx" target="_blank">HTML</a>, [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh465099(v=win.10).aspx" target="_blank">XAML</a>) Quickstart Code snippets for storing and accessing local and roaming settings and temporary data. [url=http://code.msdn.microsoft.com/windowsapps/ApplicationData-sample-fb043eb2" target="_blank">Application data sample</a> Sample ApplicationData APIs including LocalSettings and RoamingSettings, plus accessing/storing files in the RoamingFolder. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh465094.aspx" target="_blank">Guidelines for roaming application data</a> Docs Suggestions for when to use roaming data APIs. [url=http://msdn.microsoft.com/en-us/library/windows/apps/Hh781225.aspx" target="_blank">Storing and retrieving state efficiently</a> (HTML) Docs WinJS includes unique support for storing settings reliably and efficiently with SessionState and file access with local storage. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh466139.aspx" target="_blank">Indexed Database API</a> (HTML) Docs JavaScript apps have built-in, standards compliant Indexed Database APIs (aka IndexDB) that are powerful and easy to use. </tbody> Check out the Grid and Split Metro Style App templates in Visual Studio 11 for an example of how to store application data automatically using Application Lifecycle events. [size=5]Applying consistent colors and styles[/size] [url=http://social.msdn.microsoft.com/Forums/pl/winappswithcsharp/thread/a428be57-e76d-404c-be15-8c6105ea217c" target="_blank">“How can I change the color of the background of the GridViewItem when it's selected…?”</a> Many developers have posted questions about how to customize apps, controls, and tiles. This section provides info about leveraging the built-in styles as well as how to create your own custom look and feel. Windows 8 has APIs that make it simple to choose between light and dark theming, to use high contrast colors for readability, and to create custom color themes for Metro style apps. Metro style apps support high contrast color schemes by default. When a user switches to a high contrast theme in Settings, apps using built in styles automatically switch to system-defined high contrast colors. Windows 8 apps are afforded the full screen, immersing the user in your app. Users will become familiar with your brand as they spend time with the colors and styles that you use consistently throughout your app. These resources provide info on styling your apps using whatever colors and styles define your brand. <h4>Theming resources</h4> <tbody> [b]Link[/b] Type Highlights [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465381.aspx" target="_blank">Quickstart: styling controls (XAML)</a> Quickstart Creating and deriving from styles, implicit/explicit styles, and control templates. [url=http://msdn.microsoft.com/en-us/library/windows/apps/Hh465498(v=win.10).aspx" target="_blank">Quickstart: styling controls (HTML)</a> Quickstart Styling HTML controls. Includes CSS and HTML code snippets, and info on the CSS pseudo-elements and the HTML parts that are specific to metro style apps. [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465048.aspx" target="_blank">Quickstart: Using brushes (XAML)</a> Quickstart Brushes, shapes, and effects. [url=http://code.msdn.microsoft.com/windowsapps/Theme-roller-sample-64b679f2" target="_blank">Applying app theme color (HTML theme roller)</a> Sample This ‘theme roller’ helps you build and test a custom app color scheme and shows how to use chosen colors in your apps. [url=http://code.msdn.microsoft.com/windowsapps/High-Contrast-b36079d8" target="_blank">CSS styling for high contrast mode</a> Sample CSS media queries for detecting high contrast mode, and custom high contrast styles. [url=http://code.msdn.microsoft.com/windowsapps/Basic-Media-Playback-662f1a7d">XAML high contrast style sample</a> Sample Demonstrates how to support high contrast colors for custom-built app themes and styles. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh452681.aspx" target="_blank">Building an accessible Metro style app with JavaScript</a> Docs Includes accessibility requirements and checklists and info on Supporting [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh700340.aspx">high contrast themes </a>. [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh452680.aspx" target="_blank">Accessibility in Metro Style Apps (XAML)</a> Docs Info on high contrast theme support and other accessibility issues. </tbody> [size=5]Designing for multiple languages and cultures[/size] [url=http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/ed8f19a3-945d-47b6-9c87-3819ee7c2bc6" target="_blank">“What's the best way to create a multi-language app?”</a> We’ve introduced new localization resources tools for Windows 8, and we’ve seen many questions about localization and globalization. Our new localization resources format is similar to some of our previous offerings, but was designed to be common across programming languages. The resources here will help you make decisions on globalization/localization factors as you [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465405.aspx" target="_blank">plan for a global market</a>. The Windows Store can put your apps in front of a global audience. Customers will be more likely to download and use the apps in their language. The [url=http://blogs.msdn.com/b/windowsstore/archive/2012/04/18/windows-store-expanding-to-new-markets.aspx" target="_blank">Windows Store for developers blog</a> recently announced additional global coverage including new languages, and new markets for submitting and buying apps. Regardless of the [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694064.aspx" target="_blank">Windows Store markets</a> you make your app available to, your app must meet [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx" target="_blank">Certification requirements</a> for Windows apps. Make sure that your app is [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx#acr_5_0" target="_blank">appropriate for a global audience</a> and that your app name is unique across the Windows Store catalog. Decide in which languages you will [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx#acr_6_3" target="_blank">provide technical support</a>. <h4>Localization resources </h4> <tbody> [b]Link[/b] Type Highlights [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh771181(v=win.10).aspx" target="_blank">Quickstart: Make your Metro style app world ready</a> (XAML) Quickstart Resource file examples and code snippets. [url=http://msdn.microsoft.com/en-us/library/windows/apps/Hh465021(v=win.10).aspx" target="_blank">Quickstart: Designing a globalized Metro style app</a> (HTML) Quickstart Resource file examples and code snippets. [url=http://code.msdn.microsoft.com/windowsapps/Application-resources-and-cd0c6eaa" target="_blank">Application resources and localization</a> Sample App sample for creating apps for multiple languages. [url=http://msdn.microsoft.com/en-us/windows/apps/hh848309" target="_blank">Multilingual App Toolkit</a> Toolkit The toolkit can help translate your app’s resources, and the pseudo language engine can help you test your app’s global readiness even if you don’t know any foreign language. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh465001.aspx" target="_blank">Designing for globalization and localization</a> Docs Best practices for creating localized apps. </tbody> [size=5] [/size] Animating Metro style controls [url=http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/1f76ffb4-7a49-4f06-a673-d99afbeee999" target="_blank">“The animation of show Edge UI is very cool. How to implement in C++?”</a> Many developers have asked us questions about how they can add Metro Style animations to their apps. Animations bring your apps to life, and Windows 8 introduces a library of animations accessible to Metro Style Apps that weaves a thread of common personality through all apps that use it. Additional animation support from CSS and XAML allow developers to port animations from previous projects or to create custom animations for brand new apps. If you haven’t already, check out our blog post on [url=http://blogs.msdn.com/b/windowsappdev/archive/2012/05/01/fast-and-fluid-animations-in-your-metro-style-app.aspx">Fast and fluid animations in your Metro style app</a>. This post goes in depth on how we built Windows 8 to ensure animations would be consistent and smooth, and provides code-samples and descriptions to get you started. <h4>Animation resources</h4> <tbody> [b]Link[/b] Type Highlights [url=http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh452703" target="_blank">Quickstart: Animating your UI</a> Quickstart Porting animations from Silverlight/WPF, provides code samples, explanations and links to documentation and a video of some common animations. Animations library ([url=http://code.msdn.microsoft.com/windowsapps/Personality-Animations-3f857919" target="_blank">XAML</a>, [url=http://code.msdn.microsoft.com/windowsapps/Using-the-Animation-787f3720" target="_blank">HTML</a>) Sample Animation Library APIs give you access to the same animations used throughout Windows UI and other Metro Style apps, giving your app that built-in look and feel. Includes animations like PopInAnimation. [url=http://code.msdn.microsoft.com/windowsapps/Independent-animations-app-c00b2962" target="_blank">HTML Independent Animations</a> Sample CSS 2D and 3D transitions, transforms and animations in a Metro Style app. [url=http://code.msdn.microsoft.com/windowsapps/Flyout-sample-258757b3" target="_blank">HTML flyout control sample</a> Sample Shows the HTML Flyout control’s default animation on show. [url=http://code.msdn.microsoft.com/windowsapps/Animation-metrics-sample-acb0220c" target="_blank">Animation metrics sample (XAML)</a> Sample Shows how to access the parameters that define the Animations in the Windows [url=http://msdn.microsoft.com/library/windows/apps/Hh465165">Animation Library</a>, so that developers can rebuild these animations. [url=http://msdn.microsoft.com/en-us/library/windows/apps/hh465165" target="_blank">Animating your UI with the Animation Library (HTML)</a> Docs Comprehensive references of JavaScript animations with control specific guidance, examples and CSS3 Quickstarts. </tbody> [size=5]Wrap up[/size] We’ve been monitoring your feedback and after we identified these important topics, I searched broadly and deeply through our documentation and samples to share these links. Teams across Microsoft participate daily in the developer forums to learn what our customers want to know and to provide answers to your questions. The [url=http://msdn.microsoft.com/en-us/windows/apps/br229515" target="_blank">community resources</a>, [url=http://code.msdn.microsoft.com/windowsapps/" target="_blank">Windows 8 Metro style app samples</a>, [url=http://msdn.microsoft.com/en-us/library/windows/apps/br211369.aspx" target="_blank">API reference</a> for Metro style apps, and [url=http://msdn.microsoft.com/library/windows/apps/" target="_blank">documentation</a> continue to evolve. As soon as the upcoming Release Preview is available, links in this post (and other content in [url=http://msdn.microsoft.com/en-us/windows" target="_blank">Windows Dev Center</a>) will contain updated info to keep you productive. We couldn’t do it without your feedback and questions, so please keep posting in the [url=http://social.msdn.microsoft.com/Forums/en-US/category/windowsapps" target="_blank">Metro style apps forums</a>, and let us know if you can’t find something you need. -- Aaron Wroblewski
    Program Manager, Windows[img]http://freepchelp.forum/data/MetaMirrorCache/01c471f63d66e73255daad34ac535a46._.gif[/img]

[url=http://blogs.msdn.com/b/windowsappdev/archive/2012/05/10/trending-forum-topics-answering-your-questions.aspx]View the full article
 
Last edited:
Back
Top