Android Framework -Introduction
ฝัง
- เผยแพร่เมื่อ 4 ส.ค. 2024
- This series of tutorials will provide you the basic knowledge one should know with respect to android framework .
This particular video which is an introduction briefly explains android architecture and core building blocks of android
Note : There is one small change to be made here . Communication between Libraries and Kernel will happen through HAL and not JNI .
Here is link to my next video on Audio Framework : • Android Framework- Aud...
Tumba chenagi explain madideeri..
Thank you
The process of init is as follow :
1. System Manager, which manages binding
2. Zygote, which is responsible for starting system_server.
system_server is responsible for various Services, such as BLE, PowerManager, ContentService and much more.
All of these required to register to SystemManager for binding purpose, therefore, SystemManager needs to start prior to Zygote.
Also, system_server runs on the core process, the system_process.
Once the system_process is killed, the phone needs to restart.
these are the topics which i was looking from long , grt work dimple.keep adding.
very clear and apt information provided in short period of time . I also observed that all your videos are less than 10 mins which explains all concepts in short time . Very nice. keep up the good work dimple .
Thank u :)
You've come a long way, congrats
Hey thank you
Really well explained. And i feel this is the only detailed video on youtube for Android Framework level... Thanks.. Keep uploading... May be even basics of Framework development...
Syed Zakriya Thank u...
Sure will upload
Thanks ..hoping to learn more from you in this series
More to come!
Thanks dimple your simple explanation is awesome. I got job because of your videos I studied from here ....👌👌👌
Really ? Thank u :) All the best
Superb job Dimple !! Thanks for sharing ..
Thank you so much
Very simple to understand. Superb.. :)
lokesh JL thank u
Nice material.. thanks for explaining.. great work..
Thank you
nice content
Awesome series . Please add more videos on aosp . ..thank you . .
Naveen Naik thank you.
Actually after Service Manager, init starts the Zygote which in turn starts the system_server, ActivityManager is contained within system_server. Please correct your explanation.
Thanks for the correction Nandhan . System server will start activity manager .
Nice tutorial ,hope there would be some tweaking of the framework code too if possible
Thank you . If you go through my series then I do explain few framework codes too
I have doubt.. Binder IPC (AIDL) we use inter process communication between Application framework to System Services through Application Manager.. My doubt is libraries in Android Architecture are written in C/C++... then in video at 2:55 ... communication between Application Framework (JAVA files) to Libraries (C/C++ files) should be through JNI instead of BINDER.... kindly correct if my understanding is wrong...
HI Ohri, yes your right. Communication between Java and C/C++ libraries happens via JNI.
Hi Dimple.. Can you please explain hidl flow in Android framework... I mean from interface with version entry in manifest.xml to hardware/interfaces/component/version/.hal file to which file ? and also how hidl-gen generates hal file and how it use to communicate to framwork files ??? Thanks.. :)
Will come up with this in my upcoming videos
@@dimples_android_geek will eagerly wait for that video..
Very nice 😀
Thanx :)
JNI point is incorrect. Libraries are written in C/C++ . They do not need JNI to communicate with the kernel.
Thanx Nikky for pointing it out . Yes libraries are written in C/C++ , and communication between libraries and kernel will happen through HAL .
Really well explained mam
Thanks
good videos very helpful
Thank you
Nice
Thanks
Hello Dimple,
I have some queries regarding AOSP, how I can connect with you for discussion??
I have mentioned my mail id in my 100th video, connect from there
Mam.. I have some service related doubts..when device is on ..then service will start automatically.service is a program if service is program which language is written. And services is communicate to hal with kernel drive? And last is how services communicate to all manager class please explain
Hi Kishore, when system starts init is the parent process which will start zygote. now zygote will fork itself and start system service. System server has responsibility of starting all other services in your Android device. All the system services are written in java programming language. In the framework layer , one service will communicate with other service using AIDL .
@@dimples_android_geek Thank u mam
@@kishortalukdar4441 That's fine. If you are looking for any topics you want to learn, you can let me know
NICE, could u pls refer me a book to learn android framework n kernel
Head first android
Video start at a 3:51
ty
Hello, thank you very much for your android sharing, can you set the language of the video to English so that youtube can automatically generate subtitles?
Hi Thank you, yes the language is english only
Looks like Slides are taken from Jason Fedin :)
Hi Karthik,.
Don't know whom you are referring as Jason Fedin. I prepared this ppt on my own taking images from Google
Or he took hers ... this vid was 7 years ago, which was up on yt 4 years before your comment.