From the course: Building Android Apps with Azure

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Add manifest changes

Add manifest changes

- [Instructor] Now that we have created our activity and our layout XML, let's also add an implementation of the application class for our app module. We can do that by going right mouse on our package, and selecting new, Java class, and the name of our application class will be BookmarkApp. Apparent class will be application. Now everything is filled out, let's select okay. So I originally identified application as our parent class, but what I actually want to do is make azure services lib our parent class. So let's extend azure services lib. Now let's add a private static member. And the type will be BookmarkApp, and the name will be bookmarkApp. Now I'm going to press Control + O. I'm going to add an override method onCreate. And let's go to line 10, I'm going to insert a new line, and I'm going to add bookmarkApp = this. This will initialize our bookmarkApp instance. Now let's go into line 7, I'm gonna insert a new line. On line 8, let's add a public static method. Type will be…

Contents