Windows Phone 7.5 Application Development with F#: Develop amazing applications for Windows Phone using F#
By Lohith G N
()
About this ebook
Windows Phone is an OS which is also a platform in itself and provides an opportunity for application developers to build their apps and sell them on the Windows Phone Marketplace. Windows Phone is slowly catching up in the race with iOS and Android. Although well suited for scientific and mathematical calculations, the Windows Phone Platform provides an opportunity to program in F#. "Windows Phone 7.5 Application Development with F#" focuses on making the user aware of Windows Phone App Development with the F# programming language in as short a time as possible. The book teaches you about the development environment, helps you understand the project structure, understand the controls, and ends with some of the cool features of the platform like sensors, launchers, and choosers. The book starts off with enabling the user with the right tools required to start developing. It focuses on getting the IDE ready, and project and item templates. By the end of the book the user will be familiarized with the different aspects of the platform itself. The transition from one chapter to another is short and focused so that you can get to the meat of the topic quickly.
Related to Windows Phone 7.5 Application Development with F#
Related ebooks
Windows Phone 7.5 Application Development with F# Rating: 0 out of 5 stars0 ratingsInstant PhoneGap Social App Development Rating: 0 out of 5 stars0 ratingsMastering Windows Presentation Foundation: Build responsive UIs for desktop applications with WPF, 2nd Edition Rating: 0 out of 5 stars0 ratingsHands-On Android UI Development: Design and develop attractive user interfaces for Android applications Rating: 0 out of 5 stars0 ratingsOpa Application Development: A rapid and secure web development framework to develop web applications quickly and easily in Opa Rating: 0 out of 5 stars0 ratingsPhoneGap for Enterprise Rating: 0 out of 5 stars0 ratingsSwift 3 Protocol-Oriented Programming - Second Edition Rating: 0 out of 5 stars0 ratingsASP.NET 3.5 Application Architecture and Design: Build robust, scalable ASP.NET applications quickly and easily. Rating: 0 out of 5 stars0 ratingsXamarin 4 By Example Rating: 0 out of 5 stars0 ratingsPhoneGap and AngularJS for Cross-platform Development Rating: 0 out of 5 stars0 ratingsC# 7 and .NET Core 2.0 Blueprints: Build effective applications that meet modern software requirements Rating: 0 out of 5 stars0 ratingsModular Programming with PHP 7 Rating: 0 out of 5 stars0 ratingsInstant Play Framework Starter Rating: 0 out of 5 stars0 ratingsFlutter Projects: A practical, project-based guide to building real-world cross-platform mobile applications and games Rating: 0 out of 5 stars0 ratingsMastering ASP.NET Core 2.0: MVC patterns, configuration, routing, deployment, and more Rating: 0 out of 5 stars0 ratingsBeginning ASP.NET 4.5 in C# Rating: 0 out of 5 stars0 ratingsApps and Services with .NET 8: Build practical projects with Blazor, .NET MAUI, gRPC, GraphQL, and other enterprise technologies Rating: 0 out of 5 stars0 ratingsAndroid Design Patterns and Best Practice Rating: 5 out of 5 stars5/5Learning Ext JS - Fourth Edition Rating: 0 out of 5 stars0 ratingsReSharper Essentials Rating: 4 out of 5 stars4/5Learning F# Functional Data Structures and Algorithms Rating: 0 out of 5 stars0 ratingsHands-On High Performance with Spring 5: Techniques for scaling and optimizing Spring and Spring Boot applications Rating: 0 out of 5 stars0 ratingsMastering ServiceStack Rating: 0 out of 5 stars0 ratings
Programming For You
SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5C Programming For Beginners: The Simple Guide to Learning C Programming Language Fast! Rating: 5 out of 5 stars5/5Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsExcel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5iPhone For Dummies Rating: 0 out of 5 stars0 ratingsGrokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Pyqt6 101: A Beginner’s Guide to PyQt6 Rating: 0 out of 5 stars0 ratingsC# 7.0 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsPython Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5C All-in-One Desk Reference For Dummies Rating: 5 out of 5 stars5/5The CSS Guide: The Complete Guide to Modern CSS Rating: 5 out of 5 stars5/5Beginning Programming with C++ For Dummies Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 5 out of 5 stars5/5Raspberry Pi Electronics Projects for the Evil Genius Rating: 3 out of 5 stars3/5C Programming for Beginners: Your Guide to Easily Learn C Programming In 7 Days 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 morehttp://PacktLib.PacktPub.com