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)

Activity class

The Activity class contains the code that controls the user interface. The Activity class is basically responsible for creating the UI and handling user interactions such as button clicks or touches.

Now, let's take an example of our PhoneCallApp application. We have only one Activity in our project, and that is the MainActivity.cs class. It is the main entry point for the OS into this application, since we have set it as MainLauncher:

If we look closely, the MainActivity class inherits the Activity class, that is, it is a child of the Activity class. That means now MainActivity is also an Activity.

Also, it is important to note that we have an Activity attribute defined above the MainActivity class, which specifies the Label and the MainLaucher property as well. This attribute tells Android that the MainActivity class is part of the application and is managed...