CONTENTS
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
With Microsoft back in the game with Windows Phone, and with a growing number of Windows Phone applications in end-user hands, more and more smartphone developers are looking for books to learn how development on Windows Phone works.
This book provides much-needed architecture guidance, theory, and hands-on practice for real-world cases aimed at developers. It is comprehensive, highly readable, and replete with useful examples. This book is exceedingly useful for mobile developers, mobile users, IT engineers, and managers.
Quincy Milton Principal Test Manager, Windows Phone Customer Experience Engineering, Microsoft Corporation
This timely book will be invaluable to the many individuals and organizations that wish to extend existing development skills in iOS and/or Android onto the Windows Phone 7 platform. The books brilliant approach of focusing on the differences between Windows Phone 7 and the mobile platforms the reader already knows makes for remarkably quick and efficient learning.
Ib Green Head of Capacity, Teleca USA, Inc.
Windows Phone 7 Programming for Android and iOS Developers
Published by
John Wiley & Sons, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright 2011 by John Wiley & Sons, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-1-118-02197-2
ISBN: 978-1-118-15420-5 (ebk)
ISBN: 978-1-118-15422-9 (ebk)
ISBN: 978-1-118-15421-2 (ebk)
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions .
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.
Library of Congress Control Number: 2011931747
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Windows is a registered trademark of Microsoft Corporation. Android is a trademark of Google, Inc. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc., is not associated with any product or vendor mentioned in this book.
To my son, Vincent, who is the first reader of this book and loves smartphones much more than me. To my wife, Xu, for her support and tolerance.
Zhinan Zhou
To my wife, Jane, and my daughters, Jacqueline and Angie, for their great understanding and endless support.
Robert Zhu
To my wife, Ning Liu, for her encouragement and support.
Pei Zheng
In memory of my parents.
Baijian Yang
ABOUT THE AUTHORS
ZHINAN ZHOU is a senior software engineer with 10 years of professional experience in the R&D of mobile applications and wireless communications. He is currently with Samsung Telecommunications America, responsible for creating cutting-edge technologies for the mobile-device space and for supporting other Samsung development groups bringing new functionality to market. Zhou has a rich hands-on experience in mobile-platform development on Android, Windows Phone, and J2ME. Zhou is also an author of numerous cited publications on IEEE and ACM journals and conferences. He received a Ph.D. in computer science from Michigan State University in 2006.