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
978-1-78588-185-5 (9781785881855)
178588185x (178588185x)
weitere Ausgaben werden ermittelt
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewer
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: One Ring to Rule them All
  • Chapter 2: Declare Once, Visualize Everywhere
  • Chapter 3: Native Platform-Specific Views and Behavior
  • Chapter 4: Different Cars, Same Engine
  • Chapter 5: Dude, Where's my Data?
  • Chapter 6: One for All and All for One
  • Chapter 7: Bind to the Data
  • Chapter 8: A List to View
  • Chapter 9: Gestures and Animations
  • Chapter 10: Test Your Applications, You Must
  • Chapter 11: Three, Two ,One - Launch and Monitor
  • Index
  • Introduction
  • Creating a cross-platform solution
  • Creating a cross-platform login screen
  • Using common platform features
  • Authenticating with Facebook and Google providers
  • 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
  • Introduction
  • Showing native pages with renderers
  • Attaching platform-specific gestures
  • Taking an in-app photo with the native camera page
  • 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
  • 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
  • Introduction
  • Creating cross-platform plugins
  • Taking or choosing photos
  • Getting the GPS location
  • Show and schedule local notifications
  • Introduction
  • Binding data in code
  • Binding data in XAML
  • Configuring two-way data binding
  • Using value converters
  • Introduction
  • Displaying a collection and selecting a row
  • Adding, removing, and refreshing items
  • Customizing the row template
  • Adding grouping and a jump index list
  • Introduction
  • Adding gesture recognizers in XAML
  • Handling gestures with native platform renderers
  • Adding cross-platform animations
  • 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
  • Introduction
  • Using Xamarin Insights
  • Publishing iOS applications
  • Publishing Android applications
  • Publishing Windows Phone applications

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 des WebShops erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok