Android Development Overview and Basics

0% found this document useful (0 votes)
410 views8 pages

Uploaded by

Rana Usman
  • Introduction to Operating Systems
  • Open Source and Linux
  • History of Android
  • Android Versions
  • IDE and Programming Languages
  • Application Architecture
  • Running App Process
  • Android Application Package (APK)

Android Development

Lecture#1
Operating System??
 An Operating system is a software that enables the hardware to
communicate and operate with the software.

 Operating System is a interface between hardware and user. It works as a


translator between hardware and user. We cannot interact with hardware
because hardware understands the 0’s and 1’s.

 An operating system provides a software platform on top of which other


programs, called application programs can run.

Example:
We open a video in VLC media player. The operating system will
receive the input and generates the output from the hardware.
What is Open Source??
The source code of a computer program that is
made available for of charge to the public.
Users can view and chane
 It’s means we have not to pay or buy a license for the specific program’s code. We can use it
free and open. (license free code).

What is Linux??
 Linux is a family of free and open source software operating systems built
around the Kernel Linux.
 The development of Linux is one of the most prominent examples of free
and open source software collaboration.

Ubuntu
Kali Linux etc.
Lecture#2
History of Android
October 2003, California US.
Android Company AndroidInc.

Android Founders
[Link] Rubin
Android was named by the Set name by inspirng by the name of Andy Rubin. It’s can be taken
as Andy Droid.

[Link] Miner
[Link] White
4. Nick Sears
Google acquire Android in 2005. Android was sold to google in 50 Million Dollars.

OHA(open handset Alliance) 5Nov 2007.


Its means that any company
that produces smart phones can alliance with Android OS an contribute for
Developing.

First Android Device


In 2008 HTC Dream.
September 5th 2008 android lastest version Android 11 Released.
Lecture#3
Android Versions
First Version
Sep 23rd 2008 Anroid 1.0.
2009’s 1.3
Versions Names:

In the beginning Android named its versions in alphabtical


order and these all are associated with the Sweets Name.
Lecture#3
IDE
Integreted Development Environment

An IDE has all the resources to run a the specific programing Language.
Android Studio Is the IDE for Android Development.

Lecture#8
Languages??
A way of Communication.
A Programing language is a formal language comprising a set of
instructions for the computer to get different kinds of Output.
Most of the programing languages consists of set of instructions for the
computer.

Static and Dynamic Apps??


Static:
Static applications are not reliant on internet connection to an online server and
database.
Apps
Apps built in this way are downloaded once, Usually Periodically updated.
Are able to work offline only with the device on which they are installed.
Example:
Calculator.
Dynamic:
Dynamic Applications are in some way reliant on an online server and database.
When connected these apps can retrive data updates from a main server.
Dynamic apps changes it’s interface and data on the base of online information
and server.
Example:
Social Media Apps and currecny converter apps etc.

Front-end and Back-end language??


Front-end
Front-end means the user interface which a user interact with it. UI/UX.
Its all about what a user able to see.
It may be buttons images and layouts.
We make the user interface in Android using XML file.
Back-end
Back-end of anything is not visible to see for the general user or admisitrator.
It can be a piece of code on the machine server to server the user need.
Database is also a part of backend. i.e SQLite.
Lecture#9
Running App Process
Two Types of errors??
1. Compile time error:
That occurs at the time of compilation when we made a
code mistake.

2. Runtime error:
That occurs when we could not get the desired output
from the application and its goes crash.

Way of Testing Apps


1. ADB:(Android Debug Bridge)
Running on a real Android Device.
2. AVD:(Android Virtual Device)
Running on a Virtual Device.
Lecture#10
What is APK??
APK (Android Application Package)
It is a package file format that is used by android operating system for distribution
and installation of Mobile apps.
Android Application Package.
Similar to executeale file .exe in Widows opetrating system.

It Consists the files


1. Application Code(.dex files)
2. Manifiest files
3. Assets
4. Resources

Common questions

Powered by AI

Android Debug Bridge (ADB) is a tool that allows developers to execute commands and interact with a real Android device connected to a computer, facilitating the debugging of applications in a real environment. Android Virtual Device (AVD), meanwhile, provides a virtualized environment to run and test apps without needing physical hardware. Together, ADB and AVD allow thorough testing across different scenarios, ensuring app stability and compatibility before deployment .

An APK (Android Application Package) file is essential for distributing and installing Android apps. It contains several critical components: the application code (.dex files) for execution, the Manifest file describing app properties and permissions, assets containing app resources, and other resources like XML files for UI. Each part plays a role in ensuring the app functions correctly on Android devices, allowing for easy installation and version management .

Android was founded in October 2003 by Andy Rubin, Chris Miner, Chris White, and Nick Sears in California, US. Rubin, whose name inspired the term 'Android', led the company towards developing Android as an operating system for smart devices. Google acquired Android in 2005 for $50 million, recognizing its potential in the smartphone market. This acquisition marked the beginning of systematic developments that would lead to Android's global impact .

An operating system acts as an interface between hardware and software by serving as a translator. This allows users to interact with hardware, as it only understands binary code (0's and 1's). The operating system provides a platform for application programs to run, allowing them to receive inputs and produce outputs using the hardware, as exemplified by playing a video in VLC media player .

An Integrated Development Environment (IDE) offers all necessary resources and tools to develop applications in a particular programming language. Android Studio, the IDE for Android development, streamlines the app development process by providing features like code editing, debugging, and a visual layout editor. This aids developers in effectively building and testing their applications, enhancing productivity and ensuring high-quality app outcomes .

Static applications do not rely on an internet connection to function, as they are downloaded onto a device and operate offline, exemplified by calculators. Dynamic applications, however, require an internet connection as they interact with online servers to update data and interfaces in real-time. This dependence means dynamic apps, such as social media platforms, can offer users the latest information through continuous updates, significantly impacting user experience and engagement .

In Android app development, compile-time errors occur during code compilation, usually due to syntax mistakes that prevent the app from being successfully compiled. Runtime errors, on the other hand, manifest during execution when unexpected issues cause the app to behave incorrectly or crash. Identifying and addressing these errors is crucial for ensuring app reliability and functionality .

Open source software allows the source code to be freely available to the public, enabling users to view and modify it without purchasing a license. This concept is significant in the development of Linux, as it is built around the Linux Kernel and represents a prominent example of collaboration through free and open source projects. This openness has facilitated widespread participation and innovation within the software community, leading to the creation of numerous Linux distributions like Ubuntu and Kali Linux .

The front-end in Android development is the user-facing aspect, designed using technologies like XML to create layouts, buttons, and interface elements. Meanwhile, the back-end, which includes databases such as SQLite, handles data processing and storage, often invisible to users. Together, these components interact to deliver a cohesive user experience where the front-end presents information processed by the back-end, ensuring coherent functionality and responsive design .

After the initial release of Android 1.0 on September 23, 2008, Android began naming its subsequent versions in alphabetical order, associating each with a sweet or dessert name. This playful and thematic pattern helped in creating a unique brand identity, familiarizing users with the software evolution in a fun and engaging way .

Android Development
Lecture#1
Operating System??
An Operating system is a software that enables the hardware to 
communicate
What is Open Source??
The source code of a computer program that is 
made available for of charge to the public.
Users can vi
Lecture#2
History of Android
October 2003, California US.
Android Company  AndroidInc.
Android Founders
1.Andy Rubin 
Android
Lecture#3
Android Versions
First Version
Sep 23rd 2008 Anroid 1.0.
2009’s 1.3
Versions Names: 
In the beginning Android named
Lecture#3
IDE
Integreted Development Environment
An IDE has all the resources to run a the specific programing Language.
Andr
Dynamic:
Dynamic Applications are in some way reliant on an online server and database.
When connected these apps can retrive
Lecture#9
Running App Process
Two Types of errors??
1. Compile time error:
                                    That occurs at
Lecture#10
What is APK??
APK (Android Application Package)
It is a package file format that is used by android operating syst

You might also like