Presentation on how to chat with PDF using ChatGPT code interpreter
Demo class on android development
1. DEMO CLASS ON ANDROID APP
DEVELOPMENT
Kshitiz Mishra
Intaglio Solution
2. About the Speaker
• Computer Engineering, LEC
• Android Developer having nearly 2 years of experience
• Experience with building ROMs,customization,porting
• Experience with Other Platforms(Windows Metro Apps)
@kr4k3rz
fb.com/kr4k3rz
github.com/xitize
+xitize
3. o What is Android
o Scope for Android App Developers
o Why Develop for Android
o Android Platform Overview
o Android App Overview
o Android App Lifecycle
o Android App Fundamentals(Activities , intents)
o Design
o Device Compatibility
o Distribution
o What we need to get started with Android Development
o Android Studio and Android Tools
o Android Syllabus
What we will learn Today
4. What is Android?
• Android is a Linux based operating System for mobile
devices such as tablet ,televisions, auto, wears.
• Developed by Google and Later OHA(Open Handset
Alliance).
• Java language is mainly used, XML for UI(User Interface)
• Codenamed
Aestro,Blender,Cupcake,Donut,Éclair,Froyo,Gingerbread,
HoneyComb,Ice Cream Sandwich ,Jellybean ,Kitkat
,Lollipop, & Latest Marshmallow
5. Scope Of Android
“Mobile App Development is the Future of Software
Development” – Eric Schmidt (Alphabet's Executive
Chairman)
People demand for better application and Update
Android being Open Source attracts Companies.
Demand is high for inventive App developers.
6. Reasons to choose Android
Development
High user Base
Multi-Fold increase in app development
No licensing Fees
Cross – Platform Compatibility.
Flexibility
High demand for Android Developers
Support for Android Development
Easy accessibility
High Earning Potential
Monetization of free apps
8. o Over 1B users
o Over 1.5M activation per Day
o Over 200M smartphones running android Sold
annually
o Over 1.43M apps available
o Over 76% smartphones operating system market share
Android is Gigantic
9. Android is Freedom
o Thousands of 3rd party libraries available
o Free SDK,IDE and Emulator
o No restrictions; access anything*
o Faster Access to form factors and hardware's
o Distribute your apps anywhere( Playstore , Amazon
Appstore ,…
*well not everything, but you get the point
10. Reason Why Android Development will
Boom in Tech-Future
Smartphone market share
Android app Development revenue
Options to target different markets segment
Android preferred choice in emerging economies.
12. o java: class file contain app logic
o res: different resource file
o anim: Animation resource file
o drawble: Images
o drawable-xdpi: image depending on screen density
o layout: app layout files
o menu : layout menu files
o values : value files (strings ,colors , arrays , etc.)
o value-vx : depending of API levels
o values-xdp : Value files depending on screen density
o XML: xml UI
o andriodmanifest.xml : App metadata file
o Build.gradle:build related settings
Android App Overview
17. o A windows/interface which a user interact with
o Every app has at least one activity
o Activities can be full screen , floating or embedded
Inside another activity
startActivity(new Intent(this,newActivity.class));
19. o A piece of user interface mean to be reused
o Adds modularity to your app and makes dynamic UI
design easy
o It has its own layout, behavior and lifecycle callbacks,
but it killed/stop if the activity is too.
getFragmentManager().beginTransaction().
add(android.R.id.content,new MyFragment()).commit();
1. Linux Kernel – heart of Android architecture , exits at root of android. Kernel is responsible for device ,drivers, power management, memory management, device management & resources access.
2.Native Libraries – On top of Linux Kernel , such as Webkit(Browsers support),OpenGL(Graphics supports),FreeType(Font Support),SQLite(Database Support),Media (for playing recording),C runtime library(libc),etc.
3.Android Runtime – In android Runtime ART core libraries & DVM (Dalvik Virtual Machine) optimized for mobile devices. It consumes less memory & provides faster performance.
4.Application Framework – Android APIs such as UI(user Interface),telephony , resources ,locations, Content Providers(Data), and Package manager. It provides classes and interfaces for android app development.
5.Applications – home ,contacts, settings.
onCreate() – This is the first callback and called when the activity is first created.
onStart() – This callback is called when the activity becomes visible to the user.
onResume() – This is called when the user starts interacting with the application.
Onpause() – The paused activity does not receive user input and cannot execute any code and called when the current activity is being paused and the previous activity is being resumed.
onStop() – This callback is called when the activity is no longer visible.
onDestroy() – This callback is called before the activity is destroyed by the system.
onRestart() – This callback is called when the activity restarts after stopping it.