NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Introduction to Android Development

What is Android?
Android is an operating system and programming platform developed by Google for mobile phones and other mobile devices, such as tablets. It can run on many different devices from many different manufacturers. Android includes a software development kit (SDK) that helps you write original code and assemble software modules to create apps for Android users. Android also provides a marketplace to distribute apps. All together, Android represents an ecosystem for mobile apps.

Major Android components stack
1. Apps: Your apps live at this level, along with core system apps for email, SMS messaging, calendars, internet browsing, and contacts.
2. Java API framework: All features for Android development, such as UI components, resource management, and lifecycle management, are available through application programming interfaces (APIs). You don't need to know the details of how the APIs work. You only need to learn how to use them.
3. Libraries and Android runtime: Each app runs in its own process, with its own instance of the Android runtime. Android includes a set of core runtime libraries that provide most of the functionality of the Java programming language. Many core Android system components and services are built from native code that require native libraries written in C and C++. These native libraries are available to apps through the Java API framework.
4. Hardware abstraction layer (HAL): This layer provides standard interfaces that expose device hardware capabilities to the higher-level Java API framework. The HAL consists of multiple library modules, each of which implements an interface for a specific type of hardware component, such as the camera or Bluetooth module.
5. Linux kernel: The foundation of the Android platform is the Linux kernel. The layers above the Linux kernel rely on the Linux kernel for threading, low-level memory management, and other underlying functionality. Using a Linux kernel enables Android to take advantage of Linux-based security features and allows device manufacturers to develop hardware drivers for a well-known kernel.

Android Development Language
● Java
● Kotlin
● Dart (Flutter)
● JavaScript (React Native)
● JavaScript (Cordova)
● JavaScript/Typescript (Ionic)
● C# (Xamarin)

Android Studio
● Tool bar, Navigation bar, Status bar, Editor area, Project area
● Short key (Alt + 1..),
● Different level of logging.
● How to set breakpoints and use breakpoints. (ctrl+f8) (ctrl+shift+f8)
● How find text. (ctrl+shift+n, ctrl+shift+f)
● Go to declaration. (ctrl+b)
● Go to usages. (ctrl+f7)
● View Git Diff. (alt+9)

Android Debug Bridge (adb)
Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device.

Configure adb / adb commands
Configure adb on system. (android_sdk/platform-tools/)
Enable development mode on device. (tab 7 times build number)
Connect adb with device through WiFi.
● adb tcpip 5555
● Settings > About tablet (or About phone) > Status > IP address
● adb connect 192.168.1.xx
● adb devices
● adb kill-server
● adb install apk-file
● adb uninstall “package-name”
● adb push remote local
● adb pull remote local
● adb shell pm uninstall com.example.MyApp
● adb shell screencap /sdcard/screen.png

Top Android Studio Plugins
● SQLDelight
● ADB Idea
● ADB Wifi
● JSON To Kotlin Class
● HMS Core toolkit
● Codota
● Name That Color
● Kotlin Fill Class
● TabNine
● Key Promoter X


Java Programming
● Defining and Calling a Method
● Adding Parameters
● Multiple Parameters and Returning a Value
● Conditional Statements (IF/ELSE, Switch)
● Fields, the Dot Notation, and an Object's State
● OOP (Inheritance, Interface, Absract, Polymorphism)
● Using Getters/Setters & Access Modifiers: Public v.s. Private
● No-Argument Constructors v.s. Parameterised Constructors
● Exception Handling

     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.