SlideShare a Scribd company logo
INTRODUCTION
 Founder “ANDY RUBIN” in 2003
 Google Purchase Android 2007
 First Android Phone HTC Dream
launched at 22 OCTOBER 2008 .
 First Version of Android 1.0(beta)
 Android is Technology that use LINUX based OS.
APPLICATION DEVELOPMENT
1. Frontend
2.Designed in
xml
3.Designing
part of
application
1.Backend
2.Backend
coded in java
3.Backend and
frontend
connected by
R file
RR
Application development is done into two parts:
Layout Java Class
TWO REQUIRED THINGS FOR
ANDROID APPLICATION
DEVELOPMENT
• First Design of application(frontend
code)
• Designing part is done into XML language
Click here to learn XML:
XML PART OF
ANDROID.pptx
• Second Backend coding of application
• Backend code is done into java
Click here to learn XML:
XML PART OF
RESOURCE FILE (r file)
 Auto-Generated file of java
 Not Changeable
convert
Working of R file
XML-ID Hexadecimal format
RESOURCE FILE
Class A extend Activity{
Button b;
B=(Button)findViewByid(R.id.
a);
}
RSUBMIT
ID = x
Hex
code
Layout Java Class
ANDROID MANIFEST FILE
 Auto-Generated file of XML
 Manifest file contain whole control of
application
 Manifest file is changeable
 Like-change icon,change app
name,set launcher,all possible
changes
 We can also change API of app into
manifest
TOAST
 Toast is a class
 Toast used for display message for
limited time.
 Toast use makeText(); method for
display method.
 SYNTAX:
Toast.makeText(1,2,3);
Here
1: current reference
2: string value
3: time (for display message)
TOAST
 Two other syntax of toast according to the
message display time
 SYNTAX for little bit long time message
display
Toast.makeText(A.this,”xyz”,LENGTH_LONG
;
 SYNTAX for little bit short time message
display
Example of Toast
BUTTON BUTTON
Hellow
Click
Print
messag
e
Cilck Here for coading of above example:
http://indiabix.com/
INTENT
 Intent is a predefine class.
 Type of Intent
1.Explicit Intent
 Three major uses
1.Connect one Activity to another
2.Switching one to another Activity
3.Data Switching
1.Explicit Intent
2.Implicit Intent
INTENT
 SYNTAX:
Intent i = new Intent(1,2);
Here:
1: first Activity Class-name .this
2: second Activity Class-name.class
 For example
Intent I = new Intent(A.this,B.class);
Here switching Activity:
Class A to Class B
ACTIVITY LAUNCHER CHANGE
LAUNCHER DEFAULT
Activity1 Activity 2
After changing
Default Launcher
STEP OF CHANGE LAUNCHER
Step1. Open the AndroidManifest.xml file
Step2. copy first/mainActivity
Step3. paste copied content on second Activity or
any other activity that we want to create as
launcher
step4. firstly we do all changes with MainActivity
Step5. now change the category and make first
activity as DEFAULT
<category
android:name="android.intent.category.LAUNCHE
R" Make it
default
STEP OF CHANGE LAUNCHER
Step6. copy the android:name=“”(that is
into double quotes) and paste it into
action android:name=“”(inside the quotes)
(android:name="com.example.kbc.A“)
(action android:name="" )
Step7. lastly change the name of copied
activity because we copy it from
mainactivity so contain name of mainativity
android:name="com.example.kbc.A"
Name of activity
copy
Paste here
SPLASH SCREEN
• Splash screen
• In coding we use run(); method of thread
class• Splash screen display for limited time that
is provided by developer on requirement of
user
• Splash screen is static
adapter
 Adapter is a class
 working Data filtering and data
holding
 Component of XML in which adapter used:
1. Listview
2. Autocomplete textview
3. Spinner(drop down list)
 Array adapter class of adapter used to
create activity by using above xml
component
array adapter
 Syntax of array adapter:
ArrayAdapter<String> rf =
new ArrayAdapter<String>(1,2,3);
 Here:
1: current reference
2: predefine layout
3: data reference
 Method:
SetAdapter( ) reference of
adapter class
webview
 Webview is XML component
 Webview used for load website into
android application
 We can do same thing by using
implicit intent but implicit intent forward
weblink to default browser
 Path provided into:
url.parse(“path”)
path: path of website which we want
to
open into application

More Related Content

What's hot

Android session 2
Android session 2Android session 2
Android session 2
Ahesanali Suthar
 
IntroToAndroid
IntroToAndroidIntroToAndroid
IntroToAndroid
Quickoffice Test
 
Android development basics
Android development basicsAndroid development basics
Android development basics
Pramesh Gautam
 
Ppt 2 android_basics
Ppt 2 android_basicsPpt 2 android_basics
Ppt 2 android_basics
Headerlabs Infotech Pvt. Ltd.
 
Lecture 3 getting active through activities
Lecture 3 getting active through activities Lecture 3 getting active through activities
Lecture 3 getting active through activities Ahsanul Karim
 

What's hot (6)

Android session 2
Android session 2Android session 2
Android session 2
 
Android Basic Components
Android Basic ComponentsAndroid Basic Components
Android Basic Components
 
IntroToAndroid
IntroToAndroidIntroToAndroid
IntroToAndroid
 
Android development basics
Android development basicsAndroid development basics
Android development basics
 
Ppt 2 android_basics
Ppt 2 android_basicsPpt 2 android_basics
Ppt 2 android_basics
 
Lecture 3 getting active through activities
Lecture 3 getting active through activities Lecture 3 getting active through activities
Lecture 3 getting active through activities
 

Viewers also liked

Introduction to Android M
Introduction to Android MIntroduction to Android M
Introduction to Android M
amsanjeev
 
Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1
amsanjeev
 
Sample enhanced process map(v1.7)
Sample enhanced process map(v1.7)Sample enhanced process map(v1.7)
Sample enhanced process map(v1.7)
Michael R. Neece
 
VB2013 - Security Research and Development Framework
VB2013 - Security Research and Development FrameworkVB2013 - Security Research and Development Framework
VB2013 - Security Research and Development Framework
Amr Thabet
 
Map reduce: beyond word count
Map reduce: beyond word countMap reduce: beyond word count
Map reduce: beyond word count
Jeff Patti
 
Amazon EC2 Masterclass
Amazon EC2 MasterclassAmazon EC2 Masterclass
Amazon EC2 Masterclass
Amazon Web Services
 
Mapreduce Algorithms
Mapreduce AlgorithmsMapreduce Algorithms
Mapreduce Algorithms
Amund Tveit
 
The Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The FutureThe Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The Future
Arturo Pelayo
 

Viewers also liked (8)

Introduction to Android M
Introduction to Android MIntroduction to Android M
Introduction to Android M
 
Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1
 
Sample enhanced process map(v1.7)
Sample enhanced process map(v1.7)Sample enhanced process map(v1.7)
Sample enhanced process map(v1.7)
 
VB2013 - Security Research and Development Framework
VB2013 - Security Research and Development FrameworkVB2013 - Security Research and Development Framework
VB2013 - Security Research and Development Framework
 
Map reduce: beyond word count
Map reduce: beyond word countMap reduce: beyond word count
Map reduce: beyond word count
 
Amazon EC2 Masterclass
Amazon EC2 MasterclassAmazon EC2 Masterclass
Amazon EC2 Masterclass
 
Mapreduce Algorithms
Mapreduce AlgorithmsMapreduce Algorithms
Mapreduce Algorithms
 
The Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The FutureThe Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The Future
 

Similar to Andorid

Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Aly Abdelkareem
 
Android Basic Tutorial
Android Basic TutorialAndroid Basic Tutorial
Android Basic Tutorial
Smartmonk
 
Android application development
Android application developmentAndroid application development
Android application developmentslidesuren
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
Chandrakant Divate
 
Android Development project
Android Development projectAndroid Development project
Android Development projectMinhaj Kazi
 
Handling action bar in Android
Handling action bar in AndroidHandling action bar in Android
Handling action bar in Android
indiangarg
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
Pragati Singh
 
Android
AndroidAndroid
Android
Pranav Ashok
 
Android beginners David
Android beginners DavidAndroid beginners David
Android beginners David
Arun David Johnson R
 
Lec005 android start_program
Lec005 android start_programLec005 android start_program
Lec005 android start_program
Eyad Almasri
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
saitej15
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recievers
Jagdish Gediya
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1Borhan Otour
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesAhsanul Karim
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesAhsanul Karim
 
Activity
ActivityActivity
Activity
NikithaNag
 
Activity
ActivityActivity
Activity
roopa_slide
 
Activity
ActivityActivity
Activity
NikithaNag
 
Activity
ActivityActivity
Activity
roopa_slide
 

Similar to Andorid (20)

Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android Basic Tutorial
Android Basic TutorialAndroid Basic Tutorial
Android Basic Tutorial
 
Android application development
Android application developmentAndroid application development
Android application development
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
 
Android session-1-sajib
Android session-1-sajibAndroid session-1-sajib
Android session-1-sajib
 
Android Development project
Android Development projectAndroid Development project
Android Development project
 
Handling action bar in Android
Handling action bar in AndroidHandling action bar in Android
Handling action bar in Android
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
 
Android
AndroidAndroid
Android
 
Android beginners David
Android beginners DavidAndroid beginners David
Android beginners David
 
Lec005 android start_program
Lec005 android start_programLec005 android start_program
Lec005 android start_program
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recievers
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through Activities
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through Activities
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 

Recently uploaded

Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 

Recently uploaded (20)

Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 

Andorid

  • 1.
  • 2. INTRODUCTION  Founder “ANDY RUBIN” in 2003  Google Purchase Android 2007  First Android Phone HTC Dream launched at 22 OCTOBER 2008 .  First Version of Android 1.0(beta)  Android is Technology that use LINUX based OS.
  • 3. APPLICATION DEVELOPMENT 1. Frontend 2.Designed in xml 3.Designing part of application 1.Backend 2.Backend coded in java 3.Backend and frontend connected by R file RR Application development is done into two parts: Layout Java Class
  • 4. TWO REQUIRED THINGS FOR ANDROID APPLICATION DEVELOPMENT • First Design of application(frontend code) • Designing part is done into XML language Click here to learn XML: XML PART OF ANDROID.pptx • Second Backend coding of application • Backend code is done into java Click here to learn XML: XML PART OF
  • 5. RESOURCE FILE (r file)  Auto-Generated file of java  Not Changeable convert Working of R file XML-ID Hexadecimal format
  • 6. RESOURCE FILE Class A extend Activity{ Button b; B=(Button)findViewByid(R.id. a); } RSUBMIT ID = x Hex code Layout Java Class
  • 7. ANDROID MANIFEST FILE  Auto-Generated file of XML  Manifest file contain whole control of application  Manifest file is changeable  Like-change icon,change app name,set launcher,all possible changes  We can also change API of app into manifest
  • 8. TOAST  Toast is a class  Toast used for display message for limited time.  Toast use makeText(); method for display method.  SYNTAX: Toast.makeText(1,2,3); Here 1: current reference 2: string value 3: time (for display message)
  • 9. TOAST  Two other syntax of toast according to the message display time  SYNTAX for little bit long time message display Toast.makeText(A.this,”xyz”,LENGTH_LONG ;  SYNTAX for little bit short time message display
  • 10. Example of Toast BUTTON BUTTON Hellow Click Print messag e Cilck Here for coading of above example: http://indiabix.com/
  • 11. INTENT  Intent is a predefine class.  Type of Intent 1.Explicit Intent  Three major uses 1.Connect one Activity to another 2.Switching one to another Activity 3.Data Switching 1.Explicit Intent 2.Implicit Intent
  • 12. INTENT  SYNTAX: Intent i = new Intent(1,2); Here: 1: first Activity Class-name .this 2: second Activity Class-name.class  For example Intent I = new Intent(A.this,B.class); Here switching Activity: Class A to Class B
  • 13. ACTIVITY LAUNCHER CHANGE LAUNCHER DEFAULT Activity1 Activity 2 After changing Default Launcher
  • 14. STEP OF CHANGE LAUNCHER Step1. Open the AndroidManifest.xml file Step2. copy first/mainActivity Step3. paste copied content on second Activity or any other activity that we want to create as launcher step4. firstly we do all changes with MainActivity Step5. now change the category and make first activity as DEFAULT <category android:name="android.intent.category.LAUNCHE R" Make it default
  • 15. STEP OF CHANGE LAUNCHER Step6. copy the android:name=“”(that is into double quotes) and paste it into action android:name=“”(inside the quotes) (android:name="com.example.kbc.A“) (action android:name="" ) Step7. lastly change the name of copied activity because we copy it from mainactivity so contain name of mainativity android:name="com.example.kbc.A" Name of activity copy Paste here
  • 16. SPLASH SCREEN • Splash screen • In coding we use run(); method of thread class• Splash screen display for limited time that is provided by developer on requirement of user • Splash screen is static
  • 17. adapter  Adapter is a class  working Data filtering and data holding  Component of XML in which adapter used: 1. Listview 2. Autocomplete textview 3. Spinner(drop down list)  Array adapter class of adapter used to create activity by using above xml component
  • 18. array adapter  Syntax of array adapter: ArrayAdapter<String> rf = new ArrayAdapter<String>(1,2,3);  Here: 1: current reference 2: predefine layout 3: data reference  Method: SetAdapter( ) reference of adapter class
  • 19. webview  Webview is XML component  Webview used for load website into android application  We can do same thing by using implicit intent but implicit intent forward weblink to default browser  Path provided into: url.parse(“path”) path: path of website which we want to open into application