Advanced Android
Advanced Android

Advanced Android

Below you can read a couple of paragraphs and technical vocabulary about advanced Android development.

Android Manifest Files

The basis of any Android applications is the manifest file: AndroidManifest.xml. This is located in the src/main/ directory of your applicationś module (the main set of code and other elements). This is where we declare what is inside our application: activities, services, etc. It also indicates how these pieces are connected and interact with the android system in general; for example, it indicates what activity (or activities) should appear on the main menu of the device.

When we create an application, we get a self-generated launch manifest. For a simple app, offering a single activity and nothing else, the self-generated manifest will probably work just fine, or perhaps require some minor modifications. At the other end of the spectrum, the manifest file for the Android API demo suite is over 1,000 lines long. An Android application in production will probably fall somewhere in between.

Activity Classes in Android

The Activity class is a crucial component of any Android application, and the way activities are started and grouped is a fundamental part of the platform application model. Unlike programming paradigms in which applications are started with a main() method, the Android system stars the code in an instance of an activity invoking certain callback methods that correspond to specific stages of the activity lifecycle such as onCreate(), onPause() or onDestroy().

The mobile app experience differs from its desktop counterpart in that user interaction with the app does not always start at the same place. Instead, the user’s journey through applications often begins in a non-deterministic way. For example, if we open an email application from the start interface, we might see an email list. Conversely, if we are opening an email notification it will take us directly to a specific email. Or via an intent we could have a social media application request the email application to open and compose an email to a determined address.

Read full post on my blog...

Read more about Technology on my blog. Click here!


Vocabulary

Manifest

A manifest is a file which provides essential information about the application to the Android build tools, the Android operating system and Google Play.

Activity

An activity is an application component that interacts with the user and is often presented as a full-screen window.

Service

A service is an application component that does not provide a user interface and is intended to perform operations in the background. A service can continue executing for some time after it is started.

Notification

A notification is an application component that consists of a message that Android display outside the user interface of the application. For example, the user can get email notifications, calendar reminders or other information from an application.

Intent

Intent is an application component that uses a messaging object to request an action from another app component (such as activities, content providers, and services). They are also used to transfer data between activities. That is, they facilitate communication between components or the app.

Content provider

A content provider is an application component that manages the access to a set of data, providing mechanisms for defining data security and supplying data from one application to another on request.

Fragment

A fragment is a modular section of an activity that represents a behavior or a portion of user interface. Multiple fragments can be combined into a single activity and also reuse a fragment in multiple activities.

View

A view is the basic block for user interface components. It is the base to create interactive components such as buttons, text field, etc.

Read more about Information Technology, Data Science, and Project Management on my blog.

Read more about Data Science on my blog. Click here!
Read more about Project Management on my blog. Click here!
Read more about Technology on my blog. Click here!

To view or add a comment, sign in

More articles by Hector Chocobar-Torrejon

  • Python

    Python

    Python is a popular programming language. It is used for: web development (server-side), software development…

  • Information Security

    Information Security

    Information security is the application of security controls to protect information and information systems from…

  • IT Service Management

    IT Service Management

    IT service management are the activities that are performed by an organization to design, build, deliver, operate and…

  • The Internet

    The Internet

    The internet is a collection of networks around the world that share resources. The Bones of the Internet The TCP/IP…

  • The Computer

    The Computer

    A computer is a digital electronic machine that can be programmed to carry out sequences of arithmetic or logical…

  • Introduction to iOS programming

    Introduction to iOS programming

    This post is an introduction to iOS development and will focus on the technologies provided and supported by Apple. The…

  • JavaScript

    JavaScript

    JavaScript is a lightweight, interpreted, multi-paradigm programming language with object-oriented capabilities…

  • Bluetooth

    Bluetooth

    Bluetooth is a standard technology which provides wireless communication, using radio frequencies, between computer…

  • Virtualization

    Virtualization

    Virtualization technologies was developed in the 1960s. It wasn’t widely adopted until the early 2000s.

  • IT Project Management

    IT Project Management

    IT project management is the application of knowledge, skills, tools, and techniques to complete a information…

Insights from the community

Others also viewed

Explore topics