[Click Android Development] KalimochoAz:
I know that we need kernel drivers /dev/radio0 as ivendor said long time ago ( I agree ). Meanwhile we have not solved that point I'm trying to see how it works. As polimorphyc creation i tryed to use new FMReceiver(); so no path needed and thats the log. Well it seams I have more work to do in order to understand fully this application and its needs.

Log:

I/ActivityManager( 124): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.fm/.radio.FMRadio }

I/ActivityManager( 124): Start proc com.android.fm for activity com.android.fm/.radio.FMRadio: pid=628 uid=10015 gids={3002, 3001, 3003, 1015}

D/FMRadio ( 628): Load preferences

D/FMRadio ( 628): =====================================================

D/FMRadio ( 628): Country :0

D/FMRadio ( 628): RadioBand :0

D/FMRadio ( 628): Emphasis :0

D/FMRadio ( 628): ChSpacing :0

D/FMRadio ( 628): RdsStd :0

D/FMRadio ( 628): LowerLimit :87500

D/FMRadio ( 628): UpperLimit :107900

D/FMRadio ( 628): =====================================================

D/FMRadio ( 628): Load preferences

D/FMRadio ( 628): =====================================================

D/FMRadio ( 628): Country :0

D/FMRadio ( 628): RadioBand :0

D/FMRadio ( 628): Emphasis :0

D/FMRadio ( 628): ChSpacing :0

D/FMRadio ( 628): RdsStd :0

D/FMRadio ( 628): LowerLimit :87500

D/FMRadio ( 628): UpperLimit :107900

D/FMRadio ( 628): =====================================================

D/FMRadio ( 628): onCreate - Height : 320 - Width : 240

E/FMRadio ( 628): bindToService: Context with serviceconnection callback

D/FMRadio ( 628): onCreate: Start Service completed successfully

D/FMRadio ( 628): FMRadio: onStart

D/FMRadio ( 628): FMRadio: onStart -> mService is null

D/FMRadio ( 628): FMRadio: onResume

D/FMRadio ( 628): Load preferences

D/FMRadio ( 628): =====================================================

D/FMRadio ( 628): Country :0

D/FMRadio ( 628): RadioBand :0

D/FMRadio ( 628): Emphasis :0

D/FMRadio ( 628): ChSpacing :0

D/FMRadio ( 628): RdsStd :0

D/FMRadio ( 628): LowerLimit :87500

D/FMRadio ( 628): UpperLimit :107900

D/FMRadio ( 628): =====================================================

E/FMRadio ( 628): isAntennaAvailable: false

D/FMRadio ( 628): Load preferences

D/FMRadio ( 628): =====================================================

D/FMRadio ( 628): Country :0

D/FMRadio ( 628): RadioBand :0

D/FMRadio ( 628): Emphasis :0

D/FMRadio ( 628): ChSpacing :0

D/FMRadio ( 628): RdsStd :0

D/FMRadio ( 628): LowerLimit :87500

D/FMRadio ( 628): UpperLimit :107900

D/FMRadio ( 628): =====================================================

D/FMService( 628): StartId: 1

D/FMService( 628): onStartCommand: Intent received -> Intent { cmp=com.android.fm/.radio.FMRadioService }

D/FMService( 628): onBind

D/FMService( 628): onCallStateChanged: State - 0

D/FMService( 628): ACTION_HEADSET_PLUG Intent received

D/FMService( 628): mReceiver: ACTION_HEADSET_PLUG

D/FMService( 628): ==> intent: Intent { act=android.intent.action.HEADSET_PLUG flg=0x40000000 (has extras) }

D/FMService( 628): state: 1

D/FMService( 628): name: Headset

I/FMRadio ( 628): onServiceConnected: mCallback

E/FMRadio ( 628): ServiceConnection: onServiceConnected:

D/FMRadio ( 628): asyncCheckAndEnableRadio

I/ActivityManager( 124): Displayed activity com.android.fm/.radio.FMRadio: 3300 ms (total 3300 ms)

D/FMService( 628): unMute:

D/FMService( 628): fmOn

I/AudioService( 124): AudioFocus requestAudioFocus() from android.media.AudioManager@43ba3ac0com.android.fm.radio.FMRadioService$2@43b8ca08

D/FMService( 628): Kalimocho mReceiver has to be enabled

D/FMService( 628): Kalimocho mReceiver has to be created

D/FMService( 628): Kalimocho mReceiver going ON

D/FMService( 628): fmOn: RadioBand :0

D/FMService( 628): fmOn: Emphasis :0

D/FMService( 628): fmOn: ChSpacing :0

D/FMService( 628): fmOn: RdsStd :0

D/FMService( 628): fmOn: LowerLimit :87500

D/FMService( 628): fmOn: UpperLimit :107900

D/FMService( 628): Kalimocho mReceiver.enable done, Status :true

D/FMService( 628): In startFM

D/FMService( 628): registerRdsGroupProcessing done, Status :true

D/FMService( 628): enableAutoAF: true

D/FMService( 628): enableAutoAF done, Status :false

D/FMService( 628): setLowPowerMode: false

D/FMService( 628): setLowPowerMode done, Status :true

D/FMService( 628): setInternalAntenna done, Status :true

D/FMService( 628): getInternalAntenna: false

E/FMRadio ( 628): isAntennaAvailable: true

D/FMService( 628): tuneRadio: 97.3

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

E/FMRadio ( 628): isAntennaAvailable: true

D/FMService( 628): tuneRadio: 97.1

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

D/FMService( 628): tuneRadio: 100.9

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

D/FMService( 628): tuneRadio: 103.9

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

D/FMService( 628): tuneRadio: 102.5

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

D/FMService( 628): tuneRadio: 96.3

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

D/FMService( 628): tuneRadio: 94.5

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

D/FMService( 628): tuneRadio: 94.1

D/FmRxControls( 628): ** Tune Using: 0

D/FmRxControls( 628): ** Returned: 0

D/FMService( 628): mute:

D/FMService( 628): fmOff

I/AudioService( 124): AudioFocus abandonAudioFocus() from android.media.AudioManager@43ba3ac0com.android.fm.radio.FMRadioService$2@43b8ca08

D/FMService( 628): In stopFM

E/FMRadio ( 628): isAntennaAvailable: true

D/FMRadio ( 628): toggleRadioOffBluetoothBehavior

D/FMRadio ( 628): toggleRadioOffBluetoothBehavior: Preference is to leave BT adapter on so not disabling

D/FMRadio ( 628): Save preferences

D/FMRadio ( 628): FMRadio: onStop

E/FMRadio ( 628): unbindFromService: Context

D/FMRadio ( 628): onDestroy: unbindFromService completed

D/FMService( 628): onUnbind

D/FMService( 628): onDestroy

D/FMService( 628): onDestroy: Giving up audio focus

I/AudioService( 124): AudioFocus abandonAudioFocus() from android.media.AudioManager@43ba3ac0com.android.fm.radio.FMRadioService$2@43b8ca08

D/FMService( 628): fmOff

I/AudioService( 124): AudioFocus abandonAudioFocus() from android.media.AudioManager@43ba3ac0com.android.fm.radio.FMRadioService$2@43b8ca08

D/FMService( 628): In stopFM

D/FMService( 628): onDestroy: unbindFromService completed

D/FMService( 628): mDelayedStopHandler: stopSelf