Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Application Development with Maven

You're reading from   Android Application Development with Maven Learn how to use and configure Maven to support all phases of the development of an Android application

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781783986101
Length 192 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Reminders about Android projects

Before diving deeper into the subject, let's review some concepts and rules related to Android.

At first glance, an Android project looks like any other Java project. Yet, some differences are fundamental.

An Android project is made of sources (Java, XML, and property files) and code that is generated by the system. All of these are compiled into bytecode and compressed as an Android PacKage (APK) file. Some Android projects also can produce AAR files but we will have the chance to learn more about this in a following chapter.

Let's open the Android project we have created in the previous chapter, using an artifact. As seen, the hierarchy of folders and files is as following:

  • assets/: This will be reviewed later.
  • res/: This is a set of resources.
    • res/drawable-*pi/*.png: Due to the strong fractionation of Android system, and the high variety of devices, resources such as pictures, fonts, and so on have to be taken into account while releasing. Unless...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image