SlideShare una empresa de Scribd logo
1 de 16
Prepared By,
NicheTech
© NicheTech Com. Sol. Pvt. Ltd.
http://www.nichetechsolutions.com/
 SRC :- Folder contain the .java extension files that means
you can write you application code inside this file.
 GOOGLE API 4.0:- Contain the file named android.jar
which contains all class library needed for running the
android application.
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 GEN:- Contains the R.java file, a compiler-generated file
that references all the resources found in your project.
 Assets:- contains all the assets used by your
application, such as HTML, text files, databases, etc
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 res :- This folder contains all the resources used in your
application.
 This is the manifest file for your Android application.
Here you specify the permissions needed by your
application, as well as other features (such as intent-
filters, receivers, etc.).
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 MAIN.XML:-
The @string in this case refers to the strings.xml file
located in the res/values folder. Hence, @string/hello
refers to the hello string defined in the strings.xml file,
which is “FirstBasicAndroid, MainActivity!”:
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 R.JAVA
 R.JAVA File using eclipse automatically generate the content,
you are not suppose to modify the content of R.JAVA file
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 The Activity base class defines a series of events that
governs the life cycle of an activity. The Activity
class defines the following events: ( Check out the next
slides).
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
➤ onCreate() — Called when the activity is first created
➤ onStart() — Called when the activity becomes visible to the user
➤onResume() — Called when the activity starts interacting with the
user
➤ onPause() — Called when the current activity is being paused and
the previous activity is
being resumed
➤onStop() — Called when the activity is no longer visible to the user
➤onDestroy() — Called before the activity is destroyed by the
system (either manually or by
the system to conserve memory)
➤onRestart() — Called when the activity has been stopped and is
restarting again
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 In android site, user or web developer can also apply the
designing .
if you apply the above designing theme then, your activity
will appear as dialog box.
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 If you are interested to hide the title of activity if required
WHAT YOU SUPPOSE TO DO?
 import the library “ import android.view.window”;
As well as “ import android.util.Log;”
 Use the requestWindowFeature() method and pass it the
Window.FEATURE_NO_TITLE constant, like this:
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
Your Activity title
is hide now !
 Write the code inside the main yourprojectname.java file
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
 Out Put
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd

Más contenido relacionado

Destacado

Android seminar ppt
Android seminar pptAndroid seminar ppt
Android seminar ppt
chakrapani tripathi
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
connectshilpa
 

Destacado (6)

Android seminar ppt
Android seminar pptAndroid seminar ppt
Android seminar ppt
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating system
 
Android Basic Components
Android Basic ComponentsAndroid Basic Components
Android Basic Components
 
Android ppt
Android ppt Android ppt
Android ppt
 

Similar a Basic Android

Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...
ArijitDutta80
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recievers
Utkarsh Mankad
 
Android Development project
Android Development projectAndroid Development project
Android Development project
Minhaj Kazi
 
Android application structure
Android application structureAndroid application structure
Android application structure
Alexey Ustenko
 

Similar a Basic Android (20)

Android lifecycle
Android lifecycleAndroid lifecycle
Android lifecycle
 
Lec005 android start_program
Lec005 android start_programLec005 android start_program
Lec005 android start_program
 
Android Development Basics
Android Development BasicsAndroid Development Basics
Android Development Basics
 
Learn Xamarin Absolute Beginners - Application Manifest, Android Resources & ...
Learn Xamarin Absolute Beginners - Application Manifest, Android Resources & ...Learn Xamarin Absolute Beginners - Application Manifest, Android Resources & ...
Learn Xamarin Absolute Beginners - Application Manifest, Android Resources & ...
 
Django
DjangoDjango
Django
 
Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recievers
 
Lesson 10
Lesson 10Lesson 10
Lesson 10
 
Android Jumpstart Jfokus
Android Jumpstart JfokusAndroid Jumpstart Jfokus
Android Jumpstart Jfokus
 
MD-IV-CH-ppt.ppt
MD-IV-CH-ppt.pptMD-IV-CH-ppt.ppt
MD-IV-CH-ppt.ppt
 
Lesson 4
Lesson 4Lesson 4
Lesson 4
 
Synapseindia android apps introduction hello world
Synapseindia android apps introduction hello worldSynapseindia android apps introduction hello world
Synapseindia android apps introduction hello world
 
Android Programming.pptx
Android Programming.pptxAndroid Programming.pptx
Android Programming.pptx
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptx
 
Android Basic Tutorial
Android Basic TutorialAndroid Basic Tutorial
Android Basic Tutorial
 
Android Development project
Android Development projectAndroid Development project
Android Development project
 
Android application structure
Android application structureAndroid application structure
Android application structure
 
Data Storage In Android
Data Storage In Android Data Storage In Android
Data Storage In Android
 
Android media-chapter 23
Android media-chapter 23Android media-chapter 23
Android media-chapter 23
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 

Más de NicheTech Com. Solutions Pvt. Ltd.

Más de NicheTech Com. Solutions Pvt. Ltd. (10)

Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes AhmedabadJava Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
 
Java Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web developmentJava Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web development
 
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architectureAndroid Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
 
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
 
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
 
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course AhmedabadIntroduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
 
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
 
Introduction of Mastert page
Introduction of Mastert pageIntroduction of Mastert page
Introduction of Mastert page
 
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
 
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Basic Android

  • 1. Prepared By, NicheTech © NicheTech Com. Sol. Pvt. Ltd. http://www.nichetechsolutions.com/
  • 2.  SRC :- Folder contain the .java extension files that means you can write you application code inside this file.  GOOGLE API 4.0:- Contain the file named android.jar which contains all class library needed for running the android application. Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 3.  GEN:- Contains the R.java file, a compiler-generated file that references all the resources found in your project.  Assets:- contains all the assets used by your application, such as HTML, text files, databases, etc Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 4.  res :- This folder contains all the resources used in your application.  This is the manifest file for your Android application. Here you specify the permissions needed by your application, as well as other features (such as intent- filters, receivers, etc.). Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 5.  MAIN.XML:- The @string in this case refers to the strings.xml file located in the res/values folder. Hence, @string/hello refers to the hello string defined in the strings.xml file, which is “FirstBasicAndroid, MainActivity!”: Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 6.  R.JAVA  R.JAVA File using eclipse automatically generate the content, you are not suppose to modify the content of R.JAVA file Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 7.  The Activity base class defines a series of events that governs the life cycle of an activity. The Activity class defines the following events: ( Check out the next slides). Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 8. ➤ onCreate() — Called when the activity is first created ➤ onStart() — Called when the activity becomes visible to the user ➤onResume() — Called when the activity starts interacting with the user ➤ onPause() — Called when the current activity is being paused and the previous activity is being resumed ➤onStop() — Called when the activity is no longer visible to the user ➤onDestroy() — Called before the activity is destroyed by the system (either manually or by the system to conserve memory) ➤onRestart() — Called when the activity has been stopped and is restarting again Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 9.  In android site, user or web developer can also apply the designing . if you apply the above designing theme then, your activity will appear as dialog box. Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 10.  If you are interested to hide the title of activity if required WHAT YOU SUPPOSE TO DO?  import the library “ import android.view.window”; As well as “ import android.util.Log;”  Use the requestWindowFeature() method and pass it the Window.FEATURE_NO_TITLE constant, like this: Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 11. Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd Your Activity title is hide now !
  • 12.  Write the code inside the main yourprojectname.java file Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 13. Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 14.  Out Put Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 15. Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd
  • 16. Prepared By, NicheTech (C) NicheTech Com. Sol. Pvt. Ltd