[android-developers] Re: FM radio Android Application Developement

2012-11-29 Thread bob
 

I was looking at the compatibility, and it only works with a few of my 
devices.  So, it may require something special.  I don't know what that 
special something is though.





On Wednesday, November 28, 2012 5:36:51 AM UTC-6, Karunakaran Vikash wrote:
>
> Sorry Bob... 
>   U r rite,,, without an FM radio module in device.. we can 
> implement it... 
> But we can add a new device  and writing a driver in kernel to work with 
> the android . am i rite ?? 
>
> On Monday, November 26, 2012 9:01:19 PM UTC+5:30, bob wrote:
>>
>> Well, the first step would be to buy it and see if it actually works.
>>
>> If it does, *then* you might ask how he made it.
>>
>>
>> On Wednesday, November 21, 2012 11:07:12 PM UTC-6, Karunakaran Vikash 
>> wrote:
>>>
>>> ya ,, this is an External Application only na.. then how he can made 
>>> it... ??
>>> Is there any other way for it... ?
>>>
>>>
>>>
>>>
>>> On Wednesday, November 21, 2012 10:57:52 AM UTC+5:30, Karunakaran Vikash 
>>> wrote:

 Hi ,
  I need to create a FM radio android application , is there any api 
 or methods for developing this...  anything available means ,just drop me 
 a 
 mail ..
 Any useful links , please update me... 

 THanks in Advance ... 

 Regards,
 V.Karunkaran



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: FM radio Android Application Developement

2012-11-28 Thread Karunakaran Vikash
Sorry Bob... 
  U r rite,,, without an FM radio module in device.. we can 
implement it... 
But we can add a new device  and writing a driver in kernel to work with 
the android . am i rite ?? 

On Monday, November 26, 2012 9:01:19 PM UTC+5:30, bob wrote:
>
> Well, the first step would be to buy it and see if it actually works.
>
> If it does, *then* you might ask how he made it.
>
>
> On Wednesday, November 21, 2012 11:07:12 PM UTC-6, Karunakaran Vikash 
> wrote:
>>
>> ya ,, this is an External Application only na.. then how he can made 
>> it... ??
>> Is there any other way for it... ?
>>
>>
>>
>>
>> On Wednesday, November 21, 2012 10:57:52 AM UTC+5:30, Karunakaran Vikash 
>> wrote:
>>>
>>> Hi ,
>>>  I need to create a FM radio android application , is there any api 
>>> or methods for developing this...  anything available means ,just drop me a 
>>> mail ..
>>> Any useful links , please update me... 
>>>
>>> THanks in Advance ... 
>>>
>>> Regards,
>>> V.Karunkaran
>>>
>>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: FM radio Android Application Developement

2012-11-26 Thread bob
 

Well, the first step would be to buy it and see if it actually works.

If it does, *then* you might ask how he made it.


On Wednesday, November 21, 2012 11:07:12 PM UTC-6, Karunakaran Vikash wrote:
>
> ya ,, this is an External Application only na.. then how he can made it... 
> ??
> Is there any other way for it... ?
>
>
>
>
> On Wednesday, November 21, 2012 10:57:52 AM UTC+5:30, Karunakaran Vikash 
> wrote:
>>
>> Hi ,
>>  I need to create a FM radio android application , is there any api 
>> or methods for developing this...  anything available means ,just drop me a 
>> mail ..
>> Any useful links , please update me... 
>>
>> THanks in Advance ... 
>>
>> Regards,
>> V.Karunkaran
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: FM radio Android Application Developement

2012-11-21 Thread Karunakaran Vikash
ya ,, this is an External Application only na.. then how he can made it... 
??
Is there any other way for it... ?




On Wednesday, November 21, 2012 10:57:52 AM UTC+5:30, Karunakaran Vikash 
wrote:
>
> Hi ,
>  I need to create a FM radio android application , is there any api or 
> methods for developing this...  anything available means ,just drop me a 
> mail ..
> Any useful links , please update me... 
>
> THanks in Advance ... 
>
> Regards,
> V.Karunkaran
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: FM radio Android Application Developement

2012-11-21 Thread bob
This guy seems to have done it:

https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock&hl=en



On Tuesday, November 20, 2012 11:27:52 PM UTC-6, Karunakaran Vikash wrote:
>
> Hi ,
>  I need to create a FM radio android application , is there any api or 
> methods for developing this...  anything available means ,just drop me a 
> mail ..
> Any useful links , please update me... 
>
> THanks in Advance ... 
>
> Regards,
> V.Karunkaran
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: FM radio Android Application Developement

2012-11-21 Thread Karunakaran Vikash
thank you :) 

On Wednesday, November 21, 2012 10:57:52 AM UTC+5:30, Karunakaran Vikash 
wrote:
>
> Hi ,
>  I need to create a FM radio android application , is there any api or 
> methods for developing this...  anything available means ,just drop me a 
> mail ..
> Any useful links , please update me... 
>
> THanks in Advance ... 
>
> Regards,
> V.Karunkaran
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Fm Radio

2010-12-20 Thread wolf
thanks mr Gaz Davidson for your time, you help a lot too

On Dec 19, 9:41 pm, Gaz Davidson  wrote:
> The FM radio app which everyone is using was apparently created by Code
> Aurora 
> (source),
> adapted up by the MiUI team  
> (website
> is in Chinese, source is on there somewhere), then made it into Cyanogenmod
> (source ) and other
> ROMs.
>
> I'm not sure how it works or exactly what firmwares are supported, but just
> by looking through the file names it looks like Code Aurora now have FM
> transmitter code working.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-20 Thread wolf
thanks mr bob for your time, can i ask you what job you have? if you
don't want don't tell me :)

On Dec 19, 11:53 pm, Bob Kerns  wrote:
> 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  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  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  wrote:> On Sat, 
> > > Dec 18, 2010 at 4:13 PM, wolf  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-20 Thread wolf
thanks mr. Howard for your time, i don't remember what is "HCI
commands" and "i2s", can you help me ? hmmm, and is need to have this
chip in the device ? and how i can use it ? via assembly language? i
can't configure the BT or WLAN to use it and receive low frequency ?

On Dec 19, 7:29 pm, "Howard M. Harte"  wrote:
> The FM radio receiver is built in to the same chip that does the WLAN
> and BT.  It is actually a third radio in those chips.  This is true of
> the Droid X, which uses the TI WL1271 BT/WLAN/FM chip, and many of the
> HTC and Samsung devices use the Broadcom BCM4329, which also has BT/
> WLAN/FM.
>
> I think vendor-specific HCI commands are used on the BT UART interface
> to tune the radio.  With some kernel hacking, it should be possible to
> snoop the HCI commands.
>
> The FM audio out is an analog stream that is fed into a mixer, but it
> is also possible to get digital audio out over i2s, and probably also
> the HCI interface, but I dont think that method is used.
>
> There is no FM standard API in Android, but it would be nice to create
> one
>
> -Howard
>
> On Dec 19, 3:14 am, wolf  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  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  wrote:> On Sat, 
> > > Dec 18, 2010 at 4:13 PM, wolf  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-19 Thread Bob Kerns
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  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  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  wrote:> On Sat, 
> > Dec 18, 2010 at 4:13 PM, wolf  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-19 Thread Gaz Davidson
The FM radio app which everyone is using was apparently created by Code 
Aurora 
(source),
 
adapted up by the MiUI team  (website 
is in Chinese, source is on there somewhere), then made it into Cyanogenmod 
(source ) and other 
ROMs.

I'm not sure how it works or exactly what firmwares are supported, but just 
by looking through the file names it looks like Code Aurora now have FM 
transmitter code working.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Fm Radio

2010-12-19 Thread Howard M. Harte
The FM radio receiver is built in to the same chip that does the WLAN
and BT.  It is actually a third radio in those chips.  This is true of
the Droid X, which uses the TI WL1271 BT/WLAN/FM chip, and many of the
HTC and Samsung devices use the Broadcom BCM4329, which also has BT/
WLAN/FM.

I think vendor-specific HCI commands are used on the BT UART interface
to tune the radio.  With some kernel hacking, it should be possible to
snoop the HCI commands.

The FM audio out is an analog stream that is fed into a mixer, but it
is also possible to get digital audio out over i2s, and probably also
the HCI interface, but I dont think that method is used.

There is no FM standard API in Android, but it would be nice to create
one

-Howard

On Dec 19, 3:14 am, wolf  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  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  wrote:> On Sat, 
> > Dec 18, 2010 at 4:13 PM, wolf  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-19 Thread wolf
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  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  wrote:> On Sat, Dec 
> 18, 2010 at 4:13 PM, wolf  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-18 Thread Bob Kerns
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  wrote:
> On Sat, Dec 18, 2010 at 4:13 PM, wolf  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Fm Radio

2010-12-18 Thread Mark Murphy
On Sat, Dec 18, 2010 at 4:13 PM, wolf  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.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-18 Thread wolf
thanks again mr bob, and how i can to view the code from FM Radio app?
i wish you good luck from everything you do!

On Dec 17, 5:06 pm, Bob Kerns  wrote:
> By the way, I got my build with the FM Radio app here:
>
> http://tinyurl.com/modoco-kitchen-with-fm
> (that's a shortened link to android.modoco.com).
>
> On Dec 17, 1:26 am, wolf  wrote:> thank you mr bob
>
> > On Dec 16, 1:58 pm, Bob Kerns  wrote:
>
> > > Well, I doubt HTC is going to tell you, so your best approach, I
> > > think, would either to see what the people who integrated it on to
> > > Nexus One did, or to reverse engineer the com.htc.fm app yourself.
>
> > > I suspect that's more trouble than it's worth, as the result won't be
> > > something that's supported, and will only work on a limited number of
> > > devices.
>
> > > On Dec 16, 12:59 am, wolf  wrote:> thanks mr brill, 
> > > you are closer than the other answer, i want to know
> > > > how the FM Radio app is work, the code, not how to use it in my
> > > > programs.
>
> > > > On Dec 15, 3:07 pm, Bob Kerns  wrote:

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-18 Thread wolf
i don't need streaming radio, thanks mr Brill for your time i wish
you good luck for your (programming) problems

On Dec 17, 4:08 pm, Brill Pappin  wrote:
> If you mean streaming radio, then you need to be looking up streaming audio
> in Android.
>
> Those apps will use some sort of converter to encode the audio and send it
> out via socket to the app. the app will simply connect and play.
>
> If you are looking for a streaming server, try Red5.
>
> - Brill

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-17 Thread Bob Kerns
By the way, I got my build with the FM Radio app here:

http://tinyurl.com/modoco-kitchen-with-fm
(that's a shortened link to android.modoco.com).

On Dec 17, 1:26 am, wolf  wrote:
> thank you mr bob
>
> On Dec 16, 1:58 pm, Bob Kerns  wrote:
>
>
>
>
>
>
>
> > Well, I doubt HTC is going to tell you, so your best approach, I
> > think, would either to see what the people who integrated it on to
> > Nexus One did, or to reverse engineer the com.htc.fm app yourself.
>
> > I suspect that's more trouble than it's worth, as the result won't be
> > something that's supported, and will only work on a limited number of
> > devices.
>
> > On Dec 16, 12:59 am, wolf  wrote:> thanks mr brill, 
> > you are closer than the other answer, i want to know
> > > how the FM Radio app is work, the code, not how to use it in my
> > > programs.
>
> > > On Dec 15, 3:07 pm, Bob Kerns  wrote:

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-17 Thread Brill Pappin
If you mean streaming radio, then you need to be looking up streaming audio 
in Android.

Those apps will use some sort of converter to encode the audio and send it 
out via socket to the app. the app will simply connect and play.

If you are looking for a streaming server, try Red5.

- Brill

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Fm Radio

2010-12-17 Thread wolf
thank you mr bob

On Dec 16, 1:58 pm, Bob Kerns  wrote:
> Well, I doubt HTC is going to tell you, so your best approach, I
> think, would either to see what the people who integrated it on to
> Nexus One did, or to reverse engineer the com.htc.fm app yourself.
>
> I suspect that's more trouble than it's worth, as the result won't be
> something that's supported, and will only work on a limited number of
> devices.
>
> On Dec 16, 12:59 am, wolf  wrote:> thanks mr brill, you 
> are closer than the other answer, i want to know
> > how the FM Radio app is work, the code, not how to use it in my
> > programs.
>
> > On Dec 15, 3:07 pm, Bob Kerns  wrote:

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-16 Thread Bob Kerns
Well, I doubt HTC is going to tell you, so your best approach, I
think, would either to see what the people who integrated it on to
Nexus One did, or to reverse engineer the com.htc.fm app yourself.

I suspect that's more trouble than it's worth, as the result won't be
something that's supported, and will only work on a limited number of
devices.

On Dec 16, 12:59 am, wolf  wrote:
> thanks mr brill, you are closer than the other answer, i want to know
> how the FM Radio app is work, the code, not how to use it in my
> programs.
>
> On Dec 15, 3:07 pm, Bob Kerns  wrote:

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-16 Thread wolf
thanks mr brill, you are closer than the other answer, i want to know
how the FM Radio app is work, the code, not how to use it in my
programs.

On Dec 15, 3:07 pm, Bob Kerns  wrote:
> I'm reasonably sure he means FM radio. Like the FM Radio app that
> showed up on my Google Nexus One after updating with a MoDoCo build,
> which uses the headset as an antenna, and the phone really does
> operate as an FM radio receiver. Like I'm listening to right now.
>
> Apparently the radio chip supports low-power FM transmit, too. I would
> be curious if that has been through the FCC certification process, but
> I bet it gets enabled in the non-stock builds soon anyway. Presumably
> this will enable you to play your tunes on an
>
> I have no idea of the API involved in turning it on. But once on, it
> is fed through the Media audio stream.
>
> The package name is 'com.htc.fm', so draw your own conclusions.
>
> On Dec 13, 7:18 pm, Brill Pappin  wrote:> I don't remember 
> seeing any API for FM Radio... do you mean steaming radio?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-15 Thread Bob Kerns
I'm reasonably sure he means FM radio. Like the FM Radio app that
showed up on my Google Nexus One after updating with a MoDoCo build,
which uses the headset as an antenna, and the phone really does
operate as an FM radio receiver. Like I'm listening to right now.

Apparently the radio chip supports low-power FM transmit, too. I would
be curious if that has been through the FCC certification process, but
I bet it gets enabled in the non-stock builds soon anyway. Presumably
this will enable you to play your tunes on an

I have no idea of the API involved in turning it on. But once on, it
is fed through the Media audio stream.

The package name is 'com.htc.fm', so draw your own conclusions.

On Dec 13, 7:18 pm, Brill Pappin  wrote:
> I don't remember seeing any API for FM Radio... do you mean steaming radio?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-15 Thread wolf
thanks again!!!

On Dec 14, 9:48 pm, FrankG  wrote:
> I'm in doubt that he will get an answer for this question,
> even in more fiirmware related groups.
>
> On 14 Dez., 11:56, Mark Murphy  wrote:> On Tue, Dec 
> 14, 2010 at 4:29 AM, wolf  wrote:
> > > thanks mr. mark, but i don't want to use it via Android SDK but i want
> > > to know how it's works
>
> > There is no FM radio in Android, period. Some Android devices may have
> > FM radio capability, via firmware modifications made by those device
> > manufacturers.
>
> > Even if there were FM radio support in the Android firmware, this is
> > the wrong list for it. Firmware questions belong on a list that
> > pertains to the firmware:
>
> >http://source.android.com/community/index.html
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> > Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-14 Thread FrankG
I'm in doubt that he will get an answer for this question,
even in more fiirmware related groups.


On 14 Dez., 11:56, Mark Murphy  wrote:
> On Tue, Dec 14, 2010 at 4:29 AM, wolf  wrote:
> > thanks mr. mark, but i don't want to use it via Android SDK but i want
> > to know how it's works
>
> There is no FM radio in Android, period. Some Android devices may have
> FM radio capability, via firmware modifications made by those device
> manufacturers.
>
> Even if there were FM radio support in the Android firmware, this is
> the wrong list for it. Firmware questions belong on a list that
> pertains to the firmware:
>
> http://source.android.com/community/index.html
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Fm Radio

2010-12-14 Thread Mark Murphy
On Tue, Dec 14, 2010 at 4:29 AM, wolf  wrote:
> thanks mr. mark, but i don't want to use it via Android SDK but i want
> to know how it's works

There is no FM radio in Android, period. Some Android devices may have
FM radio capability, via firmware modifications made by those device
manufacturers.

Even if there were FM radio support in the Android firmware, this is
the wrong list for it. Firmware questions belong on a list that
pertains to the firmware:

http://source.android.com/community/index.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-14 Thread wolf
thanks mr. mark, but i don't want to use it via Android SDK but i want
to know how it's works

On Dec 13, 11:04 pm, Mark Murphy  wrote:
> On Sat, Dec 11, 2010 at 8:31 AM, wolf  wrote:
> > how the fm radio it works on android phones ? i mean, can you send me
> > the code or example ? i don't want how to use it, but the program code
> > i want. I want it for education purpose. it use assemble and java ? or
> > something like that ?
>
> There is no support in the Android SDK for FM radio.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-14 Thread wolf
thanks for the response, no i mean how it's works, not how i use API
or the FM Radio from android

On Dec 14, 5:18 am, Brill Pappin  wrote:
> I don't remember seeing any API for FM Radio... do you mean steaming radio?
>
> - Brill

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-13 Thread Gulfam
There is no API available for FM radio in android, but you can play
audio from stream.
and there is a tutorial available in Android API demo to Play audio
from stream.

Gulfam

On Dec 11, 6:31 pm, wolf  wrote:
> how the fm radio it works on android phones ? i mean, can you send me
> the code or example ? i don't want how to use it, but the program code
> i want. I want it for education purpose. it use assemble and java ? or
> something like that ?
>
> Thanks!!!
>
> p.s. sorry for my bad english

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Fm Radio

2010-12-13 Thread Brill Pappin
I don't remember seeing any API for FM Radio... do you mean steaming radio?

- Brill

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: FM Radio

2009-01-09 Thread Dave Sparks

There is no platform support for this yet. You should take this up in
android-platform.

On Jan 8, 11:58 am, jas_h  wrote:
> Hi,
>
> Is there a FM receiver or transmitter application available on the
> Android platform?
> What is preferred - HCI or I2C?
> What about RDS?
>
> Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---