Windows Phone 7.5 Application Development with F#
By Lohith G.N.
()
About this ebook
Related to Windows Phone 7.5 Application Development with F#
Related ebooks
C# 24-Hour Trainer Rating: 3 out of 5 stars3/5Windows Phone 7 Silverlight Cookbook Rating: 0 out of 5 stars0 ratingsXamarin 4 By Example Rating: 0 out of 5 stars0 ratingsThe Mobile Application Hacker's Handbook Rating: 3 out of 5 stars3/5Professional Windows Phone 7 Application Development: Building Applications and Games Using Visual Studio, Silverlight, and XNA Rating: 0 out of 5 stars0 ratingsXamarin 4.x Cross-Platform Application Development - Third Edition Rating: 0 out of 5 stars0 ratingsMastering Cross-Platform Development with Xamarin Rating: 0 out of 5 stars0 ratingsLearning Xamarin Studio Rating: 0 out of 5 stars0 ratingsHow To Create An App Rating: 3 out of 5 stars3/5Professional Mobile Application Development Rating: 0 out of 5 stars0 ratingsTop 10 Xamarin Tips and Traps Rating: 0 out of 5 stars0 ratingsThe App Mobster Rating: 0 out of 5 stars0 ratings.NET MAUI Cookbook: Build a full-featured app swiftly with MVVM, CRUD, AI, authentication, real-time updates, and more Rating: 0 out of 5 stars0 ratingsProfessional C# 2012 and .NET 4.5 Rating: 3 out of 5 stars3/5PhoneGap: Beginner's Guide - Third Edition Rating: 0 out of 5 stars0 ratingsComprehensive Guide to WinUI Development: Definitive Reference for Developers and Engineers Rating: 0 out of 5 stars0 ratingsDeveloping Windows Store Apps with HTML5 and JavaScript Rating: 0 out of 5 stars0 ratingsiOS App Development For Dummies Rating: 0 out of 5 stars0 ratingsLearning ArcGIS Runtime SDK for .NET Rating: 0 out of 5 stars0 ratingsC# 10.0 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsBuilding your First Mobile Game using XNA 4.0 Rating: 0 out of 5 stars0 ratingsMadCap Flare for Programmers Rating: 5 out of 5 stars5/5The Mobile Enterprise: A pragmatic vision Rating: 0 out of 5 stars0 ratingsThe Freelance Mobile App Developer: Freelance Jobs and Their Profiles, #8 Rating: 0 out of 5 stars0 ratingsVisual Studio 2013 Cookbook Rating: 0 out of 5 stars0 ratingsC# Debugging from Scratch: A Practical Guide with Examples Rating: 0 out of 5 stars0 ratings
Hardware For You
GitHub For Dummies Rating: 0 out of 5 stars0 ratingsCompTIA A+ Complete Review Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 5 out of 5 stars5/5Electrical Engineering | Step by Step Rating: 0 out of 5 stars0 ratingsUpgrading and Fixing Computers Do-it-Yourself For Dummies Rating: 4 out of 5 stars4/5Chip War: The Fight for the World's Most Critical Technology Rating: 4 out of 5 stars4/5iPhone 16 Pro Max User Manual: The Complete Step-By-Step Guide to Maximize your New iPhone 16 Pro Max and iOS 18 Rating: 0 out of 5 stars0 ratingsCompTIA A+ Complete Review Guide: Exam Core 1 220-1001 and Exam Core 2 220-1002 Rating: 5 out of 5 stars5/5Dancing with Qubits: How quantum computing works and how it can change the world Rating: 5 out of 5 stars5/5Amazon Web Services (AWS) Interview Questions and Answers Rating: 5 out of 5 stars5/5Exploring Arduino: Tools and Techniques for Engineering Wizardry Rating: 4 out of 5 stars4/5Build Your Own PC Do-It-Yourself For Dummies Rating: 4 out of 5 stars4/5CompTIA A+ Complete Practice Tests: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 0 out of 5 stars0 ratingsArduino Essentials Rating: 5 out of 5 stars5/5Linux All-in-One For Dummies Rating: 3 out of 5 stars3/5CompTIA A+ Complete Study Guide, 2-Volume Set: Volume 1 Core 1 Exam 220-1201 and Volume 2 Core 2 Exam 220-1202 Rating: 0 out of 5 stars0 ratingsThe Official Raspberry Pi Beginner's Guide: How to use your new computer Rating: 4 out of 5 stars4/5CompTIA A+ Complete Study Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 0 out of 5 stars0 ratingsTeach Yourself VISUALLY iPhone 16 Rating: 0 out of 5 stars0 ratingsHacking Electronics: Learning Electronics with Arduino and Raspberry Pi, Second Edition Rating: 0 out of 5 stars0 ratingsMastering ChatGPT Rating: 0 out of 5 stars0 ratingsPractical Digital Forensics Rating: 0 out of 5 stars0 ratingsiMac For Dummies Rating: 0 out of 5 stars0 ratingsDrones For Dummies Rating: 5 out of 5 stars5/5The Geeky Kids Guide! To Building Your Own Gaming PC Rating: 3 out of 5 stars3/5Fundamentals of Digital Logic and Microcontrollers Rating: 0 out of 5 stars0 ratingsLinux All-In-One For Dummies Rating: 2 out of 5 stars2/53D Printing For Dummies Rating: 4 out of 5 stars4/5Raspberry Pi Cookbook for Python Programmers Rating: 0 out of 5 stars0 ratingsDebugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems Rating: 4 out of 5 stars4/5
Reviews for Windows Phone 7.5 Application Development with F#
0 ratings0 reviews
Book preview
Windows Phone 7.5 Application Development with F# - Lohith G.N.
Table of Contents
Windows Phone 7.5 Application Development with F#
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Setting up Windows Phone Development with F#
What is Windows Phone?
Windows Phone – a standardized platform
Development option for Windows Phone
Windows Phone Application Platform Architecture
What is F#?
Prerequisites for development
Visual Studio 2010
Windows Phone Software Development Kit 7.1
Windows Phone project and Item Templates for F#
Summary
2. F# Windows Phone Project Overview
Windows Phone Project Templates for F#
F# and C# Windows Phone Application (Silverlight) Project Template
The AppHost project
The App project
Output
F# and C# Windows Phone List Application (Silverlight) Project Template
F# and C# Windows Phone Panorama Application (Silverlight) Project Template
Summary
3. Working with Windows Phone Controls
Supported controls in Windows Phone
Hello world in F#
Working with the Button control
Working with the Checkbox control
Working with the Hyperlink control
Working with the ListBox control
Working with the MessageBox control
Working with the PasswordBox control
Working with the ProgressBar control
Working with the RadioButton control
Working with the Slider control
Working with the TextBox control
Summary
4. Windows Phone Screen Orientations
Orientation
Types of orientations
Setting orientation
Detecting orientation
Changing orientation in an emulator
Orientation handling techniques
Auto sizing and scrolling
Grid layout
Summary
5. Windows Phone Gesture Events
Gestures
Gesture support in Silverlight for Windows Phone
Manipulation events
Gesture events
Understanding manipulation events
Understanding gesture events
Summary
6. Windows Phone Navigation
Navigation in Windows Phone
Windows Phone navigation model
PhoneApplicationFrame
Phone application page
Hub and Spoke navigation model
F# XAML Item Templates
Navigating between pages using a hyperlink button
Navigating between pages using NavigationService
Passing data between pages
Summary
7. Windows Phone and Data Access
Data sources
Resource files
Content files
Isolated storage
IsolatedStorageSettings
IsolatedStorageFile
HTTP classes
Summary
8. Launchers and Choosers
Overview of Launchers and Choosers
Launchers
BingMapsTask
BingMapsDirectionsTask
EmailComposeTask
MarketplaceDetailsTask
MarketplaceHubTask
MarketplaceReviewTask
MarketplaceSearchTask
MediaPlayerLauncher
PhoneCallTask
SmsComposeTask
WebBrowserTask
Choosers
AddressChooserTask
CameraCaptureTask
EmailAddressChooserTask
PhoneNumberChooserTask
SaveEmailAddressTask
Summary
9. Windows Phone Sensors
Accelerometer
GPS (location services)
Summary
Index
Windows Phone 7.5 Application Development with F#
Windows Phone 7.5 Application Development with F#
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: April 2013
Production Reference: 1030413
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84968-784-3
www.packtpub.com
Cover Image by Siddharth Ravishankar (<[email protected]>)
Credits
Author
Lohith G.N.
Reviewers
Senthil Kumar
Vivek Thangaswamy
Acquisition Editor
Kevin Colaco
Commissioning Editor
Priyanka Shah
Technical Editors
Worrell Lewis
Lubna Shaikh
Copy Editors
Brandt D'Mello
Alfida Paiva
Laxmi Subramanian
Ruta Waghmare
Project Coordinator
Esha Thakker
Proofreader
Elinor Perry-Smith
Indexer
Hemangini Bari
Graphics
Aditi Gajjar
Production Coordinators
Manu Joseph
Nitesh Thakur
Cover Work
Manu Joseph
About the Author
Lohith G. N. hails from Mysore, India and currently resides in Bangalore, India. He has over 12 years of experience in software development. He presently works as a Developer Evangelist for Telerik in India and takes care of Evangelism for the South Indian region. He comes from a Production Engineering background and ended up in software development thanks to the FORTRAN language that he learned during his graduation days. Being well versed with the .NET platform, Lohith has experience building web applications, Windows applications, and Service Oriented Architecture. He has spent close to a decade mostly in the services-based industry and is well versed with the agile method of software development.
Lohith is also a two time Microsoft Most Valuable Professional (MVP) in the area of ASP.NET/IIS. He was given this prestigious award from Microsoft in 2011 and 2012. He often writes on ASP.NET/ODATA and maintains his own blog at http://kashyapas.com. He can be reached on Twitter and his Twitter handle is @kashyapa. To know more about Lohith you can check out http://about.me/kashyapa. Lohith is also one of the User Group leads for Bangalore DotNet User Group—one of the most active User Groups in India. He is a regular speaker at the local user groups.
This is the first ever book that I have written and I take this opportunity to thank my parents. I would also like to thank my lovely wife Rashmi and my lovely son Adithya for having put up with me while writing this book. I have promised them a nice vacation as soon as I am done with the book.
About the Reviewers
Senthil Kumar is a Software Engineer and a passionate blogger. He works mainly on Windows or client development technologies and has good working experience in C#/.NET, Delphi, Win forms, Windows Phone, Windows 8, and SQL Server.
He completed his Master of Computer Applications from Christ College (Autonomous), Bangalore in the year 2009 and is a MCA rank holder (gold medalist).He has worked as a technical reviewer for Windows Identity Foundation Cookbook, Sandeep Chandra, Packt Publishing.
You can connect with him on Twitter at http://twitter.com/isenthil, on Facebook at http://www.facebook.com/kumarbsenthil, and his blog at www.ginktage.com.
Vivek Thangaswamy is highly committed to technology support and service to the global community and workplace. Looking at his community support activity Microsoft awarded him the Most Valuable Professional (MVP) award for three consecutive years—2007 for ASP.NET, 2008 and 2009 for SharePoint. He has also been awarded the Professional Excellence and Innovation Award for the year 2011 from www.npa.org. He has been awarded with bronze, silver, and gold medals by dotnetspider.com for his contribution to the community. www.experts-exchange.com has awarded him Master status in XML, ASP.NET, and SharePoint.
Apart from this recognition, Vivek has contributed to the MSDN forums and www.codeproject.com. He is the administrator for all technology-related discussions at www.redpipit.com. He is the creator for two projects in www.codeplex.com—an open source community for Microsoft Technologies. He has authored Exploring SharePoint Foundation 2010, Darkcrab Press and VSTO 3.0 for Office 2007 Programming, Packt Publishing, co-authored the book System Analysis and Design, LAP Lambert Academic Publishing, and has been the technical reviewer for three books Microsoft Office Live Small Business: Beginner's Guide, Packt Publishing, Refactoring with Microsoft Visual Studio 2010, Packt Publishing, and BlackBerry Enterprise Server 5 Implementation Guide, Packt Publishing.
I would like to dedicate this book to my family and friends; they are the confidence and the strength in my life.
www.PacktPub.com
Support files, eBooks, discount offers and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
Support files, eBooks, discount offers and more