Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7 Silverlight Cookbook

You're reading from   Windows Phone 7 Silverlight Cookbook All the recipes you need to start creating apps and making money.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849691161
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jonathan Marbutt Jonathan Marbutt
Author Profile Icon Jonathan Marbutt
Jonathan Marbutt
Robb Schiefer Robb Schiefer
Author Profile Icon Robb Schiefer
Robb Schiefer
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Configuring capabilities


Through the various chapters of this book, you have seen the different capabilities of Windows Phone. Some of these capabilities are considered potentially sensitive such as the GPS and other location services, the microphone, push notifications, and so on. Microsoft has provided a recognition and approval system of these capabilities for end users. The goal of which is to properly inform users of the capabilities of the app and if they do not approve, allow them to cancel installation or close the app.

In this recipe, we will cover how to configure the application's declared phone capabilities and handle some of the certification requirements for using the push notifications capability.

Getting ready

Open the Oahu Surf Updates solution from Chapter 7.

How to do it...

Open the WMAppManifest.xml file located in the properties folder of the Windows Phone Application project:

  1. 1. Find the Capabilities node. Comment out all the child nodes except ID_CAP_NETWORKING and ID_CAP_PUSH_NOTIFICATION...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image