Book Image

Mobile DevOps

By : Rohin Tak, Jhalak Modi
Book Image

Mobile DevOps

By: Rohin Tak, Jhalak Modi

Overview of this book

Today'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.
Table of Contents (13 chapters)

Case study 2 - ButtonWidget

In this case study, we'll be creating a new Android application that will have a button which that show a new text view when clicked. We'll also be writing UITest for this application:

  1. Create a new blank Android application project in Visual Studio, name it ButtonWidget, and click OK:
  1. After creating the project, open the Main.axml file from Resources | Layout in Solution Explorer.
  2. Then, add a text view and a button to the view from the Toolbox on the left.
  3. Give each of these IDs to identify them in the code. You can select them, then show the property window, and give them IDs there:
  1. Also, set the visibility of the text view to hidden, because we'll be showing this text only on a button-click:
  1. Now, open the MainActivity.cs file from Solution Explorer:
  1. In MainActivtiy.cs, add code to show the text view when the button is clicked...