SlideShare a Scribd company logo
Hold On.
It will start soon :)
Become an Android Developer
Session - 1: Kotlin Basics
20/12/2021
12:00 PM - 1:00PM IST
GDSC DYPIU
Host: Atharv Karbhari
Topics:
● Duration of the Course and Responsibilities
● Getting Familiar with Kotlin
1. Variable Declaration
2. Declaring Functions
3. Classes
● Overview Of Android Studio
Duration of the Course and Responsibilities:
1. Make a Public Google Developer account. (Use Personal Account Only!)
Link: https://developers.google.com/
Sign In -> Developer Profile -> Settings Icon -> Change Settings -> Public -> Save
2. (Recommended) Complete the course - Android Basics in Kotlin within 10th January 2022
Link: https://developer.android.com/courses/android-basics-kotlin/course
Structure: Units -> Pathways -> Activities and Quizzes
3. Form a team and build an Android Application (Deadline: 8th January 2022)
Guidelines:
https://docs.google.com/document/d/1iL9QvmGskDU8MLwsAUDsq8WERrBvmjXVoW7CBgezy
yU/edit
(TLDR: Min. 2-3 Screens, Navigation, Connect to the Internet, Ideas)
4. # Participate in the Solution Challenge and solve real world Problems! :)
Getting Started with Kotlin:
Variable Declaration:
A variable is a reference to a RAM memory address that stores some data within.
Keyword:
val
var
Syntax: <Keyword> <variable name> : <Data Type(optional)> = <Value>
Usage:
val v1 = “Hello, World”
var v2:String = “Hello, World”
Getting Started with Kotlin:
Data Types(Numbers):
Link: https://kotlinlang.org/docs/basic-types.html
Getting Started with Kotlin:
Data Types(Others):
Link: https://kotlinlang.org/docs/basic-types.html
1. String Data Type: Alphanumeric characters and Symbols
Syntax: Declare using “” or ‘’
Usage:
var v1:String = “Hi”
var v2 = ‘Hello’
2. Boolean Data Type: Holds two literal values: false and true
Usage:
val v1:Boolean = false
val v2 = true
Getting Started with Kotlin:
Revise:
Link: https://kotlinlang.org/docs/home.html
Learn about methods, more inbuilt functions, concepts etc
Practise:
Kotlin Playground
Link: https://developer.android.com/training/kotlinplayground
Getting Started with Kotlin:
Functions: Piece of code that runs whenever called. May/ May not return some value on the place
where it is called
Keyword: fun
Syntax:
<Keyword> <variable name>(arg1:<Data Type>, arg1:<Data Type>, ….): <Data Type>{
<Body>
}
Usage:
fun addNumbers(a:Int, b:Int){
return a+b
}
Getting Started with Kotlin:
Loops: Chunks of code that continue to run while the expression given to them is not equal to false
Keyword: for / while
Syntax:
for(expression){
}
while(expression){
}
Usage:
for(i in 1..10){
println(“Hello, World”)
}
val i:Int = 1
while(i<10){
println(“Hello, World”)
i+=1
}
Android Studio Fundamentals:
Create a Project:
Android Studio -> New Project -> Phone & Tablet -> Empty Activity ->
Give a name and Click on Finish
Android Studio Fundamentals:
Important Files:
1. build.gradle (Project/build.gradle)
2. build.gradle (Project/app/build.gradle)
3. AndroidManifest.xml (Project/app/src/main/AndroidManifest.xml)
4. MainActivity.kt (Project/app/src/main/java/com.example.project/MainActivity.kt)
5. res (Project/app/src/main/res)
Located in res/values/
1. strings.xml
2. colors.xml
3. themes.xml
6. activity_main.xml(res/layout/activity_main.xml)
Thank You!!
Host: Atharv Karbhari
LinkedIn
Github
Hackerrank

More Related Content

What's hot

ComponentOrientedArchitectureWithAngular2 -WithFonts
ComponentOrientedArchitectureWithAngular2 -WithFontsComponentOrientedArchitectureWithAngular2 -WithFonts
ComponentOrientedArchitectureWithAngular2 -WithFonts
Shivanka De Silva
 
React js use contexts and useContext hook
React js use contexts and useContext hookReact js use contexts and useContext hook
React js use contexts and useContext hook
Piyush Jamwal
 
Deep Dive Into Repository - Android Architecture Components
Deep Dive Into Repository - Android Architecture ComponentsDeep Dive Into Repository - Android Architecture Components
Deep Dive Into Repository - Android Architecture Components
Somkiat Khitwongwattana
 
Dot net technology
Dot net technologyDot net technology
Dot net technology
MilanMiyani1
 
Specification Scala DSL for Mobile Application
Specification Scala DSL for Mobile ApplicationSpecification Scala DSL for Mobile Application
Specification Scala DSL for Mobile Application
Alexander Evseenko
 
Shadow Objects
Shadow ObjectsShadow Objects
Shadow Objects
Edward Willink
 
React / Redux Architectures
React / Redux ArchitecturesReact / Redux Architectures
React / Redux Architectures
Vinícius Ribeiro
 
Dependency injection crash course
Dependency injection crash courseDependency injection crash course
Dependency injection crash course
Robin Sfez
 
Goa tutorial
Goa tutorialGoa tutorial
Goa tutorial
Bruce McPherson
 
Angular 2 KTS
Angular 2 KTSAngular 2 KTS
Angular 2 KTS
John Vall
 
ReactJS (1)
ReactJS (1)ReactJS (1)
ReactJS (1)
George Tony
 
Why magic
Why magicWhy magic
Why magic
Eyal Vardi
 
Introduction to Google Apps Platform
Introduction to Google Apps PlatformIntroduction to Google Apps Platform
Introduction to Google Apps Platform
Prasetyo Andy Wicaksono
 
Knockout extender
Knockout extenderKnockout extender
Knockout extender
LearningTech
 
05 binding and action
05 binding and action05 binding and action
05 binding and action
Anuchit Chalothorn
 
Dependency Inversion in large-scale TypeScript applications with InversifyJS
Dependency Inversion in large-scale TypeScript applications with InversifyJSDependency Inversion in large-scale TypeScript applications with InversifyJS
Dependency Inversion in large-scale TypeScript applications with InversifyJS
Remo Jansen
 

What's hot (16)

ComponentOrientedArchitectureWithAngular2 -WithFonts
ComponentOrientedArchitectureWithAngular2 -WithFontsComponentOrientedArchitectureWithAngular2 -WithFonts
ComponentOrientedArchitectureWithAngular2 -WithFonts
 
React js use contexts and useContext hook
React js use contexts and useContext hookReact js use contexts and useContext hook
React js use contexts and useContext hook
 
Deep Dive Into Repository - Android Architecture Components
Deep Dive Into Repository - Android Architecture ComponentsDeep Dive Into Repository - Android Architecture Components
Deep Dive Into Repository - Android Architecture Components
 
Dot net technology
Dot net technologyDot net technology
Dot net technology
 
Specification Scala DSL for Mobile Application
Specification Scala DSL for Mobile ApplicationSpecification Scala DSL for Mobile Application
Specification Scala DSL for Mobile Application
 
Shadow Objects
Shadow ObjectsShadow Objects
Shadow Objects
 
React / Redux Architectures
React / Redux ArchitecturesReact / Redux Architectures
React / Redux Architectures
 
Dependency injection crash course
Dependency injection crash courseDependency injection crash course
Dependency injection crash course
 
Goa tutorial
Goa tutorialGoa tutorial
Goa tutorial
 
Angular 2 KTS
Angular 2 KTSAngular 2 KTS
Angular 2 KTS
 
ReactJS (1)
ReactJS (1)ReactJS (1)
ReactJS (1)
 
Why magic
Why magicWhy magic
Why magic
 
Introduction to Google Apps Platform
Introduction to Google Apps PlatformIntroduction to Google Apps Platform
Introduction to Google Apps Platform
 
Knockout extender
Knockout extenderKnockout extender
Knockout extender
 
05 binding and action
05 binding and action05 binding and action
05 binding and action
 
Dependency Inversion in large-scale TypeScript applications with InversifyJS
Dependency Inversion in large-scale TypeScript applications with InversifyJSDependency Inversion in large-scale TypeScript applications with InversifyJS
Dependency Inversion in large-scale TypeScript applications with InversifyJS
 

Similar to Session 1 android study jam GDSC DYPIU

Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
NgLQun
 
Android Study Jam 1 Day 1 | December 2021 | GDSC BVCOENM
Android Study Jam 1 Day 1 | December 2021 | GDSC BVCOENMAndroid Study Jam 1 Day 1 | December 2021 | GDSC BVCOENM
Android Study Jam 1 Day 1 | December 2021 | GDSC BVCOENM
GDSCBVCOENM
 
Google DSC Android Study Jams Session 1
Google DSC Android Study Jams Session 1Google DSC Android Study Jams Session 1
Google DSC Android Study Jams Session 1
BeauWilliams7
 
Advanced Module development
Advanced Module developmentAdvanced Module development
Advanced Module development
drupalindia
 
Getting started-kotlin-android
Getting started-kotlin-androidGetting started-kotlin-android
Getting started-kotlin-android
Lucas Albuquerque
 
Kotlin tutorial
Kotlin tutorialKotlin tutorial
Kotlin tutorial
Smit Satodia
 
Android Study Jam - Info Session
Android Study Jam - Info SessionAndroid Study Jam - Info Session
Android Study Jam - Info Session
AITIKDANDAPAT
 
19BCP108_rushabh shah exp5.docx
19BCP108_rushabh shah exp5.docx19BCP108_rushabh shah exp5.docx
19BCP108_rushabh shah exp5.docx
RushabhShah453813
 
Dependency injectionpreso
Dependency injectionpresoDependency injectionpreso
Dependency injectionpreso
ColdFusionConference
 
Compose camp 2.pptx
Compose camp 2.pptxCompose camp 2.pptx
Compose camp 2.pptx
bcedsc
 
Exploring Anko Components, Kotlin, Android
Exploring Anko Components, Kotlin, AndroidExploring Anko Components, Kotlin, Android
Exploring Anko Components, Kotlin, Android
Rakshak R.Hegde
 
Raspberry pi and Google Cloud
Raspberry pi and Google CloudRaspberry pi and Google Cloud
Raspberry pi and Google Cloud
Faisal Mehmood
 
Drupal Module Development
Drupal Module DevelopmentDrupal Module Development
Drupal Module Development
Sumeet Pareek
 
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & morePower your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
wesley chun
 
Introduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDKIntroduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDK
Colin Su
 
From Java to Kotlin - The first month in practice
From Java to Kotlin - The first month in practiceFrom Java to Kotlin - The first month in practice
From Java to Kotlin - The first month in practice
StefanTomm
 
GDSC Info session and Compose Camp.pptx
GDSC Info session and Compose Camp.pptxGDSC Info session and Compose Camp.pptx
GDSC Info session and Compose Camp.pptx
AbraarAhmadKhan
 
Having Fun with Kotlin Android - DILo Surabaya
Having Fun with Kotlin Android - DILo SurabayaHaving Fun with Kotlin Android - DILo Surabaya
Having Fun with Kotlin Android - DILo Surabaya
DILo Surabaya
 
Koin Quickstart
Koin QuickstartKoin Quickstart
Koin Quickstart
Matthew Clarke
 
Exploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScriptExploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScript
wesley chun
 

Similar to Session 1 android study jam GDSC DYPIU (20)

Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
 
Android Study Jam 1 Day 1 | December 2021 | GDSC BVCOENM
Android Study Jam 1 Day 1 | December 2021 | GDSC BVCOENMAndroid Study Jam 1 Day 1 | December 2021 | GDSC BVCOENM
Android Study Jam 1 Day 1 | December 2021 | GDSC BVCOENM
 
Google DSC Android Study Jams Session 1
Google DSC Android Study Jams Session 1Google DSC Android Study Jams Session 1
Google DSC Android Study Jams Session 1
 
Advanced Module development
Advanced Module developmentAdvanced Module development
Advanced Module development
 
Getting started-kotlin-android
Getting started-kotlin-androidGetting started-kotlin-android
Getting started-kotlin-android
 
Kotlin tutorial
Kotlin tutorialKotlin tutorial
Kotlin tutorial
 
Android Study Jam - Info Session
Android Study Jam - Info SessionAndroid Study Jam - Info Session
Android Study Jam - Info Session
 
19BCP108_rushabh shah exp5.docx
19BCP108_rushabh shah exp5.docx19BCP108_rushabh shah exp5.docx
19BCP108_rushabh shah exp5.docx
 
Dependency injectionpreso
Dependency injectionpresoDependency injectionpreso
Dependency injectionpreso
 
Compose camp 2.pptx
Compose camp 2.pptxCompose camp 2.pptx
Compose camp 2.pptx
 
Exploring Anko Components, Kotlin, Android
Exploring Anko Components, Kotlin, AndroidExploring Anko Components, Kotlin, Android
Exploring Anko Components, Kotlin, Android
 
Raspberry pi and Google Cloud
Raspberry pi and Google CloudRaspberry pi and Google Cloud
Raspberry pi and Google Cloud
 
Drupal Module Development
Drupal Module DevelopmentDrupal Module Development
Drupal Module Development
 
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & morePower your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
Power your apps with Gmail, Google Drive, Calendar, Sheets, Slides & more
 
Introduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDKIntroduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDK
 
From Java to Kotlin - The first month in practice
From Java to Kotlin - The first month in practiceFrom Java to Kotlin - The first month in practice
From Java to Kotlin - The first month in practice
 
GDSC Info session and Compose Camp.pptx
GDSC Info session and Compose Camp.pptxGDSC Info session and Compose Camp.pptx
GDSC Info session and Compose Camp.pptx
 
Having Fun with Kotlin Android - DILo Surabaya
Having Fun with Kotlin Android - DILo SurabayaHaving Fun with Kotlin Android - DILo Surabaya
Having Fun with Kotlin Android - DILo Surabaya
 
Koin Quickstart
Koin QuickstartKoin Quickstart
Koin Quickstart
 
Exploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScriptExploring Google (Cloud) APIs with Python & JavaScript
Exploring Google (Cloud) APIs with Python & JavaScript
 

Recently uploaded

math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 

Recently uploaded (20)

math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 

Session 1 android study jam GDSC DYPIU

  • 1. Hold On. It will start soon :)
  • 2. Become an Android Developer Session - 1: Kotlin Basics 20/12/2021 12:00 PM - 1:00PM IST GDSC DYPIU Host: Atharv Karbhari
  • 3. Topics: ● Duration of the Course and Responsibilities ● Getting Familiar with Kotlin 1. Variable Declaration 2. Declaring Functions 3. Classes ● Overview Of Android Studio
  • 4. Duration of the Course and Responsibilities: 1. Make a Public Google Developer account. (Use Personal Account Only!) Link: https://developers.google.com/ Sign In -> Developer Profile -> Settings Icon -> Change Settings -> Public -> Save 2. (Recommended) Complete the course - Android Basics in Kotlin within 10th January 2022 Link: https://developer.android.com/courses/android-basics-kotlin/course Structure: Units -> Pathways -> Activities and Quizzes 3. Form a team and build an Android Application (Deadline: 8th January 2022) Guidelines: https://docs.google.com/document/d/1iL9QvmGskDU8MLwsAUDsq8WERrBvmjXVoW7CBgezy yU/edit (TLDR: Min. 2-3 Screens, Navigation, Connect to the Internet, Ideas) 4. # Participate in the Solution Challenge and solve real world Problems! :)
  • 5. Getting Started with Kotlin: Variable Declaration: A variable is a reference to a RAM memory address that stores some data within. Keyword: val var Syntax: <Keyword> <variable name> : <Data Type(optional)> = <Value> Usage: val v1 = “Hello, World” var v2:String = “Hello, World”
  • 6. Getting Started with Kotlin: Data Types(Numbers): Link: https://kotlinlang.org/docs/basic-types.html
  • 7. Getting Started with Kotlin: Data Types(Others): Link: https://kotlinlang.org/docs/basic-types.html 1. String Data Type: Alphanumeric characters and Symbols Syntax: Declare using “” or ‘’ Usage: var v1:String = “Hi” var v2 = ‘Hello’ 2. Boolean Data Type: Holds two literal values: false and true Usage: val v1:Boolean = false val v2 = true
  • 8. Getting Started with Kotlin: Revise: Link: https://kotlinlang.org/docs/home.html Learn about methods, more inbuilt functions, concepts etc Practise: Kotlin Playground Link: https://developer.android.com/training/kotlinplayground
  • 9. Getting Started with Kotlin: Functions: Piece of code that runs whenever called. May/ May not return some value on the place where it is called Keyword: fun Syntax: <Keyword> <variable name>(arg1:<Data Type>, arg1:<Data Type>, ….): <Data Type>{ <Body> } Usage: fun addNumbers(a:Int, b:Int){ return a+b }
  • 10. Getting Started with Kotlin: Loops: Chunks of code that continue to run while the expression given to them is not equal to false Keyword: for / while Syntax: for(expression){ } while(expression){ } Usage: for(i in 1..10){ println(“Hello, World”) } val i:Int = 1 while(i<10){ println(“Hello, World”) i+=1 }
  • 11. Android Studio Fundamentals: Create a Project: Android Studio -> New Project -> Phone & Tablet -> Empty Activity -> Give a name and Click on Finish
  • 12. Android Studio Fundamentals: Important Files: 1. build.gradle (Project/build.gradle) 2. build.gradle (Project/app/build.gradle) 3. AndroidManifest.xml (Project/app/src/main/AndroidManifest.xml) 4. MainActivity.kt (Project/app/src/main/java/com.example.project/MainActivity.kt) 5. res (Project/app/src/main/res) Located in res/values/ 1. strings.xml 2. colors.xml 3. themes.xml 6. activity_main.xml(res/layout/activity_main.xml)
  • 13. Thank You!! Host: Atharv Karbhari LinkedIn Github Hackerrank