Chapter 2. Using Windows 8 Apps

Common features

Using apps

How Windows 8 apps work

Built-in apps

WINDOWS 8 introduces support for a new type of app designed for modern, mobile, and touch-enabled PCs. This new type of app provides many benefits:

Using and managing these apps requires very different skills. The Store completely changes the way you find, download, and install apps. Familiar tasks, such as changing app options, are still available, but they’re out of sight by default. Right-clicking won’t work the way you expect it to, but you’ll quickly become familiar with the touch-friendly way of interacting with apps.

To provide compatibility with existing apps, Windows 8 and Windows 8 Pro can run the same desktop apps supported by Windows 7 and earlier versions of Windows, and those apps will continue to work exactly as you expect them to. Windows RT (the version of Windows 8 for computers with ARM processors) can run apps designed for Windows 8, but can’t run desktop apps.

This chapter provides an overview of Windows 8 apps and the specific apps that are included with Windows 8. None of the features described in this chapter apply to desktop apps, including those apps designed for Windows 7 and earlier versions of Windows. This chapter refers only to touch-friendly apps designed for Windows 8. For detailed information, refer to Chapter 6.

Apps created for Windows 7 and earlier versions of Windows require the app developer to determine the best way to implement common tasks such as configuring app settings, finding content with the app, and printing. Not only did this flexibility increase the amount of work developers needed to do, but it meant that developers chose to implement the same features in very different ways.

For example, many desktop apps allow the user to configure settings using the Options item on the Edit menu. However, some desktop apps store the Options item under the File or Tools menu. Internet Explorer 9 doesn’t display a menu bar by default, so users need to click a toolbar button to set options.

Inconsistency between apps is difficult for users. With Windows 8 apps, users access common features using charms. To see your charms, swipe in from the right using touch or press Windows+C on the keyboard. For more information about charms, refer to Chapter 1.

Windows 8 provides a common user interface for configuring app-specific settings and common system settings, as shown in Figure 2-1. To access settings and hidden menu items for the current app, press Windows+I.

If you log on to multiple computers with the same Microsoft account, app settings will roam with you to whichever computer you log on to.

By clicking the Settings charm (shortcut: Windows+I) and clicking Permissions, you can configure the resources an app can access, including your webcam, microphone, and the lock screen.

The sections that follow provide an overview of how users find, download, and use apps.

Apps designed for Windows 8 can be installed only by downloading them using the Store app. The Store provides a single interface for finding, buying (if an app is not free), downloading, and installing an app.

In previous versions of Windows, finding and installing a new app typically followed this process:

Because each software development company has its own website format, the process for buying, downloading, and installing each app was different. If the app had a free trial, users would have to return to the website later to purchase and register the app. Additionally, there was no reliable way to find user reviews.

The Store changes this for Windows 8 apps. Now the process is much simpler:

  1. Open the Store from the Start screen to browse apps, or click the Find charm and select Store to search apps.

  2. Select an app. The Store displays user reviews, the cost (if an app is not free), and the permissions the app needs for your computer, as shown in Figure 2-2. Click Buy or Try. If you buy the app, the Store confirms the purchase, asks you to retype your Microsoft account password, and then collects your payment information. You can pay with a credit card or PayPal, and Microsoft can save your credit card information so you don’t have to retype it each time.

  3. Continue using Windows. Windows 8 notifies you when it has installed the app.

Only Windows 8 Pro computers that have been joined to an Active Directory domain can install apps without using the Store. This process is commonly known as sideloading, and the custom apps businesses add are called line-of-business (LOB) apps. Essentially, only business users can bypass the Store to install Windows 8 apps. While this restriction might not be popular among power users, you can still freely install desktop apps.

Developers release app updates regularly. Most of the time, they’re just fixing a bug or two. Sometimes, they add new features or improve the user interface. Updates are usually a good thing.

On rare occasions, you might find an update that you don’t want. For example, the developer of a free app might add aggressive advertising to the app, or a developer might remove an important feature. It’s even possible that a developer will introduce a new bug that breaks an existing feature, a problem developers know as a regression.

By default, Windows 8 automatically downloads app updates and then prompts you to install them, as shown in Figure 2-3. This is the best situation for most people. You can’t configure apps to update automatically. Every update must be initiated by the user, but since Windows 8 has already downloaded the files, the update doesn’t take long.

You can manually check for updates by opening the Store, selecting the Settings charm, selecting App Updates, and then selecting Check For Updates. Because updates are automatic, you shouldn’t need to worry about them, but it’s good to know how to check just in case you hear about an important update that Windows hasn’t found yet.

If your computer’s display has a resolution of 1366x768 or greater, you can snap apps to the short side of a screen and use them alongside another app. Figure 2-5 shows the Weather app snapped to the left of the screen with Internet Explorer open. Snapped apps are 320 pixels wide and scale to the height of the screen.

To snap the current app, drag the top of the screen to one side. You can also touch or hover your pointer at the upper-left corner to display previously opened apps and then drag the app you want to snap to one side of the screen.

After you have snapped an app, you can drag the divider to make a snapped app the primary app. You cannot, however, use the divider to arbitrarily change the width of a snapped app; the Windows 8 app multitasking behavior is different from what you might have become accustomed to when working with desktop apps. In the desktop environment (including the Windows 8 desktop), the user can make app windows any size. For example, a user might open a web browser and a word-processing app side by side, with each using half the screen. Windows 8 continues to support this flexibility for desktop apps.

However, the Windows 8 app environment is different. If you want to have multiple Windows 8 apps visible on one monitor, you can snap one to the side of the screen, but the snapped app will always be 320 pixels wide. You can also use a second or third monitor, with different apps visible on each monitor.

While all apps designed for Windows 8 support snapping, some apps won’t be useful when snapped, and they might simply display an icon. Even if an app does not display a user interface when snapped, snapping can still be a useful way to quickly flip between two apps.

To close a snapped app with the mouse or touch, swipe down from the top of the screen and then drag it to the bottom of the screen.

Apps designed for Windows 8 can update their tiles on the Start screen with relevant information. For example, the Messaging app displays recent messages, and as Figure 2-6 demonstrates, the Finance app displays current stock prices and the Weather app displays current conditions. Live tiles often give you the information you need from an app without having to open the app.

Windows 8 is designed to support hundreds of live tiles without substantially slowing your computer’s performance or reducing battery life. Windows 8 receives authenticated and encrypted updates to live tiles from the Windows Push Notification Services (WNS), a web service hosted by Microsoft for free use by Windows 8 customers and app developers. Because WNS provides updates for all apps, Windows 8 can update an app’s tile without starting the app itself. App developers can create custom web services to update WNS, and in turn live tiles, with up-to-the-minute text, data, and images.

Apps can also update live tiles while the app is running and on a scheduled or periodic basis. For example, the Windows Calendar app uses scheduled updates to display meeting notifications based on local calendar data, without communicating on the Internet. Live tiles can cycle through up to five updates.

Use the App History tab of Task Manager to see the bandwidth used by live tiles.

Some Windows 8 apps allow you to use the Pin To Start option to add an extra tile to the Start screen. The new tile links you directly to content within an app, but otherwise it behaves exactly like an original tile. For example, a news app might allow users to create a tile for a specific news topic, such as technology news. The app could then update that tile with headlines and images from the latest technology news.

Windows 8 apps have several unique features that you won’t directly interact with. Desktop apps don’t have these features; only apps specifically designed for the Windows 8 touch interface have these features. For the curious, the sections that follow describe those features.

Applications use resources even when you are not actively using them. In earlier versions of Windows, users needed to manage the apps they had open and remember to close apps they were no longer using. If a user left too many apps open, the computer would run low on memory or processor resources, and the computer’s performance would slow down. The computer would run out of batteries sooner, too.

Windows 8 automatically suspends Windows 8 apps that are not in use when it can make better use of the app’s memory. When Windows 8 suspends an app, Windows 8 writes the app’s memory to the hard disk without interfering with other disk input/output (I/O). If you are familiar with Windows hibernation, the process is similar, but for a single app.

Though Windows 8 makes a copy of the app’s memory on the hard disk, it leaves the contents of the app’s memory intact. If the user accesses the app before another app needs the memory space, Windows 8 resumes the app immediately without needing to read the memory contents from disk.

If the user accesses a suspended app and the app’s memory contents have been overwritten, Windows 8 immediately reads the app’s memory from the hard disk and resumes the app. The faster the computer’s disk is, and the smaller the app’s memory set is, the more responsive suspended apps will be. Specifically, solid-state disks (SSDs) will provide the best performance.

Apps consume no resources while in a suspended state, improving battery life and the performance of foreground apps. On computers with large amounts of memory, Windows 8 might never need to suspend apps. Operating system functions, such as copying files, continue in the background without being suspended. Windows 8 cannot suspend desktop apps.

Desktop apps continue to run even when they are not in the foreground. Though the user might not interact with them, desktop apps often perform background tasks such as retrieving data from the Internet. Sometimes, these background tasks are unnecessary and simply waste computing resources. At other times, however, they are important. For example, an instant messaging app needs to receive new messages, and a music app needs to play music.

Windows 8 apps are designed to be suspended when they are not in the foreground, minimizing the resources they use. However, Windows 8 apps can still perform background tasks triggered by a variety of different scenarios, including:

Applications can restrict background tasks so that they run only when the computer is plugged in or a specific amount of network bandwidth is available. Windows 8 restricts the processing and network resources background tasks can use so that they will not consume too many resources. Apps on the lock screen receive the following processor and network time:

Apps not on the lock screen receive even fewer resources:

The network restrictions are removed when the PC is connected to a power outlet.

The primary way for browsing files with a touch interface is the SkyDrive app. Most of the time, you can simply select files and let Windows choose how to open them. If you’re not happy with the app Windows selects by default, you can change it. When you change a default app association, you change which app Windows uses to open all files with the same file name extension. For example, you could configure Windows to open all .jpg files with the Windows Photo Viewer desktop app instead of the Photos app.

From within SkyDrive, select a file rather than opening it. You can select a file by tapping it with your finger or right-clicking it with your mouse. Then, select Open With from the commands at the bottom of the screen. SkyDrive displays the dialog box shown in Figure 2-8, prompting you to select the app to open the file with.

Select More Options to view the full list of apps, including an option to download a new app from the Store. If you leave Use This App For All Files selected, Windows will use the selected app by default (even if you open a file from the desktop).

You can change the default app from the desktop, too. From File Explorer, right-click a file, click Open With, and, if the submenu is available, select Choose Default Program as shown in Figure 2-9. If you simply select Open With and then the app you want to open the file with, you won’t change the default app used when you open the same file type in the future.

If you want to change the file association for multiple file types, here’s a quicker method:

If you have a new app and you want it to handle every file type it is capable of opening, follow these steps:

  1. Search the settings for default programs and then select Set Your Default Programs.

  2. As shown in Figure 2-11, select the app you want to set as the default. Then, select Set This Program As Default.

The apps built into Windows 8 work together. For example, if you want to send someone a message, you could open the People app, find the person, and then click Send Message to switch to the Messaging app. Similarly, starting the Mail app will allow you to browse through the People app to select message recipients.

The sections that follow provide a high-level overview of Internet Explorer 10 and the People, Messaging, Calendar, and Mail apps, among others.

Internet Explorer 10 offers several rendering improvements over Internet Explorer 9 to provide compatibility with the latest web standards for creating websites with rich user interfaces without requiring plug-ins:

These capabilities won’t change the way you use a website unless the website specifically takes advantage of them. Over time, however, more websites will create content that leverages the power of these features.

Behind the scenes, Internet Explorer 10 updates the user agent string, which Internet Explorer uses to identify the browser version to the web server. Some web servers provide different versions of a website to the browser depending on how the browser identifies itself. While this will not be a problem for most users, you can solve compatibility problems by enabling compatibility mode in Internet Explorer 10. Compatibility mode configures Internet Explorer to identify itself as Internet Explorer 7, and to render webpages using Internet Explorer 7’s techniques. If you are a web developer, read “Windows Internet Explorer 10 Consumer Preview Guide for Developers” at http://msdn.microsoft.com/library/ie/hh673549.aspx.

The desktop version of Internet Explorer 10 closely resembles Internet Explorer 9. When you launch Internet Explorer from the Start screen, you will have a very different experience:

When you launch Internet Explorer 10 from the Start screen, it is very touch-friendly. To go back to a previous page, swipe the page from left to right. To switch between tabs, swipe down from the top of the screen, and then touch the tab that you want to use. For more information about using touch, refer to Chapter 1.

Since the earliest versions of Windows, Windows Explorer has been the primary tool for browsing and searching files. Windows 8 provides the familiar File Explorer (called Windows Explorer in Windows 7) functionality with a more intuitive interface, as the sections that follow describe.

Unlike the other apps described in this section, File Explorer is a desktop app. Desktop apps are designed to be primarily controlled with a mouse and keyboard.

The Maps app provides a touch-friendly tool for viewing street maps, satellite maps, traffic, directions, and satellite maps, as shown in Figure 2-26.

When you select Show Traffic, Maps will highlight major roads in green, yellow, or red to show how quickly traffic is moving. If you zoom in closely, you can see which side of a highway is congested. If roads show up as purple, zoom back.

The Directions feature will create turn-by-turn steps that you can follow to drive between two locations. Use the Devices charm to print from Maps.

The Bing app provides quick access to searching the web using Microsoft’s own search engine. It gives you the same results as opening Internet Explorer and searching, but (as shown in Figure 2-27) it’s a bit more touch-friendly. For example, if you were to search with Internet Explorer, you would have to click Next at the end of every page. With Bing, you simply swipe to the right to view more results.

The image search, as shown in Figure 2-28, is particularly useful. After performing a search, tap a picture to view the image full screen. Then, you can swipe left and right, creating a slide show from images on the Internet.