O'Reilly logo

Windows® Phone 7 Programming for Android™ and iOS Developers by Robert Zhu, Pei Zheng, Zhinan Zhou, Baijian Yang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6

Web Services and Push Notifications

WHAT’S IN THIS CHAPTER

  • Consuming web services
  • Parsing data
  • How to manage push notifications
  • Understanding interstitial ads
  • How to create and display ads

Today’s smartphones come with mobile data service and the traditional voice call service. Wi-Fi is also a common component and widely used at home or in public places. This ubiquitous connectivity provides opportunities for mobile applications to access the Internet in various ways. Many websites offer web service APIs that a client can consume regardless of what software platforms the application runs on. This chapter looks into what Windows Phone 7 (WP7) provides for consuming web services. You’ll learn about the push notification service, a key service that can post data to applications on devices for a web service. This chapter also explores mobile advertising and major mobile advertising providers.

USING WEB SERVICES

How do you consume popular web services on WP7? This section will answer that question. For those not familiar with web service technologies, a primer of web services is provided. Developers who have used web services on iOS and Android will find it useful to leverage their knowledge of those platforms in order to move to WP7. Therefore the section will also provide a brief coverage of using web services on iOS and Android, followed by a detailed discussion of making web service calls and parsing web service data on WP7.

A Primer of Web Services

This section will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required