O'Reilly logo

Android Application Development with Maven by Patroklos Papapetrou, Jonathan LALOU

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

Architecture principles

Now that we are able to build and deploy on an AVD, let's resume the development phase itself.

Standalone application

In "simple cases", the Android application has no contact with any other tier. The application is self-dependent. Therefore, the principles of architecture common to any other standalone application apply.

The application has to be divided based on functional criteria, for instance: domain or model, Data Access Object (DAO), service, and view. In Android terminology, views are activities. A graph of direct dependencies is shown in the following image:

Standalone application

In other terms, the view may have direct access to the services, ...

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