Internship PPTF

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 16

Google Android Developer Virtual Internship

Google Android Developer Virtual Internship

by

Y.PRANITHA
Roll No. 2041a0572

Department of Computer Science and Engineering(AI&ML)


Srinivasa Ramanujan Institute of Technology
Autonomous
Rotarypuram Village, B K Samudram Mandal, Ananthapuramu – 515701.
Google Android Developer Virtual Internship

Contents
• Introduction
• Modules
• Modules Explanation
• Conclusion
• References

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 2
Google Android Developer Virtual Internship

Introduction
⮚ In the "Introduction to Programming in Kotlin" and "Android Basics with Compose"
courses, you'll learn how to create Android apps using Kotlin and Jetpack Compose.
Starting with the basics of Kotlin, you'll gradually learn to build apps using Android Studio
and Jetpack Compose. These courses focus on hands-on learning, especially in designing
user interfaces with Material Design principles.
⮚ As you progress through the courses, you'll learn about important aspects of app
development, like storing data. You'll discover tools like Room and DataStore for efficient
data storage, ensuring a smooth user experience even when offline. Finally, you'll explore
WorkManager for managing background tasks effectively. This comprehensive approach
ensures that you develop a solid understanding of app development and emerge ready to
create interactive, responsive applications for the Android platform.

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 3
Google Android Developer Virtual Internship

Modules
⮚Your First Android App
⮚Building app UI
⮚Display lists and use Material Design
⮚Navigation and app architecture
⮚Connect to the internet
⮚Data Persistence
⮚Work Manager
⮚Views and Compose

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 4
Google Android Developer Virtual Internship

Your First Android App


⮚ Introduction to Programming in Kotlin: Kotlin is a contemporary
programming language designed to enhance developer productivity. It offers
concise syntax and allows developers to achieve the same functionality with
fewer lines of code compared to other languages.
⮚ Setting up Android Studio: Android Studio serves as the official Integrated
Development Environment (IDE) for Android app development, provided and
maintained by Google. This comprehensive IDE equips developers with the
necessary tools to design, build, run, and test Android applications efficiently.
⮚ Building a basic layout: Jetpack Compose emerges as a modern toolkit for
crafting Android user interfaces. By leveraging Compose, developers can
expedite UI development through intuitive Kotlin capabilities. Compose
simplifies the process by allowing developers to define UI elements using
composable functions, resulting in accelerated development with minimal code.

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 5
Google Android Developer Virtual Internship

Building app UI

⮚Kotlin fundamentals: Conditionals form the cornerstone of programming, enabling the


implementation of decision-making logic within code. They introduce dynamism, allowing
code to adapt its behavior based on varying conditions.
⮚Add a button to an app:This section delves into integrating user interaction features
by incorporating buttons into your app. Through the example of a Dice Roller app, you'll
learn to create an interactive experience where users can tap a button to roll a dice, with the
resulting outcome displayed using an image.
⮚Interacting with UI and state:Within app development,state refers to any value that
can change over time.This segment focuses on effectively managing state within your app’s
user interface to ensure it accurately reflects the application’s current condition and user
interactions.

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 6
Google Android Developer Virtual Internship

Display lists and use Material Design


⮚More Kotlin fundamentals: Programmers have developed various language features to
enhance code quality and expressiveness. These include concise syntax for expressing ideas
efficiently, abstraction to represent complex concepts, and mechanisms to prevent inadvertent
errors. Kotlin incorporates several such features to facilitate the development of larger
applications, including Generics, enum classes, data classes, Singleton, companion objects,
Extension properties, and functions..
⮚Build a Scrollable list:This section guides you through the process of creating a scrollable list
using Card composables. You'll learn to modify the UI within each Card composable and
leverage Lazy Column composables to achieve scrollability. Additionally, you'll explore
techniques for constructing custom list items to tailor the appearance of your list according to
your app's requirements.
⮚Build beautiful apps: This empowers developers to craft high-quality digital experiences for
Android and other platforms. This section emphasizes the importance of adhering to Material
Design guidelines to ensure that your app's user interface is visually appealing, intuitive, and
consistent with modern design standards.
SRINIVASA RAMANUJAN INSTITUTE OF
572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 7
Google Android Developer Virtual Internship

Navigation and app architecture


⮚Architecture Components: The activity lifecycle represents the various states an
activity transitions through during its lifespan. It commences with the creation of the activity
by the Android OS and concludes when the OS terminates the activity, encompassing stages
of initialization, interaction, and eventual closure .
⮚Navigation in jetpack Compose: Jetpack Navigation component facilitates the
creation of multiscreen applications. The Navigation Compose component extends this
capability to Jetpack Compose, enabling developers to construct multiscreen experiences
using a declarative approach akin to composing user interfaces..
⮚Adapt for different screen sizes: Adapting applications for diverse screen sizes
necessitates the implementation of adaptive navigation layout patterns. These patterns
ensure that applications remain visually appealing and functional across various devices,
including mobile phones, tablets, foldables, and desktop computers.

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 8
Google Android Developer Virtual Internship

Connect to the internet


⮚Get data from the internet: Concurrency involves executing multiple tasks
simultaneously within an app. Kotlin coroutines enable this by suspending and resuming code
execution, allowing tasks to run concurrently. This asynchronous approach simplifies writing
code that handles multiple tasks simultaneously, such as fetching data from a web server while
updating the UI in response to user input.
⮚Load and display images from the internet: The Data layer manages the app’s
business logic and data to the UI layer. Data can come from various sources, such as network
requests or local databases. Typically, an app retrieves initial data from a database and fetches
updated data from network requests during runtime.

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 9
Google Android Developer Virtual Internship

Data persistence

⮚Introduction to SQL:SQL-Structured Query Language provides a simple and flexible


way to manage data within SQLite databases. It allows for easy reading and modification of
data with minimal code.
⮚Use Room for data persistence:Room, part of Android Jetpack, abstracts SQLite
databases, simplifying setup and interactions within apps. It offers compile-time checks for
database statements, streamlining development.
⮚Store and access data using keys with DataStore: DataStore, part of Jetpack,
offers a lightweight solution for storing small data sets. It includes Preferences DataStore for
key-value pairs and Proto DataStore for custom data types.

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 10
Google Android Developer Virtual Internship

WorkManager
⮚Schedule tasks with WorkManager: WorkManager, a component of Android
Jetpack, streamlines background tasks by combining opportunistic and guaranteed
execution. Opportunistic execution ensures tasks are executed as soon as possible, while
guaranteed execution handles starting tasks under various conditions, even if the app is
navigated away from.
⮚Support for constraints, such as network conditions, storage space, and charging status.
⮚Support for both asynchronous one-off and periodic tasks.
⮚Following system health best practices.
⮚Working with or without Google Play services.
⮚Output from one work request used as input for the next.
⮚Handling API-level compatibility back to API level 14.
⮚Support to easily display state of work requests in the app's UI.
⮚Chaining of complex work requests, such as running work in parallel.
SRINIVASA RAMANUJAN INSTITUTE OF
572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 11
Google Android Developer Virtual Internship

Views and Compose


⮚Android Views and Compose in Views: Compose is a very powerful tool that can
simplify the development process. However, Android apps were not always built with
declarative UIs. Compose is a very recent tool in the history of Android Apps. Android UIs
were originally built with Views. As such, it's highly likely that you will encounter Views as
you continue your journey as an Android developer. In this codelab, you learn the basics of
how Android apps were built before Compose — with XML, Views, View Bindings, and
Fragments.
⮚Views in Compose: building apps with Views, you might have come to appreciate the
conveniences of building apps with a declarative UI like Compose. However, there might be
some cases where it makes sense to use Views instead of Compose. In this codelab, you
learn how to use View Interops to add View components into a modern Compose app.the UI
components you are set to create are not yet available in Compose. This is the perfect
opportunity to utilize View Interop!

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 12
Google Android Developer Virtual Internship

Conclusion
⮚In conclusion, I have learn to build apps using Jetpack Compose, the modern UI toolkit for
building native Android apps. Throughout this course, I built apps with lists, single or
multiple screens, and navigated between them. You learned to create interactive apps, made
your app respond to user input and updated the UI. You applied Material Design and used
colors, shapes, and typography to theme your app. You also used Jetpack and other third-
party libraries to schedule tasks, retrieve data from remote servers, persist data locally and
more.

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 13
Google Android Developer Virtual Internship

References
[1] https://developer.android.com/courses/android-basics-compose/course

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 14
Google Android Developer Virtual Internship

Internship Certificate

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 15
Google Android Developer Virtual Internship

Thank You!!!
Presented by

SRINIVASA RAMANUJAN INSTITUTE OF


572 DEPT. OF COMPUTER SCIENCE AND ENGINEERING 16

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy