
- 376 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Mobile DevOps
About this book
This step-by-step guide will teach you to continuously improve your mobile application development processAbout This Book• Efficiently deliver continuous integration and deployment within all the stages of your application's lifecycle• Learn to implement mobile DevOps with Xamarin and Visual Studio• Deliver high quality and performing mobile applicationsWho This Book Is ForIf you are a programmer and developer who wants to increase the efficiency and scalability of your mobile application with the implementation of DevOps, then this book is for you. You need basic experience of the application process development.What You Will Learn• Become fluent with the basic components of Mobile Devops• Find out how to use code repositories and install Git on an EC2 server and manage users and groups• Set up an Android device for development and install Visual Studio and Xamarin on Windows• Create an Android project and UI for applications• Add permissions to Android Manifest• Write tests with Xamarin. UI and test using test cloud to check it on multiple devices• Monitor and optimize the application using the Android monitoring tool• Debug the mobile application and improve its efficiency In DetailToday's world is all about perfection, and there are hundreds of applications that are released each day out of which only a few succeed. Making sure that the app looks, performs, and behaves as expected is one of the biggest challenge developers face today.The main goal of this book is to teach developers to implement DevOps to build, test, and deliver. This book will teach you to implement Mobile DevOps at every stage of your application's lifecycle with Visual Studio and Xamarin Mobile Lifecycle solutions. Later, it will also show you how to leverage Mobile Center's continuous integration and automated testing to develop a high-quality applications. Next, you'll see how to mobilize your on-premises data to the cloud and increase your productivity with code reuse. Finally, you'll discover how to find and fix bugs beforehand, improving the efficiency of your application while it is being developed.By the end of this book, you will be well-versed with Mobile DevOps techniques, delivering high quality and high performance mobile apps.Style and approachThis clear, concise, and straightforward book will make you aware of mobile applications by showing you Devops fundamentals such as building, testing, and delivery. This book has been created to help you put new ideas into practice, and demonstrate precisely what's possible with mobile Devops.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Writing Your First Android Application with Xamarin
Create your first Android project
- Click on File | New | Project:

- From the left pane, click on Android and then select Blank App (Android):

- In the Name section, give a name to the project, select a preferred location for your project, and click on the OK button. You'll get the screen shown in the following screenshot:

Xamarin solution structure

- References: This section lists all the required libraries for the project. As we can see in the preceding screenshot, it references Mono.Android, which is the library for Xamarin.Android.
- Resources: It contains all the resources, for example, images, layouts, and much more.
- The MainActivity.cs file has our C# code for handling events and other things in our main screen.
Creating the UI for the application
- Let's expand the Resources folder we saw in the previous screenshot, and then the layout folder in Solution Explorer. Double-click on Main.axml to open it. This is the layout file for the app's screen. By default, it gets opened in Android Designer; you can also click on the Source tab at the bottom to see the XML code for it. This layout file is the main UI file that we'll add our UI controls to, and what we'll see when we run our app once it is finished:


- With the phone text field selected on the design surface, use the Properties pane on the right side to change the id property of the Phone input field to @+id/PhoneNumber, as shown in the following screenshot:

- Drag a Button from Form Widgets in the left pane of the Toolbox to the Designer view of Main.axml:

- Select Button in the Designer, go to the Properties window on the right, scroll down, and change the ID to @+id/CallButton and the text to CALL, as shown in the following screenshot:

Handling user interactions
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Introduction
- Working with Code Repository Systems
- Cross-Platform Mobile App Development with Xamarin
- Writing Your First Android Application with Xamarin
- Implementing Automatic Testing Using Xamarin
- Configuring TeamCity for CI/CD with Xamarin
- CI/CD for Android with Visual Studio Team Services
- Deploying Applications on AWS
- Monitoring and Optimizing Application
- Debugging the Application
- Case Studies
- Other Books You May Enjoy
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app