maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 FM Radio Calling (https://talk.maemo.org/showthread.php?t=42268)

Roeland 2010-12-16 13:07

Re: N900 FM Radio Calling
 
Maybe I should work this out further, will have a look at it this weekend what I can implement.

phonenumber as rds text should be simple with the fmtx_client.

Does someone know if it is possible on the n900 to activate the speaker programmaticaly? I found a solution for maemo but this isn't working for n900

MaddogG 2010-12-16 13:17

Re: N900 FM Radio Calling
 
Quote:

Originally Posted by Roeland (Post 898047)
Does someone know if it is possible on the n900 to activate the speaker programmaticaly? I found a solution for maemo but this isn't working for n900

Maybe this could help (Phone Speakers Switcher). I don't know, I never tried it.

Roeland 2010-12-16 22:10

Re: N900 FM Radio Calling
 
1 Attachment(s)
Thanks, this helped me!

I made some progress:
  • Store the original sound settings before routing the sound,
  • "Phone number can be transmitted by RDS to the radio BEFORE accepting the call." (not tested, will I do tommorow morning while driving to work)
  • Most important:
    When the application is running and a incoming or outgoing call is initiated:
    • fmtxd is started
    • routing through the fm-transmitter will be done automatically (no need for enabling the speaker and hitting the button)

So in fact the fm-carkit is doing what it supposed to be doing, act as a carkit :)

Next step is a nice widget or adding a profile to the phone settings.

Again, source is attached for people interrested. I will look into adding this to the repositories, so it can be installed with application manager.

Roeland 2010-12-17 08:44

Re: N900 FM Radio Calling
 
Incoming calls works perfectly, except for the number in rds. So maybe I will change this to the radio station name as the phonenumber.

jasonisdavid 2010-12-18 16:38

Re: N900 FM Radio Calling
 
Dont suppose someone could point me in the direction on how to make an usable file from the source can they?

Thank you in advance!

Roeland 2010-12-18 16:47

Re: N900 FM Radio Calling
 
you have to compile the source within for example a scratchbox environment, and copy the created binary to your phone.

You can compile the source with the 'make' command.

Tommorow I will spent some time to create a .deb package.

Aranel 2010-12-18 16:56

Re: N900 FM Radio Calling
 
Looks like another very cool project is beginning :) Hope to see a GUI version soon.

Send me a PM if you need any help (or if you're just too lazy :P) about packaging.

Roeland 2010-12-20 09:09

Re: N900 FM Radio Calling
 
1 Attachment(s)
Thanks to Aranel, helping me packing the fm-carkit application.

I haven't tested it without the patched version of fmtxd, so I will do that and if it's not working then I add this to the todo list.

Todo:
- (Automaticaly patch fmtxd from a settings screen)
- Speed up configuring the sound settings, sometimes it takes up to 8 seconds after a call is intiated
- GUI

systemcrash 2010-12-20 09:40

Re: N900 FM Radio Calling
 
Nice work!

Are aware of this other thread? Maybe both projects could be synchronized...

jasonisdavid 2010-12-20 12:35

Re: N900 FM Radio Calling
 
Quote:

Originally Posted by Roeland (Post 900389)
Thanks to Aranel, helping me packing the fm-carkit application.

I haven't tested it without the patched version of fmtxd, so I will do that and if it's not working then I add this to the todo list.

Todo:
- (Automaticaly patch fmtxd from a settings screen)
- Speed up configuring the sound settings, sometimes it takes up to 8 seconds after a call is intiated
- GUI

Not sure if anyone else is getting this but Appman gives me a corrupt message?

edit: nevermind, installed it from xterm.


All times are GMT. The time now is 09:08.

vBulletin® Version 3.8.8