Android Framework

In AndroidPub. More on Medium.

AOSP System Services

A Service is an application component that can perform long-running operations in the background and does not provide a user interface. Another application component can start a service and it will continue to run in the background even if the user switches to another application. Additionally, a component can bind to a service to interact with it and even perform interprocess communication (IPC). For example, a service might handle network transactions, play music, perform file I/O, or interact with a content provider, all from the background.

Most confusion about the Service class actually revolves around what it is not:

  • A…


Android Manifest

Generally, the beginner of Android App developer forgets to pay much attention to AndroidManifest.xml in Android App development. The importance of the Manifest file in Android App Development is huge. So today I am going to put some light on it.

The manifest file is the foundation for any Android application. Every application must have an AndroidManifest.xml(exact like here given name) file in its root directory. The manifest presents essential information about the application to the Android system, information the system must have before it can run any of the application’s code. …


ADB or Android Debug Bridge is a term that you’ve come across quite often. Every time you connect your device to your computer via cable, or if you browse around the ‘Developer Options,’ you will come across the term Android Debug Bridge or ADB for short, but what does it mean? And what is its purpose? It is a versatile tool that helps your Android device function as it is, so let us tell you more about ADB.

The Android Debug Bridge (ADB) is used to:-

  • keep track of all Android devices and emulators instances connected to or running on…


Android’s underlying kernel is based on Linux, but it has been customized to suit Google’s directions. There is no support for the GNU libraries and it does not have a native X Windows system. Inside the Linux kernel are found drivers for the display, camera, flash memory, keypad, WiFi and audio. The Linux kernel serves as an abstraction between the hardware and the rest of the software on the phone. It also takes care of core system services like security, memory management, process management, and the network stack.

Installing apps on your Android device is an absolute breeze. Just search…


After successfully download AOSP source code(To download AOSP code follow this link below link )

https://medium.com/@budhdisharma/android-aosp-source-code-download-and-build-92843c782df5)

Step to compile/create System image after AOSP source code download

  1. After successful download of AOSP code, First, check your JDK installation
    For android AOSP source code compilation, we need OpenJDK
    For Android N we need OpenJDK version “1.8.0_xxxx” and for L or M we need
    OpenJDK version “1.7.0_xxx”
  2. Installing required packages (Ubuntu 14.04)
    You will need a 64-bit version of Ubuntu. Ubuntu 14.04 is recommended.

sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \ lib32ncurses5-dev x11proto-core-dev…


android booting

When switching off the power of the Android device and switch on it again, this process is known as the Android Booting sequence.

AndroidPub

The (retired) Pub(lication) for Android & Tech, focused on Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store