Just today for the 1st time I heard about AIDL in my life & came here searching for it. This video was just simply AMAZING!! 🤩🤩🤩🤩 This video explained AIDL very clearly, & made it look so simple. THANK YOU very much for such a wonderful explanation.
Clearly explained. Nice video, bro! 👍 However, in the AIDL Server manifest file, we need to include android:process=":remote" attribute inside service tag for the latest Android version; otherwise, the service won't get bound in the client app. I lost a few hours trying to find that fix. Hopefully, this helps.
I am not a pro, nor a beginner in coding, but this isnt the easiest topic... rather abstract and has many dependencies that arent easy to understand... A little struggle is totally okay..
Same here. I've been trying for a few days Edit: It is about targetSdk. targetSdk must be 28. I tried 32 and 33 it didn't work but it work with 28. Anyone knows how can we use this in 32 or 33 targetSdk?
Hi this is really interesting, could AIDL open possibility for an app have addons/extension/plugins from 3rd party developer? just like wordpress, everybody able to create addons, and when user install the addons, our parent app will have additional feature and UI?
AIDL is only android internal communication between different Android Process with in the OS. afaik it does not support external sources. But there are other ways to achieve these kind functionality at the app level.
I can't rename the package name is 8:55, I try many times but it still is clinet not change to service, my android studio is Android Studio Electric Eel | 2022.1.1 Patch 1, please help me!
For some reason my client can’t seem to find the intent from my server. I did the service and the client main activity in kotlin but used the android open source to help. I’m pretty sure that my client connects to my server and I can run the client but when I click the button it doesn’t change color. I check the Logcat and it says can’t find intent. Please help me I am so confused I have been stuck for a week on this problem
Could you please check the update from Akhil Krishnan below. May be its the same issue. 1. We need to include android:process=":remote" attribute inside service tag for the latest Android version; otherwise, the service won't get bound in the client app. I lost a few hours trying to find that fix. Hopefully, this helps. 2. Add this line in your client app manifest file:
@@aosp_android_tollcafe for step 1 when I include the android:process=“:remote” where am I adding that…the way I call the intent in kotlin is (in my client Main activity): Val intent = Intent(“AIDLCOLORSERVICE”) Intent.setPackage(“com.example.aidlserver”) I will add step 2 to my intent but where do I add step one?
Even after adding query in client and adding process as remot also I'm getting same unable to start service intent, please can anyone help me out, I'm stuck debugging this , bit new to application debugging
One of the best and clearly explained AIDL concept video 👍🙂
really good explanation
Just today for the 1st time I heard about AIDL in my life & came here searching for it.
This video was just simply AMAZING!! 🤩🤩🤩🤩
This video explained AIDL very clearly, & made it look so simple.
THANK YOU very much for such a wonderful explanation.
Great Explanation...superb
Perfectly Explained ! Superb 👍
Very well expalined ! Keep uo the awesome work.👍
Thank you soooooo soooooo much for the great explanation 👍🏻❤
Clearly explained. Nice video, bro! 👍
However, in the AIDL Server manifest file, we need to include android:process=":remote" attribute inside service tag for the latest Android version; otherwise, the service won't get bound in the client app. I lost a few hours trying to find that fix. Hopefully, this helps.
I am facing the same issue. Tried adding the process=":remote" still binding is not working
@@ebycloudins @Akhil Not able to Bind. Any Solution?
@@ebycloudins Add this line in your client app manifest file:
@Akhil Krishnan @rishank yashu , Thanks Guys. Will update Github.
@@aosp_android_tollcafe can you please update this soon 🙏
Very good, at least I have managed to understand it.
I am not a pro, nor a beginner in coding, but this isnt the easiest topic... rather abstract and has many dependencies that arent easy to understand... A little struggle is totally okay..
Very nicely explained
Very helpful!!
Well done brother, you did what documentation is not able to do easily. Keep it up👍
Amazing. Thank you so much
Glad you liked it! :)
great , thanks
Very good man. Ty
Not able to bind. Any modification in code
Same here. I've been trying for a few days
Edit:
It is about targetSdk. targetSdk must be 28. I tried 32 and 33 it didn't work but it work with 28. Anyone knows how can we use this in 32 or 33 targetSdk?
Hi this is really interesting, could AIDL open possibility for an app have addons/extension/plugins from 3rd party developer? just like wordpress, everybody able to create addons, and when user install the addons, our parent app will have additional feature and UI?
AIDL is only android internal communication between different Android Process with in the OS. afaik it does not support external sources. But there are other ways to achieve these kind functionality at the app level.
thanks bro
I can't rename the package name is 8:55, I try many times but it still is clinet not change to service, my android studio is Android Studio Electric Eel | 2022.1.1 Patch 1, please help me!
If i have two clients pointing to the same server, will server be just one process or will be one for each client?
Awesome
For some reason my client can’t seem to find the intent from my server. I did the service and the client main activity in kotlin but used the android open source to help. I’m pretty sure that my client connects to my server and I can run the client but when I click the button it doesn’t change color. I check the Logcat and it says can’t find intent. Please help me I am so confused I have been stuck for a week on this problem
Could you please check the update from Akhil Krishnan below. May be its the same issue.
1. We need to include android:process=":remote" attribute inside service tag for the latest Android version; otherwise, the service won't get bound in the client app. I lost a few hours trying to find that fix. Hopefully, this helps.
2. Add this line in your client app manifest file:
@@aosp_android_tollcafe for step 1 when I include the android:process=“:remote” where am I adding that…the way I call the intent in kotlin is (in my client Main activity):
Val intent = Intent(“AIDLCOLORSERVICE”)
Intent.setPackage(“com.example.aidlserver”)
I will add step 2 to my intent but where do I add step one?
@@aosp_android_tollcafe when I add
It says element queries isn’t allowed here and and when I try to run it it gives an error
@@aosp_android_tollcafe one more thing it says my server keeps stopping when I run the app on the client. I think this is for sure the issue
Also make sure your server app has package name in manifest
Hi in my case when I try to create AIDL file but stub class is not generate .
Must the server app be running before communication from the client app
It should be running.
@@dhruvakumar6964 Thanks
hello ,i have some problem in use the aidl, when i in client use the service, the service object is null
Please Help!!! How to rename AIDL directory in client app. Refactoring is performing the renaming operation throughout the project.
Thanks for this! Can you fix your playlists? I think they are not managed accordingly per topic. Anyways, keep up the good work!
Thanks, Bro. Glad that it helped. I will organize the contents of the channel soon.
chetta .. ! natil evideya...?
Even after adding query in client and adding process as remot also I'm getting same unable to start service intent, please can anyone help me out, I'm stuck debugging this , bit new to application debugging
would prefer the entire ide to be seen because some parts are cut out
Code link not working.
Hi Bro, Try again. Was doing some cleanups.
I am not able to install the apk. someone please help.
In my case the java (generated) never shows up
Make sure to use Android view in Project Pane. May be you are using Project view which does not show it. 👍
Very good tutorial.
Java is so fu**ed up.