Xamarin Cross-Platform Development Cookbook

Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 28. März 2016
  • |
  • 416 Seiten
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78588-185-5 (ISBN)
A recipe-based practical guide to get you up and running with Xamarin cross-platform developmentAbout This BookGain the skills and expertise to create, test, and deploy native mobile applications in the three major mobile app stores that share up to 95% of the same codeLearn development techniques that will allow you to use and create custom layouts for each platform, cross-platform UIGain the knowledge needed to become more efficient in testing, deploying, and monitoring your applications, helping you through all stages of the software development life cycleWho This Book Is ForThis book is for mobile developers. You must have some basic experience of C# programming, but no previous experience with Xamarin is required. If you are just starting with C# and want to use Xamarin todevelop cross-platform apps effectively and efficiently, then this book is the right choice for you.What You Will LearnCreate and customize your cross-platform UIUnderstand and explore cross-platform patterns and practicesUse the out-of-the-box services to support third-party librariesFind out how to get feedback while your application is used by your usersBind collections to ListView and customize its appearance with custom cellsCreate shared data access using a local SQLite database and a REST serviceTest and monitor your applicationsIn DetailYou can create native mobile applications using the Xamarin Forms platform for the three major platforms iOS, Android, and Windows Phone. The advantage of this is sharing as much code as you can, such as the UI, business logic, data models, SQLite data access, HTTP data access, and file storage across the three major platforms.This book provide recipes on how to create an architecture that will be maintainable, extendable, use Xamarin Forms plugins to boost productivity, customize your views per platforms, and use platform-specific implementations at runtime.We start with a simple creation of a Xamarin Forms solution with the three major platforms. We will then jump to XAML recipes and you will learn how to create a tabbed application page, and customize the style and behavior of views for each platform. Moving on, you will acquire more advanced knowledge and techniques while implementing views and pages for each platform and also calling native UI screens such as the native camera page.Further on, we demonstrate the power of architecting a cross-platform solution and how to share code between platforms, create abstractions, and inject platform-specific implementations. Next, you will utilize and access hardware features that vary from platform to platform with cross-platform techniques. We'll then show you the power of databinding offered by Xamarin Forms and how you can create bindable models and use them in XAML. You will learn how to handle user interactions with the device and take actions in particular events.With all the work done and your application ready, you will master the steps of getting the app ready and publishing it in the app store.Style and approachThis book will serve as a quick reference with a unique recipe-based approach that will engage you like never before as you create real-world cross-platform apps on your own.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
978-1-78588-185-5 (9781785881855)
178588185X (178588185X)
weitere Ausgaben werden ermittelt
George Taskos is a senior software engineer. He has been creating applications professionally since 2005, and he started coding at the age of 8. George has worked as a consultant for the past 10 years in the enterprise and consumer domains.
George is a Microsoft Certified Solutions Developer since 2009 and Xamarin Certified Mobile Developer. Throughout his career, he has created multitier interoperable applications with various technologies, including Windows Forms, WPF, ASP.NET MVC, SOAP, and REST web services, focusing on native iOS/Android and Xamarin Cross Platform Mobile applications for the past 5 years.
As a professional, he worked with small and large enterprises in Greece, Cyprus, South Africa, UK, and USA where he is currently based in New York City.
George is a passionate engineer involved in the start-up community by contributing his free time. He was a member of the BugSense mobile analytics team that was acquired by a NASDAQ big data analytics corporation in 2013.
Currently, he is working with Verisk Analytics, a NASDAQ 100 company, leading the engineering of Xamarin iOS/Android platforms and working in general software architecture of products.
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewer
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: One Ring to Rule them All
  • Introduction
  • Creating a cross-platform solution
  • Creating a cross-platform login screen
  • Using common platform features
  • Authenticating with Facebook and Google providers
  • Chapter 2: Declare Once, Visualize Everywhere
  • Introduction
  • Creating a tabbed-page cross-platform application
  • Adding UI behaviors and triggers
  • Configuring XAML with platform-specific values
  • Using custom renderers to change the look and feel of views
  • Chapter 3: Native Platform-Specific Views and Behavior
  • Introduction
  • Showing native pages with renderers
  • Attaching platform-specific gestures
  • Taking an in-app photo with the native camera page
  • Chapter 4: Different Cars, Same Engine
  • Introduction
  • Sharing code between different platforms
  • Using the dependency locator
  • Adding a third-party Dependency Injection Container
  • Architecture design with Model-View-ViewModel (MVVM) pattern
  • Using the event messenger
  • Adding localization
  • Chapter 5: Dude, Where's my Data?
  • Introduction
  • Creating a shared SQLite data access
  • Performing CRUD operations in SQLite
  • Consuming REST web services
  • Leveraging native REST libraries and making efficient network calls
  • Chapter 6: One for All and All for One
  • Introduction
  • Creating cross-platform plugins
  • Taking or choosing photos
  • Getting the GPS location
  • Show and schedule local notifications
  • Chapter 7: Bind to the Data
  • Introduction
  • Binding data in code
  • Binding data in XAML
  • Configuring two-way data binding
  • Using value converters
  • Chapter 8: A List to View
  • Introduction
  • Displaying a collection and selecting a row
  • Adding, removing, and refreshing items
  • Customizing the row template
  • Adding grouping and a jump index list
  • Chapter 9: Gestures and Animations
  • Introduction
  • Adding gesture recognizers in XAML
  • Handling gestures with native platform renderers
  • Adding cross-platform animations
  • Chapter 10: Test Your Applications, You Must
  • Introduction
  • Creating unit tests
  • Creating acceptance tests with Xamarin.UITest
  • Using the Xamarin.UITest REPL runtime shell to test the UI
  • Uploading and running tests in Xamarin Test Cloud
  • Chapter 11: Three, Two ,One - Launch and Monitor
  • Introduction
  • Using Xamarin Insights
  • Publishing iOS applications
  • Publishing Android applications
  • Publishing Windows Phone applications
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)


Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.

Download (sofort verfügbar)

35,85 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung dieser Web-Seiten erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok