Apple AirPlay is a way to send music, videos, and images from macOS and iOS devices to a HomePod or other Apple device as well as other third-party receivers.
Apple has not yet made it possible for Android or Chrome OS devices to connect to AirPlay devices in an official manner. Fortunately, in the meantime, independent developers have created a means to AirPlay music from Android smartphones.
Steps to Make AirPlay Work On Android Devices
Download AirMusic from the Google Play Store
Since a rooted device lets you record audio from all apps, you can purchase the full app without needing to download the trial app. However, you’re welcome to download the trial app first.
Set up the app to work with AirPlay
To change your audio source, head to General Settings and then tap on Select Your Audio-Source. From there, tap Via Root: All internal audio.
Connect to your AirPlay device
If you want to transfer audio from an AirMusic gadget to an AirPlay device, tap on the AirPlay device you want to connect to.
Press play
To start streaming music from your rooted AirPlay device to your other AirPlay-enabled devices, open the AirMusic app on your rooted device and select the device you want to stream to. Then open the music app of your choice and start playing music. ..
Final Words
To cast from an Android device to an iPhone or iPad, you will need to use a third-party app like CastBox or AirCast.