Cover by Srirangan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Developing an Android application

In the preceding recipe, we covered the basics of setting up the Maven Android development environment. Now that we're ready, we'll proceed to the actual development of an Android application with Maven.

Getting ready

If you haven't set up the Maven Android development environment, you need to do it before you can continue with this recipe. Refer to the previous recipe for guidance.

How to do it...

You can set up your Maven Android application project by either directly configuring the project pom.xml file or by running the Maven archetype:generate command. Steps for both the methods are as follows:

The first step is to create a Maven project with the POM file, as shown in the following code:

<?xml version="1.0" encoding="UTF-8"?> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required