Home Page Icon
Home Page
Table of Contents for
Table of Contents
Close
Table of Contents
by Jonathan Peppers
Xamarin Cross-platform Application Development - Second Edition
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
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Setting Up Xamarin
The Xamarin tools
Installing Xamarin
Choosing a Xamarin license
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
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
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
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset