Me, either. But I'll speculate as to how it works. Phones are radios. The radio signal is processed and decoded into audio, and fed into the audio streams. The mechanisms for this are open source.
The FM radio signal is a radio signal that is processed and decoded into audio. I bet it works much the same way. So, if you're serious about figuring it out, I'd start by going and learning how the low level phone access works (i.e. how the audio is routed from radio to audio mixer). That part is open source. Then I'd start reverse engineering, and find what calls the FM radio app is making that are similar to how the phone works to set up the audio stream for phone callls, and from there, I'd look for what's different, that might be how it tells the radio what stream to route to where. I doubt there's an easier way to do it, if that's how it's set up to work. If, on the other hand, it's just exposed as a separate device, I'd look at what device drivers are added to the kernel, and look to see how the FM Radio app turns it on and accesses it. (And the FM Radio functionality does have to be specifically turned on by the app. I'm guessing it's normally disabled due to battery consumption, but I don't really know). On Dec 18, 1:19 pm, Mark Murphy <[email protected]> wrote: > On Sat, Dec 18, 2010 at 4:13 PM, wolf <[email protected]> wrote: > > thanks again mr bob, and how i can to view the code from FM Radio app? > > I am not aware of any "FM Radio" apps for Android that are open source. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

