售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜