I'm not about to spend my time on producing an example or even
tracking it down, as I just don't have the time.

But it looks like Gaz Davidson has tracked one down -- though it's
different than the app on my phone, which appears to have been created
by HTC. This is good news for you, actually, since the one he located
is open source!

You can't use the bluetooth antenna; that would be vastly too short.
It uses the headset wire as an antenna, which isn't really great as an
antenna, but is adequate if you have a good signal available in your
area. Just plugin in your headset! Phones that support this will have
the necessary connection from the headset wiring to the radio chip.

What do I think about this? I think it's a cool application of some
cool technology for constructing radios. Not terribly important -- FM
will eventually be supplanted by radio over IP, IMO, and I don't often
listen to it anymore. But cool, nonetheless.

The HTC radio app is pretty slickly done but basic. The Code Aurora
one I haven't seen, but from glancing at the code appears to have the
ability to record. I've often wanted an "instant replay" button on
radios like you can enable for TiVo (but is disabled/hidden by
default, grr...). Not that I have time to watch TV anymore either...

On Dec 19, 3:14 am, wolf <[email protected]> wrote:
> do you can make me an a example code ? and a sketch with a example
> phone how it works ? can i use the bluetooth as an antenna (yes i know
> it's have own API and it's works on 2.4 Ghz and the radio usually 87.5
> to 108.0 MHz) ? do you know how to use the headphones as antenna or wi-
> fi or whatever ? what do you think about this? do you have το suggest
> me a site ? thanks mr bob for your time, you help me a lot!!!! sorry
> for my bad english ....... p.s. i am search wikipedia and other sites,
> i have make a simple plan. Do you work on FM Radio ? and how it's
> works low level phone access ? hmmm... maybe can help me very
> very ......
>
> On Dec 19, 1:44 am, Bob Kerns <[email protected]> wrote:
>
>
>
>
>
>
>
> > 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

Reply via email to