{"id":62546,"date":"2012-10-24T10:01:43","date_gmt":"2012-10-24T08:01:43","guid":{"rendered":"http:\/\/mybroadband.co.za\/news\/?p=62546"},"modified":"2012-10-24T10:03:23","modified_gmt":"2012-10-24T08:03:23","slug":"windows-8-applications-whats-different","status":"publish","type":"post","link":"https:\/\/mybroadband.co.za\/news\/software\/62546-windows-8-applications-whats-different.html","title":{"rendered":"Windows 8 applications: what\u2019s different?"},"content":{"rendered":"<p>Users and developers alike can expect significant changes between Windows desktop applications and the new Windows Runtime apps making their debut on <a title=\"Windows\" href=\"http:\/\/mybroadband.co.za\/vb\/showthread.php\/360852-Windows\">Windows<\/a> 8.<\/p>\n<p>Windows 8 is the latest version of <a title=\"Microsoft\" href=\"http:\/\/mybroadband.co.za\/vb\/showthread.php\/211580-Microsoft\">Microsoft<\/a>\u2019s popular operating system (OS) that is set to launch all over the world on 26 October 2012, including South Africa.<\/p>\n<p>One topic that\u2019s received a lot of attention already is that apps using the new WinRT application programming interface and Microsoft\u2019s new Modern <acronym title=\"User Interface\">UI<\/acronym> Style (formerly Metro) can only be distributed through Microsoft\u2019s new <a title=\"Windows Store\" href=\"http:\/\/mybroadband.co.za\/vb\/showthread.php\/474446-Windows-Store\">Windows Store<\/a>.<\/p>\n<p>South African developers recently gained access to the store and users will be able to buy apps with their credit cards in Rands, according to Microsoft.<\/p>\n<p>For apps to be distributed on the store, however, developers have to pay a registration fee (R350\/year for individuals, R700\/year for companies) and submit their application to Microsoft for certification.<\/p>\n<div id=\"attachment_62552\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-62552\" class=\"size-full wp-image-62552\" title=\"Windows 8 Charm Bar Menu\" src=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Charm-Bar-Menu.jpg\" alt=\"Windows 8 Charm Bar Menu\" width=\"600\" height=\"400\" srcset=\"https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Charm-Bar-Menu.jpg 600w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Charm-Bar-Menu-100x66.jpg 100w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Charm-Bar-Menu-185x123.jpg 185w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Charm-Bar-Menu-250x166.jpg 250w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-62552\" class=\"wp-caption-text\">Windows 8 Charm Bar Menu<\/p><\/div>\n<h3 class=\"my-4\">Common certification pitfalls<\/h3>\n<p>A common pitfall for developers new to the Windows Store is that by default applications request the ability to access the Internet without the developer providing a privacy policy.<\/p>\n<p>If an application does not need the Internet, developers should ensure that they are configured as such.<\/p>\n<p><a title=\"Jarrod Hermer\" href=\"http:\/\/mybroadband.co.za\/vb\/showthread.php\/475956-Jarrod-Hermer\">Jarrod Hermer<\/a>, a Microsoft technical evangelist, explained at the 2012 Tech Days event in Johannesburg that WinRT apps have to use brokers provided by the OS to access certain parts of the system, such as Internet connectivity.<\/p>\n<p>This is to give the user confidence that applications won\u2019t access data they don\u2019t want them to and allow users to block apps from accessing certain things.<\/p>\n<p>Hermer explained that when a developer wants their app to use the file picker or camera, for example, they have to go through a broker. Developers should also keep in mind that users can revoke their app\u2019s access to certain endpoints such as location data, microphone, and webcam.<\/p>\n<p>Unlike desktop applications, WinRT applications can\u2019t be given access to the whole filesystem.<\/p>\n<p>Application data is stored in certain places, and apps can request access to user file libraries such as documents, photos, music, and videos.<\/p>\n<h3 class=\"my-4\">Remote settings synchronisation<\/h3>\n<p>Another feature provided by WinRT, Hermer said, is the ability to store small amounts of application data on SkyDrive, Microsoft\u2019s cloud storage service.<\/p>\n<p>Through a user\u2019s Windows Account (a new name for Live ID), every app gets a bit of storage for settings, but not for multiple megabytes of content such as audio and images, Hermer said.<\/p>\n<p>The use of this feature will require the Internet client permission, Hermer said, meaning that developers will have to provide a privacy policy to say what data their app collects and how it will be used.<\/p>\n<div id=\"attachment_62550\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-62550\" class=\"size-full wp-image-62550\" title=\"Windows 8 Snap view with desktop\" src=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop.jpg\" alt=\"Windows 8 Snap view with desktop\" width=\"600\" height=\"449\" srcset=\"https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop.jpg 600w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-40x30.jpg 40w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-100x75.jpg 100w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-185x138.jpg 185w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-80x60.jpg 80w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-125x94.jpg 125w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-135x100.jpg 135w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-120x90.jpg 120w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-50x38.jpg 50w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2012\/10\/Windows-8-Snap-View-with-desktop-250x187.jpg 250w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-62550\" class=\"wp-caption-text\">Windows 8 Snap view with desktop<\/p><\/div>\n<h3 class=\"my-4\">User interface requirements and guidelines<\/h3>\n<p>Windows 8 also provides a feature called Snap view, which lets users run two Modern UI Style apps side-by-side, with one displayed as a side bar while the other takes up the majority of the screen.<\/p>\n<p>Hermer said that WinRT apps must have a Snap view as there is no way to prevent a user from invoking it and your app may not crash when they do so.<\/p>\n<p>The view need not be functional, Hermer said, though Microsoft recommends that apps have functional parity between the normal view and Snap view.<\/p>\n<p>As an example of an app that had to implement a non-functional Snap view, Hermer showed how Fruit Ninja simply paused and displayed the game\u2019s logo when snapped to an edge.<\/p>\n<p>Microsoft also recommends that developers implement at least three \u201ccontracts\u201d, Hermer said: Search, Share, and Settings. These are actions that show up in the Windows 8 \u201ccharm\u201d bar.<\/p>\n<p>Other contracts that apps may implement include \u201cPlay To\u201d and \u201cApp to App Picking\u201d, he said.<\/p>\n<p>Hermer said that developers should also keep in mind that their apps will run on all kinds of devices with different inputs and display resolutions.<\/p>\n<p>Apps should be designed with touch in mind, he explained, and then the WinRT controls will ensure the app works well with other input methods such as mouse and pen.<\/p>\n<h3 id=\"related\">Related articles<\/h3>\n<p><a title=\"Windows Store in SA\" href=\"http:\/\/mybroadband.co.za\/news\/software\/62364-windows-store-in-sa.html\"><strong>Windows Store in SA<\/strong><\/a><\/p>\n<p><a title=\"Windows 8 launch date confirmed for SA\" href=\"http:\/\/mybroadband.co.za\/news\/software\/56189-windows-8-launch-date-confirmed-for-sa.html\"><strong>Windows 8 launch date confirmed for SA<\/strong><\/a><\/p>\n<p><a title=\"Minecraft dev refuses to certify game for Windows\" href=\"http:\/\/mygaming.co.za\/news\/news\/45122-minecraft-dev-refuses-to-certify-game-for-windows-8.html\"><strong>Minecraft dev refuses to certify game for Windows<\/strong><\/a><\/p>\n<p><a title=\"Microsoft Surface pricing revealed\" href=\"http:\/\/mybroadband.co.za\/news\/gadgets\/62376-microsoft-surface-pricing-revealed.html\"><strong>Microsoft Surface pricing revealed<\/strong><\/a><\/p>\n<p><em>Jan Vermeulen was a guest of Microsoft at Johannesburg TechDays 2012<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Significant changes on the cards for Windows app development<\/p>\n","protected":false},"author":15,"featured_media":62548,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[35,16268,123,16272,451,12649,16270],"class_list":["post-62546","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-headline","tag-jarrod-hermer","tag-microsoft","tag-microsoft-techdays","tag-windows-8","tag-windows-rt","tag-winrt"],"_links":{"self":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/62546"}],"collection":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/comments?post=62546"}],"version-history":[{"count":1,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/62546\/revisions"}],"predecessor-version":[{"id":62714,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/62546\/revisions\/62714"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media\/62548"}],"wp:attachment":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media?parent=62546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/categories?post=62546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/tags?post=62546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}