Learning Xamarin Studio

Author: William Smith  

Publisher: Packt Publishing‎

Publication year: 2014

E-ISBN: 9781783550821

P-ISBN(Paperback): 9781783550814

Subject: TP312 程序语言、算法语言

Keyword: 程序语言、算法语言

Language: ENG

Access to resources Favorite

Disclaimer: Any content in publications that violate the sovereignty, the constitution or regulations of the PRC is not accepted or approved by CNPIEC.

Chapter

Chapter 1: Installing and Setting Up Xamarin Studio

Xamarin Studio pricing plans

Starter

Indie

Business

Enterprise

Understanding the pricing structure

An example company

Xamarin Studio platform options

Xamarin.Android

Xamarin.iOS

Xamarin.Mac

Installing development components

Installing Xcode and the iOS SDK

Installing Xcode from the App Store

Installing Xcode manually

Finishing the Xcode installation

Installing Xamarin Studio

Apple Developer Program

Google Play Developer Program

Setting up simulators and emulators

iOS simulators

Android emulators

Creating a Nexus 7 AVD using the AVD Manager

Creating a Samsung Galaxy S4 AVD using the SDK and AVD Manager

Improving AVD performance

Intel x86 Atom System Image

Hardware Acceleration Execution Manager

Run from Snapshot

Third-party AVD options

Setting up test devices

Setting up iOS devices

Obtaining a development certificate

Provisioning your devices

Setting up Android devices

Enabling debugging on your device

Installing USB drivers and connecting your device

Setting up source control

Additional resources for cross-platform developers

Xamarin resources

Third-party resources

Summary

Chapter 2: Learning and Customizing the XS Environment

The Xamarin Studio IDE

Creating your first iOS application

Creating your first Android application

The Solution pad

Design pads

Information pads

Application, File, and Edit menus

View and Search menus

The Project menu

Build and Run menus

The Version Control menu

Tools, Window, and Help menus

Solution Options

The General group

The Build and Run groups

The Source Code group

The Version Control group

Project Options

The General group

The Build group

iOS-specific panes

Android-specific panes

The Run group

Source Code and Version Control groups

Environment preferences

Environment

Projects

Text Editor

Source Code, Version Control, Other, and Packages groups

Summary

Chapter 3: Working with Xcode and the Android SDK

Introduction to Xcode

Toolbar

The navigator area

The utility area

The debug area

The editor area

Outlets and Actions

Outlets

Actions

Adding Outlets and Actions

Adding a ViewController to our project

How it works

XIB, NIB, DESIGNER, and STORYBOARD files

Xamarin Studio Designer for iOS

Creating a storyboard in Xamarin Studio

How it works

Android SDK Manager

Android Layouts

Xamarin Studio Designer for Android

Creating a Layout in Xamarin Studio

How it works

Summary

Chapter 4: Plugins, Templates, Libraries, and Files

Installing the Visual Studio plugin

Configuring your Mac

Configuring your Windows machine

Configuring a Windows VM within Mac

Final installation steps

Configuring the Visual Studio toolbar

Creating an iPhone application in Visual Studio

How it works

Project templates

iOS project templates

Android project templates

Mac and Mac (open source) project templates

Libraries

Portable Class Library

Binding Project

iOS Binding Project

Java Bindings Library

Files

Summary

Chapter 5: Working with Xamarin.Forms

Requirements for using Xamarin.Forms

The Xamarin.Forms project templates

The components of Xamarin.Forms

Data binding

Components

Navigation

The API design

How it works

The XAML design

How it works

Summary

Chapter 6: Application Lifecycle

The iOS application lifecycle

The AppDelegate class

UIViewController lifecycle methods

Examining iOS lifecycles

Examining the application lifecycle

The Android application lifecycle

Application lifecycle

Activity lifecycle methods

Configuration changes

Examining application states

Examining the Activity lifecycle

The background state

Summary

Chapter 7: Testing and Debugging

The Xamarin debugger

Unit tests

Touch.Unit and Andr.Unit

Creating a unit test project

Running the tests

How it works

Simulators

Testing in an iOS simulator

Running the tests

How it works

Testing in an Android emulator

Running the tests

How it works

Device testing

Testing on an iOS device

Testing on an Android device

TestFlight

Setting up a TestFlight account

Instruments

Device Monitor

Logs

Other testing considerations

Summary

Chapter 8: Deployment

Deploying iOS applications

Distribution provisioning profile

Generating a production certificate signing request

Submitting a production certificate signing request

Creating the App ID

Creating and installing the distribution profile

Build configuration

Bundle signing

Publishing your application

Setting up an iTunes Connect account

Creating the application page

Uploading the binary

Deploying Mac applications

Installing Developer Certificates

Registering a Mac App ID

Creating a Mac App Development certificate

Creating Mac App Store Certificates

Creating a Developer ID Certificate

Registering the Mac OS X development machine

Creating the development provisioning profiles

Creating the production provisioning profiles

Setting the app configuration

Signing your application for direct deployment

Build for direct deployment

Signing your application for deployment to the Mac App Store

Build for Mac App Store deployment

Deploying to the Mac App Store

Deploying Android applications

Preparing your application for release compile

Creating a private keystore

Signing the APK

Publishing to the Google Play Store

Summary

Appendix: Images and Graphics Tables

iOS application icons

iOS 3.5-inch Retina display screenshots

iOS 4-inch Retina display screenshots

iOS iPad screenshots

Mac OS X app screenshots

Android application icons

Android screenshots

Index

The users who browse this book also browse


No browse record.