Loading...

android-porting@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [android-porting] Porting FM In Android Along With The Application halli manjunatha Mon Apr 09 11:00:49 2012

Hi Ranganath,

Sorry for delayed response.

Even I never used this app on Eclipse.

But you can try it by removing the dependicies of JNI layer in FM RX
JAVA files (FM/FmRxApp/src/com/ti/fmrxapp/FmRxApp.java).

Regards
Manju

On Mon, Apr 2, 2012 at 12:22 AM, Ranganath TM <[EMAIL PROTECTED]> wrote:
> Hi Manjunath,
>
> Thanks for your time,
>
> I want to add the FMRXAPP to eclipse,
>
> I am not getting how to make it,
>
> because the Android SDK does not contain any FM Api's,
>
> please guide to resolve this issue.
>
> Thanks,
>
> Ranga
>
>
> On Fri, Mar 30, 2012 at 8:43 PM, halli manjunatha <[EMAIL PROTECTED]>
> wrote:
>>
>> The above mentioned link has kfmapp.c kfmapp.h and Android.mk copy all
>> these things in to a folder.
>>
>> In the parent folder within which this kfmapp folder is present you
>> have to have below line to use the Android.mk of kfmapp.
>>
>> include $(call first-makefiles-under,$(call my-dir))
>>
>> I think this will solve your problem.
>>
>> Regards
>> Manju
>>
>> On Fri, Mar 30, 2012 at 5:09 AM, Ranganath TM <[EMAIL PROTECTED]>
>> wrote:
>> > Hi Manjunath,
>> >
>> > can you please tell the .mk to add kfmapp so that I can build it.
>> >
>> >
>> > Thanks,
>> > Ranganath.T.M
>> >
>> >
>> > On Wed, Mar 28, 2012 at 4:17 AM, halli manjunatha <[EMAIL PROTECTED]>
>> > wrote:
>> >>
>> >> Just build you FM V4L2 driver as part of the your kernel and boot the
>> >> board.
>> >>
>> >> Once after booting the board you will have /dev/radio0 entry for your
>> >> FM
>> >> radio.
>> >>
>> >> Seems you need to change the /dev/radio0 permissions to "666"
>> >>
>> >> you can use the kfmapp (V4L2 compliant FM test application) at below
>> >> location to validate your FM driver.
>> >>
>> >>
>> >> http://git.omapzoom.org/?p=platform/hardware/ti/wpan.git;a=tree;f=tools/kfmapp;h=710184f873149f05c0550253419872ad8a0cce1d;hb=d03a9f4296d7b8523ad857dcf225287ab7d51a90
>> >>
>> >> So if your FM driver is fully compliant with the V4L2 specifications
>> >> then,
>> >>
>> >> copy the complete FM GUI solution to package/apps/ of your Android
>> >> source code and build it, this create following
>> >>
>> >> 1) system/lib/libfmradio.so
>> >> 2) system/etc/permissions/com.ti.fm.fmradioif.xml
>> >> 3) system/app/FmRxApp.apk
>> >> 4) system/app/FmTxApp.apk
>> >> 5) system/app/FmService.apk
>> >>
>> >>
>> >> Now copy these binaries to your filesystem and boot the board.
>> >>
>> >> Now you can see 2 icons on your android application pane one for FM RX
>> >> and one for FM TX, just launch the FM RX icon which eventually opens
>> >> the /dev/radio0
>> >>
>> >> Regards
>> >> Manju
>> >>
>> >> On Tue, Mar 27, 2012 at 10:37 AM, Ranganath TM
>> >> <[EMAIL PROTECTED]> wrote:
>> >> > Hi Manjunath,
>> >> >
>> >> > Thanks for your time,
>> >> >
>> >> > I am working on Snowball AP9500 processor,
>> >> >
>> >> > I am little bit confused about the folder structure,
>> >> >
>> >> > can you please guide me in adding the FM Module it.
>> >> >
>> >> > Thanks,
>> >> >
>> >> > Ranganath.T.M
>> >> >
>> >> >
>> >> > On Tue, Mar 27, 2012 at 8:46 PM, halli manjunatha
>> >> > <[EMAIL PROTECTED]>
>> >> > wrote:
>> >> >>
>> >> >> Hi Ranganath,
>> >> >>
>> >> >> If your driver is V4L2 compliant then you can just use the complete
>> >> >> solution straight forward with minimal changes to JNI part which is
>> >> >> at
>> >> >> service/src/jni/JFmRxNative.cpp for FM RX and
>> >> >> service/src/jni/JFmTxNative.cpp for FM TX
>> >> >>
>> >> >> Regards
>> >> >> Manju
>> >> >>
>> >> >> On Tue, Mar 27, 2012 at 5:22 AM, Ranganath TM
>> >> >> <[EMAIL PROTECTED]>
>> >> >> wrote:
>> >> >> > Hi Manjunatha,
>> >> >> >
>> >> >> > Thanks for your support,
>> >> >> >
>> >> >> > My FM driver is V4L2 complaint driver,
>> >> >> >
>> >> >> > can you please explain me where to modify,
>> >> >> >
>> >> >> > how can I proceed further.
>> >> >> >
>> >> >> > Thanks,
>> >> >> >
>> >> >> > Ranganath
>> >> >> >
>> >> >> > On Wed, Mar 21, 2012 at 9:12 PM, halli manjunatha
>> >> >> > <[EMAIL PROTECTED]>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> Hi Ranganath,
>> >> >> >>
>> >> >> >> I dont know about the AW chip but you can use the above mentioned
>> >> >> >> framework for your chip with little modifications as below
>> >> >> >>
>> >> >> >> Is your FM driver is a V4L2 compliant driver? if yes then you can
>> >> >> >> use
>> >> >> >> the
>> >> >> >> complete FM package as is without much modifications
>> >> >> >>
>> >> >> >> If your FM driver is not a V4L2 then you need to modify the JNI
>> >> >> >> part
>> >> >> >> of
>> >> >> >> the FM package means you just needs to rewrite the
>> >> >> >> FM/service/src/jni/JFmRxNative.cpp file for your driver
>> >> >> >>
>> >> >> >> Regards
>> >> >> >> Manju
>> >> >> >>
>> >> >> >> On Wed, Mar 21, 2012 at 9:13 AM, Saravanaperumal Annamalai
>> >> >> >> <[EMAIL PROTECTED]> wrote:
>> >> >> >>>
>> >> >> >>> Hi Ranganath,
>> >> >> >>>                You might also check this link if the FM chip is
>> >> >> >>> Si
>> >> >> >>> Labs
>> >> >> >>> one.
>> >> >> >>>
>> >> >> >>> http://mmbtools.crc.ca/content/view/53/33/
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> Regards
>> >> >> >>> Saravana
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> On Wed, Mar 21, 2012 at 12:37 AM, halli manjunatha
>> >> >> >>> <[EMAIL PROTECTED]>
>> >> >> >>> wrote:
>> >> >> >>>>
>> >> >> >>>> Hi Ranga,
>> >> >> >>>>
>> >> >> >>>> As for I know you wont find a standard  API set for FM radio in
>> >> >> >>>> Android, cos Google doesn't supports FM by default and so all
>> >> >> >>>> the
>> >> >> >>>> vendors are using there own home brew FM framework.
>> >> >> >>>>
>> >> >> >>>> One such thing is Texas Instruments FM radio solution below
>> >> >> >>>> links
>> >> >> >>>> give
>> >> >> >>>> you the details
>> >> >> >>>>
>> >> >> >>>> 1) driver -
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>>  
>> >> >> >>>> http://git.omapzoom.org/?p=kernel/omap.git;a=tree;f=drivers/media/radio/wl128x;h=231954bbc6a9e234cc2bfca53eb02f28b7a7d407;hb=460374248586421260dbffca91454907ff8c5ada
>> >> >> >>>>
>> >> >> >>>> 2) FM framework -
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>> http://git.omapzoom.org/?p=platform/hardware/ti/wpan.git;a=tree;f=tools/FM;h=3f950c8b2e0cae5f540caabb58a7f114cc78bb8f;hb=bebfa00ede52e48e205c9c8de4012b52184a9214
>> >> >> >>>>
>> >> >> >>>> Regards
>> >> >> >>>> Manju
>> >> >> >>>> Regards
>> >> >> >>>> Manju
>> >> >> >>>>
>> >> >> >>>> On Tue, Mar 20, 2012 at 2:05 AM, Ranganath TM
>> >> >> >>>> <[EMAIL PROTECTED]> wrote:
>> >> >> >>>> > Hi All,
>> >> >> >>>> >
>> >> >> >>>> > I am trying to port an FM in android GB, along with my
>> >> >> >>>> > application
>> >> >> >>>> > for
>> >> >> >>>> > AWNH580(Azurewave FM hardware module), but to write an
>> >> >> >>>> > application
>> >> >> >>>> > I don't have any specific API.
>> >> >> >>>> >
>> >> >> >>>> > please help to write an application and to port the FM
>> >> >> >>>> > module.
>> >> >> >>>> >
>> >> >> >>>> > Thanks,
>> >> >> >>>> > Ranga
>> >> >> >>>> >
>> >> >> >>>> > --
>> >> >> >>>> > unsubscribe: [EMAIL PROTECTED]
>> >> >> >>>> > website: http://groups.google.com/group/android-porting
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>> --
>> >> >> >>>> Regards
>> >> >> >>>> Halli
>> >> >> >>>>
>> >> >> >>>> --
>> >> >> >>>> unsubscribe: [EMAIL PROTECTED]
>> >> >> >>>> website: http://groups.google.com/group/android-porting
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> --
>> >> >> >>> Regards
>> >> >> >>> Saravana
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Regards
>> >> >> >> Halli
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Thanks And Regards
>> >> >> > Ranganath T.M
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Regards
>> >> >> Halli
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Thanks And Regards
>> >> > Ranganath T.M
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Regards
>> >> Halli
>> >
>> >
>> >
>> >
>> > --
>> > Thanks And Regards
>> > Ranganath T.M
>> >
>>
>>
>>
>> --
>> Regards
>> Halli
>
>
>
>
> --
> Thanks And Regards
> Ranganath T.M
>



-- 
Regards
Halli

-- 
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting