101 Windows Phone 7 Apps, Volume I - Adam Nathan

101 Windows Phone 7 Apps, Volume I

Developing Apps 1-50

(Autor)

Buch | Softcover
1152 Seiten
2011
Sams Publishing (Verlag)
978-0-672-33552-5 (ISBN)
73,75 inkl. MwSt
Full Color

 

INCLUDES COMPLETE CODE AND ASSETS FOR EACH APP IN THIS VOLUME!

 

Got a great idea for an app? There’s a chapter for that!

 

Calling all developers: Windows Phone 7 is starting to gain traction, and the opportunity is yours to sell the next killer app! 101 Windows Phone 7 Apps is a book series like no other–best-selling author and Microsoft developer Adam Nathan walks you through the process of building 101 real, robust, diverse, and marketplace-certified Silverlight applications. You not only get online access to the full source code and related assets, but the book is chock full of tips, warnings, and advice that can only come from Adam’s experience of writing so many complete applications and selling them in the Windows Phone Marketplace.

 

Imagine how long it would take you to develop and test 50 apps and how much you would learn from the experience. Rather than spending all that time starting from scratch, use this book to hit the ground running! Whether you simply make cosmetic changes to apps in this book (for example, creating kid-themed versions), repurpose apps (such as building a mortgage calculator based on Chapter 10’s tip calculator), or build something completely unique, this book can greatly accelerate your development time and help you create high-quality apps. Sell your apps in the Windows Phone Marketplace and make this book pay for itself!

 

Volume I contains the first 50 apps and covers the following:



Everything you need to know about Silverlight
Fully exploiting phone features such as the application bar, hardware/software keyboards, multi-touch, accelerometer, microphone, and more
Using rich controls such as pivots, panoramas, and controls in free toolkits, such as date/time pickers, toggle switches, charts, and graphs
Building your own custom controls, including popular ones missing from the platform, such as a checkable list box, multi-select picker box, and color picker
Broadly applicable pages, such as a photo-cropping page and accelerometer-calibration page
How to make your app look and feel like a first-party app
Practical tips on a wide range of topics, even acquiring and creating sound effects, using custom fonts, and creating icons

Adam Nathan is a principal software development engineer for Microsoft, a best-selling technical author, and arguably the most prolific developer for Windows Phone. Adam previously cofounded Popfly, Microsoft’s first product built on Silverlight, named one of the 25 most innovative products of 2007 by PCWorld magazine. He is also the founder of PINVOKE.NET, the online resource for .NET developers who need to access Win32.   Adam has created several top apps in the Windows Phone Marketplace that have been featured on Lifehacker, Gizmodo, ZDNet, ParentMap, and various Windows Phone enthusiast sites. Many of them are identical to or based on apps in this book. Chapter 36’s Sound Recorder app was featured on MSDN’s first Channel 9 “Hot Apps” show. With the purchase of this book, the same app is now yours to tweak and sell!   Adam’s books have been considered required reading by many inside Microsoft and throughout the industry. Adam is the author of Silverlight 1.0 Unleashed (Sams, 2008), WPF Unleashed (Sams, 2006), WPF 4 Unleashed (Sams, 2010), and .NET and COM: The Complete Interoperability Guide (Sams, 2002); a coauthor of ASP.NET: Tips, Tutorials, and Code (Sams, 2001); and a contributor to books including .NET Framework Standard Library Annotated Reference, Volume 2 (Addison-Wesley, 2005), and Windows Developer Power Tools (O’Reilly, 2006). You can find Adam online at www.adamnathan.net or @adamnathan on Twitter.

Introduction     1

 

Part I: Getting Started

Chapter 1: Tally     17

The Application Manifest

Capabilities

Icons

Splash Screen

XML Namespaces

Status Bar

Phone Theme Resources

Naming XAML-Defined Elements

Button

Chapter 2: Flashlight     39

Application Bar

Timers

Brushes

Message Box

Chapter 3: In Case of Emergency     61

Orientation

On-Screen Keyboard

Hardware Keyboard

Text Box

Input Scopes

Scroll Viewer

Size Properties

Margins and Padding

Emulator-Specific Code

Chapter 4: Stopwatch     89

Grid

StackPanel

User Controls

Alignment

Progress Bar

Visibility

Orientation Lock

Chapter 5: Ruler     123

Canvas

Vector Graphics

Slider

Repeat Button

Hardware Back, Start, & Search

Buttons

Hit Testing

Content Controls

Chapter 6: Baby Sign Language     153

Page Navigation

Data Binding

Data Templates

List Box

Image

Resource Versus Content Build

Actions

Chapter 7: Date Diff     185

Silverlight for Windows Phone

Toolkit

Date Picker

Chapter 8: Vibration Composer     191

Vibration

Wrap Panel

Running While the Screen is

Locked

Getting Coordinates of an

Element

The Tag Property

Line Breaks

Chapter 9: Fake Call     207

Resources

Styles

Time Picker

Text Line Height

Disabling Automatic Screen Lock

Chapter 10: Tip Calculator     235

Application Lifecycle

Control Templates

Routed Events

Theme Detection

Toggle Button, Radio Button,

& Check Box Controls

List Box Items

Data Binding to a Named Element

Chapter 11: XAML Editor     271

Dynamic XAML

Popup

TextBox Manipulation

Background Worker

Copy & Paste

 

Part II: Transforms & Animations

Chapter 12: Silly Eye     301

Animation

Event Triggers

Named Resources

Settings Page

Color Picker

Clipping

Chapter 13: Metronome     327

2D Transforms

Animating Rotation

Animation Completed Event

Frame Rate Counter

Chapter 14: Love Meter     347

Keyframe Animations

Animating Scale

Checking Storyboard Status

Chapter 15: Mood Ring     361

Color Animations

Property Paths

Gradient Brushes

Object Animations

Point Animations

Drop Shadows

Chapter 16: Lottery Numbers Picker     377

Sharing Animations

Creating Animations in C#

Looping Selector

Chapter 17: Pick a Card Magic Trick     395

3D Transforms

Opacity Masks

Image Brush

One-Time Actions

Chapter 18: Cocktails     413

Quick Jump Grid

Dependency Properties

URL Encoding & Decoding

Storyboards as Timers

Indeterminate Progress Bars

Long List Selector

Chapter 19: Animation Lab     441

Custom Controls

Visual State Manager

Bitmap Caching

Tilt Effect

 

Part III: Storing & Retrieving Local Data

Chapter 20: Alarm Clock     463

Isolated Storage

Settings

Settings Page Guidelines

Toggle Switch

Using Custom Fonts

Runs

Chapter 21: Passwords & Secrets     493

Encryption & Decryption

Password Box

Value Converters

DateTimeOffset

Observable Collections

INotifyPropertyChanged

Chapter 22: Notepad     527

Reading & Writing Files

Chapter 23: Baby Milestones     545

Reading & Writing Pictures

Serialization

Two-Way Data Binding

Chapter 24: Baby Name Eliminator     565

Local Databases

Shipping Data with Your App

Chapter 25: Book Reader     587

Pagination

List Picker

Stretching List Box Items

 

Part IV: Pivot, Panorama, Charts, & Graphs

Chapter 26: TODO List     611

Pivot

Context Menu

Data Contract Attributes

Chapter 27: Groceries     649

Panorama

Chapter 28: Alphabet Flashcards     675

Filmstrip-Style Swiping

Chapter 29: Weight Tracker     681

Charts & Graphs

 

Part V: Audio & Video

Chapter 30: Cowbell     711

Playing Sound Effects

Composition Target’s Rendering

Event

Chapter 31: Trombone     719

Sound Manipulation

Sound Looping

SoundEffectInstance

Chapter 32: Local FM Radio     731

Radio Tuner

The

NetworkInterface.InterfaceType

Property

Chapter 33: Subservient Cat     743

Playing Video

MediaElement

 

Part VI: Microphone

Chapter 34: Bubble Blower     759

Sound Detection

Reversing a Slider

Chapter 35: Talking Parrot     775

Microphone Audio Playback

Chapter 36: Sound Recorder     797

Saving Audio Files

Playing Sound Backwards

Multi-Selection List Box

 

Part VII: Touch & Multi-Touch

Chapter 37: Reflex Test     827

The Touch.FrameReported Event

Touch Points

Chapter 38: Musical Robot     839

Multi-Touch

Tracking Individual Fingers

Chapter 39: Paint     847

Ink Presenter

Manual Serialization and

Deserialization

XmlSerializer

DataContractSerializer

DataContractJsonSerializer

Undo & Redo

Chapter 40: Darts     875

Gesture Listener

Manipulation Events

Flick Gesture

Direct Hit Testing

Chapter 41: Deep Zoom Viewer     897

Pinch & Stretch Zooming Gestures

Double-Tap Gesture

MultiScaleImage

Chapter 42: Jigsaw Puzzle     913

Drag Gesture

Image Cropping

WriteableBitmap

Taking Phone Screenshots

Chapter 43: Spin the Bottle!      945

Rotate Gesture

Simulating Inertia

 

Part VIII: Accelerometer Tricks

Chapter 44: Boxing Glove     951

Accelerometer Basics

Chapter 45: Coin Toss     965

Throwing Detection

Chapter 46: Noise Maker     981

Shaking Detection

Chapter 47: Moo Can     993

Turning-Over Detection

AccelerometerHelper

Data Smoothing

Accelerometer Calibration

Chapter 48: Level     1007

Determining the Phone’s Angle

Chapter 49: Balance Test     1019

2D Motion

Chapter 50: Pedometer     1035

Analyzing Walking Motion

 

Part IX: Appendices

Appendix A: Lessons Index     1049

Appendix B: XAML Reference     1059

Appendix C: Theme Resources Reference     1073

Appendix D: Animation Easing Reference     1083

Appendix E: Geometry Reference     1089

Index     1097

Verlagsort Indianapolis
Sprache englisch
Maße 178 x 231 mm
Gewicht 2080 g
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Mathematik / Informatik Informatik Netzwerke
Informatik Software Entwicklung Mobile- / App-Entwicklung
Informatik Weitere Themen Smartphones / Tablets
ISBN-10 0-672-33552-2 / 0672335522
ISBN-13 978-0-672-33552-5 / 9780672335525
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Jürgen Sieben

Buch | Hardcover (2023)
Rheinwerk (Verlag)
89,90
Das große Handbuch zum JavaScript-Framework

von Christoph Höller

Buch | Hardcover (2022)
Rheinwerk (Verlag)
39,90