Xamarin Cross-platform Application Development - Second Edition

 
 
Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 27. Februar 2015
  • |
  • 298 Seiten
 
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78439-957-3 (ISBN)
 
Developing a mobile application for just one platform is becoming a thing of the past. Companies expect their apps to be supported on both iOS and Android, while leveraging the best native features on both. Xamarin's tools help ease this problem by giving developers a single toolset to target both platforms.This book is a step-by-step guide to building real-world applications for iOS and Android. The book walks you through building a chat application, complete with a backend web service and native features such as GPS location, camera, and push notifications. Additionally, you'll learn how to use external libraries with Xamarin and Xamarin.Forms to create shared user interfaces and make app-store-ready applications. This second edition has been updated with new screenshots and detailed steps to provide you with a holistic overview of the new features incorporated in Xamarin 3. By the end of the book, you will have gained expertise to build on the concepts learned and effectively develop a market-ready cross-platform application.
  • Englisch
  • Olton Birmingham
  • Überarbeitete Ausgabe
978-1-78439-957-3 (9781784399573)
1784399574 (1784399574)
weitere Ausgaben werden ermittelt
Jonathan Peppers is a Xamarin MVP and the lead developer of the popular apps and games at Hitcents, such as Hanx Writer and Draw a Stickman: EPIC. He has been working with the C# programming language for over 8 years. He is also quite familiar with other technologies, such as WinForms, WPF, Unity, ASP.Net WebForms, ASP.Net MVC, and Windows Azure. In recent years, Hitcents has been heavily investing in mobile development with Xamarin and has developed over 50 mobile applications with Xamarin across multiple platforms.
  • Xamarin Cross-platform Application Development Second Edition
  • Table of Contents
  • Xamarin Cross-platform Application Development Second Edition
  • 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
  • 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
  • Downloading the color images of this book
  • Errata
  • Piracy
  • Questions
  • 1. Setting Up Xamarin
  • The Xamarin tools
  • Installing Xcode
  • Installing Xamarin
  • Choosing a Xamarin license
  • Setting up the Android emulator
  • Enrolling in the iOS Developer Program
  • Registering as a Google Play developer
  • Summary
  • 2. Hello, Platforms!
  • Building your first iOS application
  • Understanding Apple's MVC pattern
  • Using the iOS designer
  • Building your first Android application
  • Android activities
  • Xamarin's Android designer
  • Summary
  • 3. Code Sharing between iOS and Android
  • Learning the MVVM design pattern
  • Implementing MVVM in an example
  • Comparing project organization strategies
  • Setting up a cross-platform solution
  • Working with Portable Class Libraries
  • Using PCLs in Xamarin
  • Using preprocessor statements
  • Simplifying dependency injection
  • Implementing Inversion of Control
  • Summary
  • 4. XamChat - a Cross-platform App
  • Starting our sample application concept
  • Developing our Model layer
  • Writing a mock web service
  • Writing the ViewModel layer
  • Implementing our LoginViewModel class
  • Implementing our RegisterViewModel class
  • Implementing our FriendViewModel class
  • Implementing our MessageViewModel class
  • Writing unit tests
  • Setting up a new project for unit tests
  • Writing assertions
  • Summary
  • 5. XamChat for iOS
  • Understanding the basics of an iOS app
  • Using UINavigationController
  • Methods in Navigation Controllers
  • Setting up a Navigation Controller
  • Implementing the login screen
  • Creating a LoginController class
  • Modifying the controller's layout
  • Registering and subscribing view models and services
  • Using segues and UITableView
  • Adding a friends list screen
  • Adding a list of messages
  • Composing messages
  • Summary
  • 6. XamChat for Android
  • Introducing Android Manifest
  • Setting up the Manifest
  • Common manifest permissions
  • Creating and implementing the application class
  • Adding a login screen
  • Layouts and ViewGroups in Andorid
  • Implementing the login functionality
  • Using ListView and BaseAdapter
  • Implementing the conversations screen
  • Setting up the adapter
  • Implementing the friends list
  • Composing messages
  • Summary
  • 7. Deploying and Testing on Devices
  • iOS provisioning
  • Prerequisites for deploying to iOS
  • Creating a provisioning profile
  • Android device settings
  • Understanding the linker
  • Understanding AOT compilation
  • Avoiding common memory pitfalls
  • Garbage collector
  • Memory leaks
  • Accessing objects disposed by GC
  • Summary
  • 8. Web Services with Push Notifications
  • Learning Windows Azure
  • Setting up your Azure account
  • Exploring Azure Mobile Services
  • Creating tables and scripts
  • Adding a backend to XamChat
  • Adding the Azure Mobile Services NuGet package
  • Using the Apple Push Notification service
  • Setting up proper provisioning
  • Setting up your provisioning profile
  • Setting up a certificate signing request
  • Making client-side changes for push notifications
  • Implementing Google Cloud Messaging
  • Summary
  • 9. Third-party Libraries
  • The Xamarin Component Store
  • The most common components
  • Porting existing C# libraries
  • Objective-C bindings
  • Working with Objective Sharpie
  • Java bindings
  • Summary
  • 10. Contacts, Camera, and Location
  • Introducing Xamarin.Mobile
  • Accessing contacts
  • Retrieving contacts on Android
  • Looking up GPS location
  • Implementing GPS location on Android
  • Accessing the photo library and camera
  • Accessing photos on Android
  • Summary
  • 11. Xamarin.Forms
  • Creating Hello World in Xamarin.Forms
  • Understanding the architecture behind Xamarin.Forms
  • Using XAML in Xamarin.Forms
  • Using data binding and MVVM
  • Summary
  • 12. App Store Submission
  • Following the iOS App Store Review Guidelines
  • General rules
  • Incorrect and incomplete information
  • Content present in the application
  • Apple's 70/30 revenue share
  • General Tips
  • Submitting an app to the iOS App Store
  • Creating a distribution provisioning profile
  • Adding your app to iTunes Connect
  • Making an iOS binary for the App Store
  • Signing your Android applications
  • Submitting the app to Google Play
  • Google Play Developer Program Policies
  • Tips to make a successful mobile app
  • Summary
  • Index

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

Systemvoraussetzungen:

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)

26,49 €
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