Xamarin 4.x Cross-Platform Application Development - Third Edition
图书信息
| 作者 | Jonathan Peppers |
| 出版社 | Packt Publishing |
| ISBN | 9781786469915 |
| 出版时间 | 2016-12-01 |
| 字数 | 57.9万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
Develop powerful cross-platform applications with Xamarin About This Book Write native cross-platform applications with Xamarin Design user interfaces that can be shared across Android, iOS, and Windows Phone using Xamarin.Forms Practical cross-platform development strategies Who This Book Is For If you are a developer with experience in C# and are just getting into mobile development, this is the book for you. This book will give you a head start with cross-platform development and will be the most useful to developers who have experience with desktop applications or the web. What You Will Learn Apple’s MVC design pattern The Android activity lifecycle Share C# code across platforms and call native Objective-C or Java libraries from C# Create a real web service back end in Windows Azure using SQL Azure as database storage Set up third-party libraries such as NuGet and Objective Sharpie in many different ways, and port a desktop .NET library to Xamarin Use Xamarin.Mobile for camera, contacts, and location In Detail Xamarin is a leading cross-platform application development tool used by top companies such as Coca-Cola, Honeywell, and Alaska Airlines to build apps. Version 4 features significant updates to the platform including the release of Xamarin.Forms 2.0 and improvements have been made to the iOS and Android designers. Xamarin was acquired by Microsoft so it is now a part of the Visual Studio family. This book will show you how to build applications for iOS, Android, and Windows. You will be walked through the process of creating an application that comes complete with a back-end web service and native features such as GPS location, camera, push notifications, and other core features. Additionally, you’ll learn how to use external libraries with Xamarin and Xamarin.Forms to create user interfaces. This book also provides instructions for Visual Studio and Windows. This edition has been updated with new screenshots and detailed steps to provide you with a holistic overview of the new features in Xamarin 4. Style and approach This book offers a tutorial style approach to teach you the skills required to develop end-to-end cross-platform solutions with Xamarin.
目录
Xamarin 4.x Cross-Platform Application Development - Third Edition
Xamarin 4.x Cross-Platform Application Development - Third Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
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. Xamarin Setup
Understanding Xamarin
Installing Xcode
Installing Xamarin on Mac OS X
Setting up the Android emulator
Installing Xamarin on Windows
Connecting Visual Studio to a Mac for iOS development
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
Understanding Android activities
Xamarin's Android designer
Summary
3. Code Sharing Between iOS and Android
Learning the MVVM design pattern
Comparing project organization strategies
Setting up a shared project
Working with portable class libraries
Using preprocessor statements
Simplifying dependency injection
Implementing Inversion of Control
Summary
4. XamSnap - 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. XamSnap for iOS
Understanding the basics of an iOS app
Xamarin.iOS Build Options
Using UINavigationController
Implementing the login screen
Using segues for navigation
Setting up UITableView
Adding a friends list screen
Adding a list of messages
Composing messages
Summary
6. XamSnap for Android
Introducing the Android Manifest
Setting up Material Design
Adding a login screen
Using ListView and BaseAdapter
Implementing the friends list
Composing messages
Summary
7. Deploying and Testing on Devices
iOS provisioning
Android device settings
Understanding the linker
Understanding AOT compilation
Avoiding common memory pitfalls
Summary
8. 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
9. Web Services with Push Notifications
Learning Windows Azure
Setting up your Azure account
Exploring Azure Functions
Creating and calling Azure Functions
Using HttpClient in C#
Adding more Azure Functions
Using the Apple Push Notification service
Setting up your provision profile
Setting up a certificate for push notifications
Making client-side changes for push notifications
Sending push notifications from the server-side
Implementing Google Cloud Messaging
Summary
10. Third-Party Libraries
The Xamarin Component Store
Porting existing C# libraries
Objective-C bindings
Java bindings
Using XPath in Java bindings
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
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 for building a successful mobile app
Summary
- 经济数学-微积分习题解答(安徽财经大学大学数学教学研究中心)
- 难惹(第2卷)(梦萌)
- 新手学Dreamweaver CS6+Flash CS6+Photoshop CS6网页设计(实例版)(全彩)(含DVD光盘1张)(鼎翰文化)
- 爱情下一秒(沈星妤)
- 软装设计师手册(简明敏)
- 图说天下学生版 超级兵器传奇 世界王牌武器陆海空大阅兵(套装共3册)(试读本)(薛金冉 编著)
- AutoCAD 2018中文版完全自学手册(龙马高新教育 策划 教传艳)
- RNA时代:*解密RNA分子如何创造生命的新奇迹([美]托马斯·R·切赫)
