Knowledgebase

Android Application Structure Print

  • mobiledevelopment, mobile, themes, woocommerce, permissions, guide, howto, solution
  • 0

How an Android application is organised.

WHAT THE MANIFEST DECLARES

The application's components Permissions required Minimum and target platform versions Hardware and software requirements

WHY IT MATTERS

The store uses it to determine which devices can install your application.

WHAT AN ACTIVITY IS

A single screen with an interface.

WHAT A FRAGMENT IS

A reusable portion of an interface within an activity.

WHAT A SERVICE IS

A component performing work without an interface.

WHAT A BROADCAST RECEIVER IS

A component responding to system or application events.

WHAT A CONTENT PROVIDER IS

A component sharing data with other applications.

WHAT RESOURCES ARE

Layouts, images, strings, colours and dimensions, kept separate from code.

WHY SEPARATE

So alternatives can be provided per screen size, language, orientation and theme.

WHAT THAT ENABLES

Translation, and adaptation, without changing code.

WHAT TO PUT IN STRING RESOURCES

Every piece of text shown to users.

WHY

Text hard-coded in layouts or code cannot be translated.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot