Tải bản đầy đủ (.pdf) (7 trang)

a0026 wrox windows phone 7 programming for android and ios developers aug 201 morebook vn 9499

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (710.27 KB, 7 trang )


ffirs.indd ii

7/13/11 7:20:43 AM


WINDOWS® PHONE 7 PROGRAMMING FOR
ANDROID™ AND iOS DEVELOPERS
FOREWORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii
CHAPTER 1

What’s New in Windows Phone 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

CHAPTER 2

The Development Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

CHAPTER 3

Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

CHAPTER 4

User Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

CHAPTER 5

Application Data Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

CHAPTER 6



Web Services and Push Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113

CHAPTER 7

Leveraging Location and Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155

CHAPTER 8

Graphics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183

CHAPTER 9

Multimedia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205

CHAPTER 10

Utilizing System Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235

CHAPTER 11

What You Need to Do about Security . . . . . . . . . . . . . . . . . . . . . . . . . . . 257

APPENDIX A

An Introduction to Smartphone Chipset . . . . . . . . . . . . . . . . . . . . . . . . . 277

APPENDIX B

An Introduction to Microsoft Expression

Blend for Windows Phone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281

APPENDIX C

Sample Applications Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293

INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307

ffirs.indd i

7/13/11 7:20:43 AM


ffirs.indd ii

7/13/11 7:20:43 AM


Praise for

Windows Phone 7 Programming for Android
and iOS Developers
“Among quite a few Windows Phone 7 programming books on the market, this book is one of
the best for iOS and Android developers who look into creating applications on the new Windows
Phone 7 platform. It is also an excellent desktop reference for mobile computing courses in
schools, as it provides architectural overview of many popular mobile technologies on the three
major mobile platforms, as well as sample code that will help students understand the technologies
and develop programming skills for Windows Phone quickly.
—Dr. Lionel M. Ni
Chair Professor and Dean of HKUST

Fok Ying Tung Graduate School
Hong Kong University of Science and Technology
“Mobile is a rapidly growing space that is yet to reach its full potential and reach worldwide.
The combination of mobility, form factor, price, social media, and a global market is
enabling scenarios that previously were either hard to imagine or to develop. Developers,
both professional and otherwise, are flocking to mobile platforms to create applications and
games. An approachable, effective, integrated application platform is a goal that every software
vendor should be aiming for. The Windows Phone 7 application platform enables developers to
create engaging consumer experiences running on a Windows Phone. It is built upon existing
Microsoft tools and technologies such as Visual Studio, Expression Blend, Silverlight, and the
XNA framework. Developers already familiar with those technologies will be able to create new
applications for the Windows Phone quickly and easily.
“This book helps you to understand the Windows Phone application framework. It focuses
on Windows Phone design guidelines, provides guidance architecture, and solidifies it with
hands-on, real-world development scenarios. It is comprehensive, highly readable, and replete
with useful real-world examples. I highly recommend this book for smartphone developers, IT
professionals, and engineering managers. Whether you are new, or one who has experience on
the iOS and Android platforms, this book serves as the ideal reference for development on the
Windows Phone.”
—Saty Bahadur
Principal Development Manager
Windows Phone Engineering
Microsoft Corporation

ffirs.indd iii

7/13/11 7:20:43 AM


XAML – Zune


X
XAML. See Extensible Application Markup
Language
.xaml, 18
XAP. See Silverlight Application Package
Xbox LIVE, 3, 4
Xbox/DirectX New Generation Architecture
(XNA), 4, 6–7
animation, 198–200
game loop, 190–194
Game Studio, 16
graphics, 183–184, 189–204
iOS, 20
microphone, 241
sprites, 194–198
templates, 40–41
texture, 194–198
3D space, 200–204
Windows Phone Emulator, 184
XElement, 130

XHTML. See Extensible Hypertext Markup
Language
XML. See eXtensible Markup Language
XMLReader, 127
XNA. See Xbox/DirectX New Generation
Architecture

Y

Yelp, 115
Youtube, 114

Z
zombie virus, 257
ZoomBarVisibility, 174

Zune, 3, 4, 7
debugging, 27
Redirection Service, 35
testing, 27

326

bindex.indd 326

7/13/11 6:45:56 AM


Try Safari Books Online FREE
for 15 days + 15% off
for up to 12 Months*
Read this book for free online—along with thousands of others—
with this 15-day trial offer.
With Safari Books Online, you can experience
searchable, unlimited access to thousands of
technology, digital media and professional
development books and videos from dozens of
leading publishers. With one low monthly or yearly
subscription price, you get:

• Access to hundreds of expert-led instructional
videos on today’s hottest topics.
• Sample code to help accelerate a wide variety
of software projects
• Robust organizing features including favorites,
highlights, tags, notes, mash-ups and more
• Mobile access using any device with a browser
• Rough Cuts pre-published manuscripts

START YOUR FREE TRIAL TODAY!
Visit www.safaribooksonline.com/wrox6 to get started.
*Available to new subscribers only. Discount applies to the
Safari Library and is valid for first 12 consecutive monthly
billing cycles. Safari Library is not available in all countries.

badvert.indd 327

14/07/11 9:19 PM



×