# Xamarin Mobile Application Development
<img src="https://github.com/danhermes/xamarin-book-examples/blob/master/XamarinBookCover.png" alt="cover" align="right" style="padding-left:5px"> The xamarin-book-examples GitHub project contains the complete code examples for the book entitled <a href="http://www.amazon.com/Xamarin-Mobile-Application-Development-Cross-Platform/dp/1484202155/ref=sr_1_3?ie=UTF8&qid=1428950597&sr=8-3&keywords=xamarin"><i>Xamarin Mobile Application Development</i></a> by Dan Hermes, published by Apress. This book is a four hundred page journey through Xamarin.Forms, Xamarin.iOS, and Xamarin.Android, covering the entire breadth of the Xamarin platform. These 200+ code examples are freely downloadable and include both C# and XAML.
<br/>
<p><q>This weighty book gives clear guidance that will help you build quality apps, starting with architectural considerations, and then jumping into practical code strategies.</q> - Bryan Costanich, Vice President, Xamarin</p>
<br>
Many thanks to Xamarin MVP Jason Awbrey and Alex Blount (now a developer at Xamarin) for their XAML contributions.
Ten thousand thanks to Xamarin MVP Ed Snider for his tech review of much of this code!
The book that goes with this code, Xamarin Mobile Application Development, is <a href="http://www.amazon.com/Xamarin-Mobile-Application-Development-Cross-Platform/dp/1484202155/ref=sr_1_3?ie=UTF8&qid=1428950597&sr=8-3&keywords=xamarin">available at Amazon.com here</a>.
<h2>What's In Here?</h2>
The book covers both Xamarin.Forms and platform-specific techniques using Xamarin.iOS and Xamarin.Android so this code repository contains solutions for all three of those approaches in C# as well as in the equivalent XAML. (Note: In the book itself there is only C#, no XAML.) Chapter 2 starts with an intro example for just Xamarin.Forms, but Chapters 3-6 (the UI chapters) each contain <i>four</i> solution folders:
<ul>
<li>Xamarin.Forms XAML</li>
<li>Xamarin.Forms C#</li>
<li>Xamarin.Android</li>
<li>Xamarin.iOS</li>
</ul>
For example, in chapter 3, the layout chapter, the solution folders look like this:
<ul>
<li>LayoutExample.Xaml <- This solution contains the Xamarin.Forms XAML examples.</li>
<li>LayoutExample <- This solution has the Xamarin.Forms C# examples.</li>
<li>LayoutExampleAndroid <- Here is the Xamarin.Android solution.</li>
<li>LayoutExampleiOS <- And the Xamarin.iOS solution.</li>
</ul>
The first two solutions are for cross-platform Xamarin.Forms apps (Android, iOS, Windows Phone), and the second two solutions contain platform-specific code for Android and iOS only - in every chapter. In other words, whether you're coding Xamarin.Forms C#, Xamarin.Forms XAML, Xamarin.Android, or Xamarin.iOS: <i>it's all here</i>.
<h2>What Are These Chapters About?</h2>
Here is the chapter content: (no code examples in Chapter 1)<br/>
<br/>
<b>Chapter 2 - Building Mobile User Interfaces</b><br/>
A Xamarin.Forms primer and a comparison of Xamarin.Forms vs. Platform-specific approaches such as Xamarin.iOS and Xamarin.Android. Covers Xamarin.Forms Pages, Layouts, and Views.
<br/><br/>
<b>Chapter 3 - UI Design Using Layouts</b><br/>
Layouts help us organize the positioning and formatting of controls, allowing us to structure and design the screens of our mobile app.
<br/><br/>
<b>Chapter 4 - User Interaction Using Controls</b><br/>
Pickers, sliders, switches, and other mobile UI controls facilitate user interaction and data entry that is unique to the mobile user interface and differs from the PC/mouse interface, largely because of the use of gestures.
<br/><br/>
<b>Chapter 5 - Making a Scrollable List</b><br/>
Lists are one of the most powerful methods of data display and selection in mobile apps.
<br/><br/>
<b>Chapter 6 - Navigation </b><br/>
Navigation lets a user traverse an app, move from screen to screen, and access features. Hierarchical, modal, navigation drawers, drill-down lists, and other key patterns make up the core of mobile UI navigation. State management is the handling of data passed between screens as the user navigates through the app.
<br/><br/>
<b>Chapter 7 - Data Access and Data Binding</b><br/>
SQLite is the database of choice for many Xamarin developers. Store and retrieve data locally by using SQLite.NET or ADO.NET. Using Xamarin.Forms data binding, fuse UI elements to your data models. Use the MVVM pattern by binding to a view model.
<br/><br/>
<b>Chapter 8 - Custom Renderers</b><br/>
Extend the stock Xamarin.Forms controls and take advantage of platform-specific UI feature sets while maintaining a cross-platform approach using custom renderers.
<br/><br/>
<b>Chapter 9 - Cross-platform Architecture</b><br/>
Architect your cross-platform application by managing platform-specific code. Project-level options in Xamarin include Portable Class Libraries (PCLs) and shared projects. Cross-platform coding techniques include conditional compilation, dependency injection (DI), and file linking.
<br/><br/>
<h2>What Is the Book About?</h2>
<br/>
Xamarin Mobile Application Development is a hands-on Xamarin.Forms primer and a cross-platform reference for building native Android, iOS, and Windows Phone apps using C# and .NET. This book explains how to use Xamarin.Forms, Xamarin.Android, and Xamarin.iOS to build business apps for your customers and consumer apps for Google Play and the iTunes App Store.
<br/><br/>
Learn how to leverage Xamarin.Forms to optimize cross-platform development using the most common UI pages, layouts, views, controls, and UI patterns. Combine these with platform-specific UI to craft a visually stunning and highly interactive mobile user experience.
<br/><br/>
Explore solution-building techniques from starter-to-enterprise to help you decouple your functional layers, manage your platform-specific code, and share your cross-platform classes for code reuse, testability, and maintainability.
<br/><br/>
This comprehensive recipe and reference book, featuring over 200 C# code examples with downloadable C# and XAML, addresses one of the most important and vexing problems in the software industry today: How do we effectively design and develop cross-platform mobile applications?
<br/><br/>
What you’ll learn:
<ul>
<li>How to build world-class mobile apps for iOS, Android, and Windows Phone using C#</li>
<li>How to organize your Xamarin code into a professional-grade application architecture</li>
<li>The latest Xamarin techniques for cross-platform UI using Xamarin.Forms</li>
<li>When and how to use platform-specific UI</li>
<li>Data binding, local data access, enterprise cloud data solutions, and building a data access layer for mobile apps</li>
<li>Cross-platform architecture and design to maximize portability and code reuse</li>
</ul>
This is book is for C# and ASP.NET developers, architects, and technical managers as well as many Android and iOS developers.
<br/><br/>
The book that goes with this code, <i>Xamarin Mobile Application Development</i>, is <a href="http://www.amazon.com/Xamarin-Mobile-Application-Development-Cross-Platform/dp/1484202155/ref=sr_1_3?ie=UTF8&qid=1428950597&sr=8-3&keywords=xamarin">available at Amazon.com here</a>.
<br/>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Xamarin Mobile Applicaiton Development 配书源码 (1502个子文件)
Selection.axml 1KB
CustomLayout.axml 1KB
PassTo.axml 972B
RelativeLayoutExample.axml 921B
TableLayoutExample.axml 908B
LayoutExample.axml 896B
Modal.axml 877B
Main.axml 866B
GridLayoutSpecifyRowCol.axml 849B
MainToolbar.axml 804B
TableViewExample.axml 800B
MainFragment.axml 716B
SampleFragment.axml 696B
HomeLayout.axml 691B
Picker.axml 689B
FrameLayout.axml 589B
GridLayoutExample.axml 589B
GridLayoutMultiCellView.axml 587B
Drilldown2.axml 543B
Drilldown1.axml 542B
Drilldown3.axml 542B
DateTime.axml 532B
Toolbar.axml 514B
PassFrom.axml 507B
Main.axml 500B
Intent2.axml 483B
IntentNew.axml 482B
PopupLayout.axml 474B
Spinner.axml 438B
TabMain.axml 421B
Intent.axml 419B
Main.axml 415B
Main.axml 415B
Main.axml 415B
Detail.axml 415B
MainToolbarSecond.axml 352B
TabFirst.axml 311B
TabSecond.axml 311B
Fragment2.axml 281B
Fragment1.axml 280B
TextViewForSpinner.axml 249B
packages.config 452B
packages.config 415B
packages.config 368B
packages.config 351B
packages.config 317B
packages.config 268B
packages.config 251B
packages.config 249B
packages.config 249B
packages.config 249B
packages.config 247B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 245B
packages.config 244B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 216B
packages.config 215B
packages.config 212B
packages.config 212B
packages.config 212B
packages.config 199B
packages.config 199B
packages.config 199B
packages.config 194B
packages.config 194B
packages.config 194B
packages.config 194B
packages.config 194B
packages.config 194B
packages.config 194B
packages.config 194B
packages.config 194B
packages.config 149B
packages.config 149B
packages.config 149B
packages.config 149B
packages.config 149B
packages.config 149B
packages.config 149B
共 1502 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
vhion
- 粉丝: 1
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功