Xamarin in Action


Book Description

Summary Xamarin in Action teaches you to build cross-platform mobile apps using Xamarin and C#. You'll explore all the layers of a Xamarin app, from design to deployment. By the end, you'll be able to build a quality, production-ready Xamarin app on iOS and Android from scratch with a high level of code reuse. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Rewriting the same app for iOS and Android is tedious, error-prone, and expensive. Microsoft's Xamarin drastically reduces dev time by reusing most application code—typically 70% or more. The core of your iOS and Android app is shared; you write platform-specific code only for the UI layer. And because Xamarin uses C#, your apps benefit from everything this modern language and the .NET ecosystem have to offer. About the Book Xamarin in Action teaches you to build cross-platform mobile apps using Xamarin and C#. You'll explore all the layers of a Xamarin app, from design to deployment. Xamarin expert Jim Bennett teaches you design practices that maximize code reuse and isolate device-specific code, making it a snap to incorporate the unique features of each OS. What's Inside Understanding MVVM to maximize code reuse and testability Creating cross-platform model and UI logic layers Building device-specific UIs Unit and automated UI testing Preparing apps for publication with user tracking and crash analytics About the Reader Readers should have some experience with C#. Mobile development experience is helpful, but not assumed. About the Author Jim Bennett is a Xamarin MYP, Microsoft MVP, and Senior Cloud Developer Advocate at Microsoft, specializing in Xamarin mobile apps. He's a frequent speaker at events all around the world, including Xamarin user groups and Xamarin and Microsoft conferences. He regularly blogs about Xamarin development at https://jimbobbennett.io. Table of Contents PART 1 - GETTING STARTED WITH XAMARIN Introducing native cross-platform applications with Xamarin Hello MVVM—creating a simple cross-platform app using MVVM MVVM—the model-view–view model design pattern Hello again, MVVM—understanding and enhancing our simple MVVM app What are we (a)waiting for? An introduction to multithreading for Xamarin apps PART 2 - BUILDING APPS Designing MVVM cross-platform apps Building cross-platform models Building cross-platform view models Building simple Android views Building more advanced Android views Building simple iOS views Building more advanced iOS views PART 3 - FROM WORKING CODE TO THE STORE Running mobile apps on physical devices Testing mobile apps using Xamarin UITest Using App Center to build, test, and monitor apps Deploying apps to beta testers and the stores




Creating Mobile Apps with Xamarin.Forms Preview Edition 2


Book Description

This second Preview Edition ebook, now with 16 chapters, is about writing applications for Xamarin.Forms, the new mobile development platform for iOS, Android, and Windows phones unveiled by Xamarin in May 2014. Xamarin.Forms lets you write shared user-interface code in C# and XAML that maps to native controls on these three platforms.




Building Xamarin.Forms Mobile Apps Using XAML


Book Description

Leverage Xamarin.Forms to build iOS and Android apps using a single, cross-platform approach. This book is the XAML companion to the C# guide Xamarin Mobile Application Development. You'll begin with an overview of Xamarin.Forms, then move on to an in-depth XAML (eXtensible Application Markup Language) primer covering syntax, namespaces, markup extensions, constructors, and the XAML standard. XAML gives us both the power of decoupled UI development and the direct use of Xamarin.Forms elements. This book explores the core of the Xamarin.Forms mobile app UI: using layouts and FlexLayouts to position controls and views to design and build screens, formatting your UI using resource dictionaries, styles, themes and CSS, then coding user interactions with behaviors, commands, and triggers. You'll see how to use XAML to build sophisticated, robust cross-platform mobile apps and help your user get around your app using Xamarin.Forms navigation patterns. Building Xamarin.Forms Mobile Apps Using XAML explains how to bind UI to data models using data binding and using the MVVM pattern, and how to customize UI elements for each platform using industry-standard menus, effects, custom renderers, and native view declaration. What You Will Learn Create world-class mobile apps for iOS and Android using C# and XAMLBuild a XAML UI decoupled from the C# code behind Design UI layouts such as FrameLayout, controls, lists, and navigation patterns Style your app using resource dictionaries, styles, themes, and CSS Customize controls to have platform-specific features using effects, custom renderers, and native views Who This Book Is For XAML and C# developers, architects, and technical managers as well as many Android and iOS developers




Mobile Development with .NET


Book Description

A mobile applications development masterclass for .NET and C# developers Key FeaturesUncover the new features and capabilities of the .NET 5 framework in this updated and improved second editionOptimize the time required to develop highly performant cross-platform applicationsUnderstand the architectural patterns and best practices for mobile application developmentBook Description Are you a .NET developer who wishes to develop mobile solutions without delving into the complexities of a mobile development platform? If so, this book is a perfect solution to help you build professional mobile apps without leaving the .NET ecosystem. Mobile Development with .NET will show you how to design, architect, and develop robust mobile applications for multiple platforms, including iOS, Android, and UWP using Xamarin, .NET Core, and Azure. With the help of real-world scenarios, you'll explore different phases of application development using Xamarin, from environment setup, design, and architecture to publishing. Throughout the book, you'll learn how to develop mobile apps using Xamarin and .NET Standard. You'll even be able to implement a web-based backend composed of microservices with .NET Core using various Azure services including, but not limited to, Azure Active Directory, Azure Functions. As you advance, you'll create data stores using popular database technologies such as Cosmos DB and data models such as the relational model and NoSQL. By the end of this mobile application development book, you'll be able to create cross-platform mobile applications that can be deployed as cloud-based PaaS and SaaS. What you will learnDiscover the latest features of .NET 5 that can be used in mobile application developmentExplore Xamarin.Forms Shell for building cross-platform mobile UIsUnderstand the technical design requirements of a consumer mobile appGet to grips with advanced mobile development concepts such as app data management, push notifications, and graph APIsManage app data with Entity Framework CoreUse Microsoft’s Project Rome for creating cross-device experiences with XamarinBecome well-versed with implementing machine learning in your mobile appsWho this book is for This book is for ASP.NET Core developers who want to get started with mobile development using Xamarin and other Microsoft technologies. Working knowledge of C# programming is necessary to get started.




Xamarin: Cross-Platform Mobile Application Development


Book Description

Master the skills required to develop cross-platform applications from drawing board to app store(s) using Xamarin About This Book Learn to deliver high-performance native apps that leverage platform specific acceleration, complied for native performance Learn development techniques that will allow you to use and create custom layouts for cross-platform UI Gain the knowledge needed to become more efficient in testing, deploying, and monitoring your applications Implement application life cycle management concepts to manage cross-platform projects Who This Book Is For Mobile application developers wanting to develop skills required to steer cross-platform applications using Xamarin. What You Will Learn Share C# code across platforms and call native Objective-C or Java libraries from C# Submit your app to the Apple App Store and Google Play Use the out-of-the-box services to support third-party libraries Find out how to get feedback while your application is used by your users Create shared data access using a local SQLite database and a REST service Test and monitor your applications Gain memory management skills to avoid memory leaks and premature code cycles while decreasing the memory print of your applications Integrate network resources with cross-platform applications Design and implement eye-catching and reusable UI components without compromising on nativity in mobile applications In Detail Developing a mobile application for just one platform is becoming a thing of the past. Companies expect their apps to be supported on iOS, Android and Windows Phone, while leveraging the best native features on all three platforms. Xamarin's tools help ease this problem by giving developers a single toolset to target all three platforms. The main goal of this course is to equip you with knowledge to successfully analyze, develop, and manage Xamarin cross-platform projects using the most efficient, robust, and scalable implementation patterns. Module 1 is a step-by-step guide to building real-world applications for iOS and Android. The module walks you through building a chat application, complete with a backend web service and native features such as GPS location, camera, and push notifications. Additionally, you'll learn how to use external libraries with Xamarin and Xamarin.Forms. Module 2 provide you recipes on how to create an architecture that will be maintainable, extendable, use Xamarin.Forms plugins to boost productivity. We start with a simple creation of a Xamarin.Forms solution, customize the style and behavior of views for each platform. Further on, we demonstrate the power of architecting a cross-platform solution. Next, you will utilize and access hardware features that vary from platform to platform with cross-platform techniques. You will master the steps of getting the app ready and publishing it in the app store. The last module starts with general topics such as memory management, asynchronous programming, local storage, networking, and platform-specific features. You will learn about key tools to leverage the pattern and advanced implementation strategies. Finally, we show you the toolset for application lifecycle management to help you prepare the development pipeline to manage and see cross-platform projects through to public or private release. After the completion of this course, you will learn a path that will get you up and running with developing cross-platform mobile applications and help you become the go-to person when it comes to Xamarin. Style and approach This course will serve as comprehensive guide for developing cross-platform applications with Xamarin with a unique approach that will engage you like never before as you create real-world cross-platform apps on your own.




Xamarin Mobile Application Development


Book Description

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. Learn how to leverage Xamarin.Forms for cross-platform development using the most common UI pages, layouts, views, controls, and design patterns. Combine these with platform-specific UI to craft a visually stunning and highly interactive mobile user experience. Use Xamarin.Forms to data bind your UI to both data models and to view models for a Model-View-ViewModel (MVVM) implementation. Use this book to answer the important question: Is Xamarin.Forms right for my project? Platform-specific UI is a key concept in cross-platform development, and Xamarin.Android and Xamarin.iOS are the foundation of the Xamarin platform. Xamarin Mobile Application Development will cover how to build an Android app using Xamarin.Android and an iOS app using Xamarin.iOS while sharing a core code library. SQLite is the database-of-choice for many Xamarin developers. This book will explain local data access techniques using SQLite.NET and ADO.NET. Build a mobile data access layer (DAL) using SQLite and weigh your options for web services and enterprise cloud data solutions. This book will show how organize your Xamarin code into a professional-grade application architecture. 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. Also included are 250+ screenshots on iOS, Android, and Windows Phone and 200+ C# code examples with downloadable C# and XAML versions available from Apress.com. This comprehensive recipe and reference book 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?




Xamarin.Forms Projects


Book Description

Explore Xamarin.Forms to develop dynamic applications Key FeaturesExplore SQLite through Xamarin to store locations for various location-based applicationsMake a real-time serverless chat service by using Azure SignalR serviceBuild Augmented Reality application with the power of UrhoSharp together with ARKit and ARCore Book Description Xamarin.Forms is a lightweight cross-platform development toolkit for building applications with a rich user interface. In this book you'll start by building projects that explain the Xamarin.Forms ecosystem to get up and running with building cross-platform applications. We'll increase in difficulty throughout the projects, making you learn the nitty-gritty of Xamarin.Forms offerings. You'll gain insights into the architecture, how to arrange your app's design, where to begin developing, what pitfalls exist, and how to avoid them. The book contains seven real-world projects, to get you hands-on with building rich UIs and providing a truly cross-platform experience. It will also guide you on how to set up a machine for Xamarin app development. You'll build a simple to-do application that gets you going, then dive deep into building advanced apps such as messaging platform, games, and machine learning, to build a UI for an augmented reality project. By the end of the book, you'll be confident in building cross-platforms and fitting Xamarin.Forms toolkits in your app development. You'll be able to take the practice you get from this book to build applications that comply with your requirements. What you will learnSet up a machine for Xamarin developmentGet to know about MVVM and data bindings in Xamarin.FormsUnderstand how to use custom renderers to gain platform-specific accessDiscover Geolocation services through Xamarin EssentialsCreate an abstraction of ARKit and ARCore to expose as a single API for the game Learn how to train a model for imageclassification with Azure Cognitive ServicesWho this book is for This book is for mobile application developers who want to start building native mobile apps using the powerful Xamarin.Forms and C#. Working knowledge of C#, .NET, and Visual Studio is required.




Unity in Action


Book Description

Summary Manning's bestselling and highly recommended Unity book has been fully revised! Unity in Action, Second Edition teaches you to write and deploy games with the Unity game development platform. You'll master the Unity toolset from the ground up, adding the skills you need to go from application coder to game developer. Foreword by Jesse Schell, author of The Art of Game Design Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Build your next game without sweating the low-level details. The Unity game development platform handles the heavy lifting, so you can focus on game play, graphics, and user experience. With support for C# programming, a huge ecosystem of production-quality prebuilt assets, and a strong dev community, Unity can get your next great game idea off the drawing board and onto the screen! About the Book Unity in Action, Second Edition teaches you to write and deploy games with Unity. As you explore the many interesting examples, you'll get hands-on practice with Unity's intuitive workflow tools and state-of-the-art rendering engine. This practical guide exposes every aspect of the game dev process, from the initial groundwork to creating custom AI scripts and building easy-to-read UIs. And because you asked for it, this totally revised Second Edition includes a new chapter on building 2D platformers with Unity's expanded 2D toolkit. What's Inside Revised for new best practices, updates, and more! 2D and 3D games Characters that run, jump, and bump into things Connect your games to the internet About the Reader You need to know C# or a similar language. No game development knowledge is assumed. About the Author Joe Hocking is a software engineer and Unity expert specializing in interactive media development. Table of Contents PART 1 - First steps Getting to know Unity Building a demo that puts you in 3D space Adding enemies and projectiles to the 3D game Developing graphics for your game PART 2 - Getting comfortable Building a Memory game using Unity's 2D functionality Creating a basic 2D Platformer Putting a GUI onto a game Creating a third-person 3D game: player movement and animation Adding interactive devices and items within the game PART 3 - Strong finish Connecting your game to the internet Playing audio: sound effects and music Putting the parts together into a complete game Deploying your game to players' devices




Flutter in Action


Book Description

Summary In 2017, consumers downloaded 178 billion apps, and analysts predict growth to 258 billion by 2022. Mobile customers are demanding more—and better—apps, and it’s up to developers like you to write them! Flutter, a revolutionary new cross-platform software development kit created by Google, makes it easier than ever to write secure, high-performance native apps for iOS and Android. Flutter apps are blazingly fast because this open source solution compiles your Dart code to platform-specific programs with no JavaScript bridge! Flutter also supports hot reloading to update changes instantly. And thanks to its built-in widgets and rich motion APIs, Flutter’s apps are not just highly responsive, they’re stunning! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology With Flutter, you can build mobile applications using a single, feature-rich SDK that includes everything from a rendering engine to a testing environment. Flutter compiles programs written in Google’s intuitive Dart language to platform-specific code so your iOS and Android games, utilities, and shopping platforms all run like native Java or Swift apps. About the book Flutter in Action teaches you to build professional-quality mobile applications using the Flutter SDK and the Dart programming language. You’ll begin with a quick tour of Dart essentials and then dive into engaging, well-described techniques for building beautiful user interfaces using Flutter’s huge collection of built-in widgets. The combination of diagrams, code examples, and annotations makes learning a snap. As you go, you’ll appreciate how the author makes easy reading of complex topics like routing, state management, and async programming. What's inside Understanding the Flutter approach to the UI All the Dart you need to get started Creating custom animations Testing and debugging About the reader You’ll need basic web or mobile app development skills. About the author Eric Windmill is a professional Dart developer and a contributor to open-source Flutter projects. His work is featured on the Flutter Showcase page. Table of Contents: PART 1 - MEET FLUTTER 1 ¦ Meet Flutter 2 ¦ A brief intro to Dart 3 ¦ Breaking into Flutter PART 2 - FLUTTER USER INTERACTION, STYLES, AND ANIMATIONS 4 ¦ Flutter UI: Important widgets, themes, and layout 5 ¦ User interaction: Forms and gestures 6 ¦ Pushing pixels: Flutter animations and using the canvas PART 3 - STATE MANAGEMENT AND ASYNCHRONOUS DART 7 ¦ Flutter routing in depth 8 ¦ Flutter state management 9 ¦ Async Dart and Flutter and infinite scrolling PART 4 - BEYOND FOUNDATIONS 10 ¦ Working with data: HTTP, Firestore, and JSON 11 ¦ Testing Flutter apps




.NET MAUI in Action


Book Description

Build cross-platform apps with .NET MAUI! This exciting new technology helps you create mobile and desktop apps using a common set of .NET tools. In .NET MAUI in Action you will learn how to: Set up your environment for cross-platform development Write an interactive UI in XAML using out-of-the-box controls Apply the MVVM pattern to build maintainable code Extend your control library with custom controls Structure your app using common navigation paradigms Use common device features like GPS Use DevOps tools to automate deployment and testing .NET MAUI in Action shows you how you can use the cutting-edge MAUI framework to write apps that will run on Windows, Android, macOS, and iOS platforms using your existing .NET development skills. This book reveals essential MAUI development techniques through hands-on example applications in every chapter. You’ll learn cross-platform development quickly as you start building your own rich apps, from to-do list apps, to a movie recommender app, and eventually a full-stack solution using enterprise architecture patterns. You’ll also learn how to use GitHub Actions to deploy robust, testable, and maintainable apps; and how to deliver a consistent look and feel across platforms. Throughout, you’ll use the built-in controls of .NET MAUI and learn how to develop your own custom solutions. Foreword by Kym Phillpotts. About the technology Write your app once and deploy it on mobile, desktop, web, and cloud with .NET MAUI. This powerful multi-platform App UI framework saves time and money by eliminating tedious platform-specific rewrites. You just define your project in straightforward XAML markup and C#, and MAUI generates the native applications for iOS, Android, Windows, and macOS. About the book .NET MAUI in Action teaches you how to build cross-platform applications using the .NET MAUI framework. You’ll explore compelling examples while you work your way up from “Aloha World” to a full-stack enterprise solution. Along the way, you’ll master the MVVM pattern and other essentials of mobile UI development. This practical book is perfect for .NET developers who have never created mobile apps. What's inside Write interactive UIs in XAML using out-of-the-box controls Extend your control library with custom controls Use common device features like GPS Automate deployment and testing About the reader For experienced .NET developers. No iOS or Android experience required. About the author Matt Goldman is a Solution Architect at SSW, a regular speaker at user groups and conferences, and maintains open source libraries for use in .NET MAUI apps. Table of Contents PART 1 - INTRODUCING .NET MAUI 1 Introducing .NET MAUI 2 Building a .NET MAUI app 3 Making .NET MAUI apps interactive PART 2 - VIEWS, LAYOUTS, AND CONTROLS 4 Controls 5 Layouts 6 Advanced layout concepts 7 Pages and navigation PART 3 - ENTERPRISE DEVELOPMENT PATTERNS AND PRACTICES 8 Enterprise app development 9 The MVVM Pattern 10 Styles, themes, and multiplatform layouts 11 Beyond the basics: Custom controls 12 Deploying apps to production with GitHub Actions