AOSP for FM Radio lacks an API. Therefore, you cannot create a radio-enabled application. At the same time, SE offered its solution to support radio communications, but it is still not included in the main industry. You can read about it here .
At the same time, in some custom roms you can already find examples of how to play with the radio. For example, here is the application code that is included in Cyanogenmod. You can create and install this application on your phone and see if it works. If so, you can build your application based on this approach.
Also check the response from the previous post.
source share