ANDROID DEVELOPER introduction PPT.pptx

CHETHANKUMAR274045 29 views 38 slides Jun 04, 2024
Slide 1
Slide 1 of 38
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38

About This Presentation

Android


Slide Content

ANDROID DEVELOPER JAVA, XML & ANDROID INTRODUCTION

JAVA INTRODUCTION Java is a high-level & object oriented programming language. Developed by James Gosling at Sun Microsystems company in 1991 & Initially called “Oak” but was renamed as “Java” in 1995. Initial motivation is to develop a platform independent language to create software to be embedded in various consumer electronics devices. Become the language of internet. (portability and security ) to create interactive websites.

Features of Java Simple , Small and Familiar Compiled and Interpreted Object Oriented Portable Large Standard Library

1. Simple , Small and Familiar : Java is a simple programming language and easy to understand since it is written in HLL (high-level-language). Java contains the same syntax as C, and C++,

2. Compiled and Interpreted Java works in two stage : Java compiler translate the source code into byte code(.class file). Java interpreter converts the byte code into machine level representation.

3. Object-Oriented Java is an Object Oriented Programming Language, which means in Java everything is written in terms of classes and objects. Every Real-Time Problems are considered as an Object. The Same object is used to identify the Solutions to given problems.

OOPS CONCEPTS : The main concepts of any Object Oriented Programming language are given below:  Object Class Encapsulation(capsules) Polymorphism Inheritance Abstraction Message Passing    

4. Portable Suppose you are running Python on Windows and you need to shift the same to either a Mac or a Linux system, then you can easily achieve the same results in java without having to worry about changing the code. Also known as Platform Independent (or) WORA (Write Once Run Anywhere) . Java Virtual Machine ( J VM ) for Windows is required.

5. Large Standard Library : Out of the box, Java comes inbuilt with a large number of libraries with various variables, keywords, classes & functions & that can be imported at any instance and be used in a specific program for specific task. Eg : String class Math class

XML INTRODUCTION XML stands for extensible Markup Language . XML created by J on Bosak at sun microsystems company. XML was designed to store and transport data over a internet. XML was designed to be both human- and machine-readable. XML tags identify the data and are used to store and organize the data, rather than specifying how to display it like HTML tags, which are used to display the data.

XML CHARACTERISTICS XML is extensible:  XML allows you to create your own self-descriptive tags, or language, that suits your application. XML carries the data, does not present it:  XML allows you to store the data irrespective of how it will be presented. XML is a public standard:  XML was developed by an organization called the World Wide Web Consortium (W3C) and is available as an open standard since 1998.

XML RULES Tags are enclosed in angle brackets <>. Tags come in pairs with Start-Tags & End-Tags. Tags must be properly nested: <name><email>…..</name></email> is not allowed. <name><email>…..</email><name> is allowed

CONTINUED… Tags that do not have End-Tags must be terminated by a ‘/’ : Eg : < br /> like HTML Tags are case-sensitive: Eg : <address> is not same as <Address>

OHA (Open Handset Alliance) A business alliance consisting of 47 companies to develop open standards for mobile devices.

Phones HTC G1, Droid, Tattoo Motorola Droid (X) Suno S880 Samsung Galaxy Sony Ericsson

Tablets Velocity Micro Cruz Gome FlyTouch Acer beTouch Dawa D7 Toshiba Android SmartBook Cisco Android Tablet

Architecture

Android S/W Stack - Application Android provides a set of core applications: Email Client SMS Program Calendar Maps Browser Contacts Etc All applications are written using the Java language.

Android S/W Stack – App Framework Enabling and simplifying the reuse of components Developers have full access to the same framework APIs used by the core applications. Users are allowed to replace components.

Android S/W Stack – App Framework ( Cont ) Features Feature Role View System Used to build an application, including lists, grids, text boxes, buttons, and embedded web browser Content Provider Enabling applications to access data from other applications or to share their own data Resource Manager Providing access to non-code resources (localized strings, graphics, and layout files) Notification Manager Enabling all applications to display customer alerts in the status bar Activity Manager Managing the lifecycle of applications and providing a common navigation backstack

Android S/W Stack - Libraries Including a set of C/C++ libraries used by components of the Android system Exposed to developers through the Android application framework

Android S/W Stack - Runtime Core Libraries Providing most of the functionality available in the core libraries of the Java language APIs Data Structures Utilities File Access Network Access Graphics Etc

Android S/W Stack – Runtime ( Cont ) Dalvik Virtual Machine Providing environment on which every Android application runs Each Android application runs in its own process, with its own instance of the Dalvik VM. Dalvik has been written such that a device can run multiple VMs efficiently. Register-based virtual machine

Android S/W Stack – Runtime ( Cont ) Dalvik Virtual Machine ( Cont ) Executing the Dalvik Executable (. dex ) format . dex format is optimized for minimal memory footprint. Compilation Relying on the Linux Kernel for: Threading Low-level memory management

Android S/W Stack – Linux Kernel Relying on Linux Kernel 2.6 for core system services Memory and Process Management Network Stack Driver Model Security Providing an abstraction layer between the H/W and the rest of the S/W stack
Tags