maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] QML Radio for Harmattan (https://talk.maemo.org/showthread.php?t=82498)

gionni88 2012-02-21 21:19

[Announce] QML Radio for Harmattan
 
After the QWidget version (QRadio), it was time for the qml one.

A big thanks goes to Javispedro who has written the fmrx daemon and qt plugin to allow developers to use QRadioTuner. And it even works better than the N900 QRadioTuner class!

http://img836.imageshack.us/img836/2...1220552.th.png http://img815.imageshack.us/img815/9...1220541.th.png http://img62.imageshack.us/img62/932...1220613.th.png http://img52.imageshack.us/img52/411...1220530.th.png http://img696.imageshack.us/img696/8...1220514.th.png

You must have developer mode active and install Javispedro's debs from here.

You must install all the three debs Javispedro provided. Use the terminal to do so with dpkg. If you have no clue what dpkg is this is what to do:
Put all the 3files in the MyDocs folder (it's the first one you get when putting the device in mass memory mode).
Open terminal:
Code:

devel-su
press enter than type
Code:

rootme
which is default root password. Press enter.
Code:

dpkg -i /home/user/MyDocs/fmrx*
and press enter.

Than install app from here.

laren0 2012-02-21 21:25

Re: [Announce] QML Radio for Harmattan
 
gionni88 You'll make it for n900?

gionni88 2012-02-21 21:31

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by laren0 (Post 1168010)
gionni88 You'll make it for n900?

Yes I'll make it for N900 aswell. But will require CSSU and QtComponents.

laren0 2012-02-21 21:37

Re: [Announce] QML Radio for Harmattan
 
GREAT :) with it's not the problem. I use Your Internetradioplayerqml on n900

gabriel9 2012-02-21 22:05

Re: [Announce] QML Radio for Harmattan
 
So this is native app for N9, nice one. :)

Kozzi 2012-02-21 22:21

Re: [Announce] QML Radio for Harmattan
 
will the usage require developer mode after installation?

youmeego 2012-02-21 22:51

Re: [Announce] QML Radio for Harmattan
 
is it internet radio or fm radio?

myname24 2012-02-21 22:54

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by youmeego (Post 1168053)
is it internet radio or fm radio?

This is FM radio

Aranel 2012-02-22 17:54

Re: [Announce] QML Radio for Harmattan
 
Works pretty good, minor issues I noticed:

a) It would be much better to show controls on favorites screen on portait mode.

b) UI is not self explanatory.

c) It doesn't give any sound sometimes, I had to stop/start radio to get it working again.

Thank you :)

gionni88 2012-02-23 23:31

Re: [Announce] QML Radio for Harmattan
 
Version 0.0.4, download it here.

Changed stations list edit mode to toggle button.
Added shake to control option.

@laren0: alpher than alpha N900 version here.

YavkatA 2012-02-24 06:37

Re: [Announce] QML Radio for Harmattan
 
Great App!! Thank you!


Quote:

Originally Posted by Aranel (Post 1168403)
c) It doesn't give any sound sometimes, I had to stop/start radio to get it working again.

Noticed that too. It happens to me almost every time I scan up/down. It finds the next station, prints the name, but sound stops, and I have to go to settings-> stop radio, and then start it again. I also get the following in dmesg:
Code:

[101433.937408] wl1273-fm 3-0022: wl1273_fm_write_cmd: Cmd: 102 fails.
EDIT: Oddly enough, after I reflashed the device and upgraded to PR 1.2, and then reinstalled the radio app, I no longer have this problem. Maybe it was a firmware bug?

Zelig 2012-03-04 17:20

Re: [Announce] QML Radio for Harmattan
 
installed it, but it doesn't work... N9, PR1.2, dev mode on... latest fmrx 0.2.0 downloaded from the link in the first post even can't be installed - getting "can't install - invalid installation package"... installed fmrx 0.1.3 with success, then installed QML Radio 0.0.4, app started, but it just doesn't work for me... can't scan, can't hear even a white noise... any idea?

gionni88 2012-03-05 11:58

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by Zelig (Post 1174233)
installed it, but it doesn't work... N9, PR1.2, dev mode on... latest fmrx 0.2.0 downloaded from the link in the first post even can't be installed - getting "can't install - invalid installation package"... installed fmrx 0.1.3 with success, then installed QML Radio 0.0.4, app started, but it just doesn't work for me... can't scan, can't hear even a white noise... any idea?

You must install all the three debs Javispedro provided. Use the terminal to do so with dpkg. If you have no clue what dpkg is this is what to do:
Put all the 3files in the MyDocs folder (it's the first one you get when putting the device in mass memory mode).
Open terminal
Type "devel-su", press enter than type "rootme".
Type "dpkg -i /home/user/MyDocs/fmrx*" and press enter.

Zelig 2012-03-05 12:36

Re: [Announce] QML Radio for Harmattan
 
thanks, mate - it works now... just a suggestion - include these tips into the first post, just to avoid these kind of questions I've been asking...

Z3tor 2012-03-11 11:46

Re: [Announce] QML Radio for Harmattan
 
Thanks for this awesome app! Some of feature requests though.

1. Implement automatic stations scan and save to stations list with rds station name.

2. When manually adding stations to list, suggest current rds station name instead of empty/last input.

3. Add more quick station slots. And show station name instead of frequency.

gionni88 2012-03-11 17:26

Re: [Announce] QML Radio for Harmattan
 
Version 0.0.6:
  • Signal strenght is now shown.
  • Added AutoScan feature (will spam your stations list, be aware).
  • Adding a station will set the RDS name in the text field.

Options to come: exporting/importing stations lists, to create presets for different places/to suit everyone's tastes.

Download it here.

EDIT: forgot the download link...

RobertHall 2012-03-11 17:49

Re: [Announce] QML Radio for Harmattan
 
it may be better to start putting the updated versions in the original post...rather than having to go through all the pages to find the newest
version....

gionni88 2012-03-11 18:00

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by RobertHall (Post 1177952)
it may be better to start putting the updated versions in the original post...rather than having to go through all the pages to find the newest
version....

I agree, it's too hard to check the last post having the updated deb there.

Anyway the first post has the link to the latest version, I have to post something to bump the thread.

jalyst 2012-03-11 18:11

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by gionni88 (Post 1177939)
Version 0.0.6:
  • Signal strenght is now shown.
  • Added AutoScan feature (will spam your stations list, be aware).
  • Adding a station will set the RDS name in the text field.

Options to come: exporting/importing stations lists, to create presets for different places/to suit everyone's tastes.

Download it here.

EDIT: forgot the download link...

Wow this is becoming quite slick, nice job gionni & especially jpedro ;)

Z3tor 2012-03-11 19:43

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by gionni88 (Post 1177939)
Version 0.0.6:
  • Signal strenght is now shown.
  • Added AutoScan feature (will spam your stations list, be aware).
  • Adding a station will set the RDS name in the text field.

Options to come: exporting/importing stations lists, to create presets for different places/to suit everyone's tastes.

Download it here.

EDIT: forgot the download link...


Sweet! Thanks a bunch!

laren0 2012-03-11 20:00

Re: [Announce] QML Radio for Harmattan
 
gionni88 version for maemo5 was stop on 0.0.3? Or You will make new version?

Zelig 2012-03-20 00:42

Re: [Announce] QML Radio for Harmattan
 
I can't find the way to turn loudspeaker on when headphones are plugged in to act as an antenna?! is it possible?

gionni88 2012-03-20 20:50

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by Zelig (Post 1181717)
I can't find the way to turn loudspeaker on when headphones are plugged in to act as an antenna?! is it possible?

I have not added loudspeaker support yet.

Zelig 2012-03-20 20:55

Re: [Announce] QML Radio for Harmattan
 
oh, so... well, there's a little "workaround" for that - with no headphones, and usb cable plugged in, the reception is more than enough, and loudspeaker is on ;)

gionni88 2012-03-23 14:39

Re: [Announce] QML Radio for Harmattan
 
Version 0.0.7. Added menu option to switch on the loudspeaker.
Download link.

@laren0: I'm waiting new inean QtComponents for fremantle, since I'm using same code both for the harmattan and the fremantle version. Anyway not all the updates from 0.0.4 and up will work on fremantle, due to bugged QtMobility (ex: if you try to use the autoscan feature, radio hangs on N900).

bouznak 2012-03-24 18:31

Re: [Announce] QML Radio for Harmattan
 
Thx you Gionni. Your app is way better in term of features that the FM radio one by Kozhanov (now avalaible on store but not free). Keep up the good work and thank you again !

strongm 2012-03-24 20:11

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by bouznak (Post 1183688)
now avalaible on store but not free

The free version is still available. The paid for version is, as far as I can tell, more-or-less just a reskin.

Z3tor 2012-03-31 10:18

Re: [Announce] QML Radio for Harmattan
 
Im having troubles with radio playback while using Sports Tracker and bluetooth heart rate belt. Radio playback stops randomly. I can start radio from menu, but after a random time playback stops. If i wait playback starts automaticly, but stops again after a while. Any ideas? could it be that the bt hr belt is intefering fm reciever?

jalyst 2012-03-31 11:49

Re: [Announce] QML Radio for Harmattan
 
I may be completely wrong but I suspect this is largely to do with how the radio daemon's implemented.
It may never be a good as originally hoped, thanks to Nokia withdrawing their help approx. 6wks ago :mad: :(

gionni88 2012-03-31 12:16

Re: [Announce] QML Radio for Harmattan
 
@Z3tor: blueooth and radio fm are physically on the same chip, but I'm able to use bluetooth headset to listen radio without any trouble.
I think SportsTracker has some sorts of audio notifications which requires audio policies (so the audio playback right of QMLRadio is revoked). When you hit "Start Radio" the application asks for audio playback privilegies, so it takes those back. Try to disable any audio notifications, if possible.

@jalyst: radio fm on the n9 works wonderfully now: there is no hangups, microphone works good and resource policies do their duties very well and RDS infos are retrieved very fast. If you wanna ruin your weekend try to implement the radio on N900 and you'll struggle not to smash it with an hammer. Tested myself :P

jalyst 2012-03-31 14:04

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by gionni88 (Post 1186442)
@jalyst: radio fm on the n9 works wonderfully now: there is no hangups, microphone works good and resource policies do their duties very well and RDS infos are retrieved very fast.

Really? Zero issues/limitations now? I'm quite surprised by that if true.

If it's all working so well now, why not any shift towards focusing on FMTX?
(Maybe there has been, TBH I haven't been following the main thread for a while)

Last time jpedro was looking closely at it, he felt it was unlikely...
But he also couldn't say with certainty that it's impossible (N950 was ruled-out).

Z3tor 2012-03-31 16:59

Re: [Announce] QML Radio for Harmattan
 
Problem solved. It had nothing to do with Sports Tracker or Bt hr belt. I had shake controls enabled, so that was stopping the radio. Athough I had to restart radio app to disable shake controls.

gionni88 2012-04-01 15:08

Re: [Announce] QML Radio for Harmattan
 
@ jalyst: I'm not saying it works 101%, but since everything evolves, right now what we have is more than enought.

Development talking, FM radio support has everything needed to make an application: listening to radio, managing freqs, seeking, retrieving rds, starting/stopping service.

jalyst 2012-04-03 14:47

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by gionni88 (Post 1186850)
@ jalyst: I'm not saying it works 101%, but since everything evolves, right now what we have is more than enought.

Development talking, FM radio support has everything needed to make an application: listening to radio, managing freqs, seeking, retrieving rds, starting/stopping service.

Has there been any renewed interest in completely ruling-out FMTX?
I haven't been following the main thread in ages, need to catch-up soon.
javispedro wasn't 100% sure last time I saw him look into it...
He needed a N9 before he could be sure that it's impossible/impractical.

javispedro 2012-04-03 15:49

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by jalyst (Post 1186480)
Really? Zero issues/limitations now? I'm quite surprised by that if true.

So well that there are a bunch of $2 applications in the Ovi Store that basically repackaged my daemon and are profiting from it.... makes one lose the will....

Quote:

Originally Posted by Z3tor (Post 1186535)
Problem solved. It had nothing to do with Sports Tracker or Bt hr belt. I had shake controls enabled, so that was stopping the radio. Athough I had to restart radio app to disable shake controls.

Glad to hear that the BT problem turned out not to be a problem :)

There might still be a problem with radio and BT handsfree devices, though. AD2P headphones work fine!

gionni88 2012-04-03 19:19

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by javispedro (Post 1187611)
So well that there are a bunch of $2 applications in the Ovi Store that basically repackaged my daemon and are profiting from it.... makes one lose the will....

I tought you had some accords with FM Radio since in its homepage you are in the list of the authors. If not, that would be really lame, in my opinion.

I know it isn't so much valuable, but you have my most sincere thanks for the Qt plugin, and this isn't an indirect way to push your updates because I think it already works wonderfully. I lost hours (yes, I know I have written it plenty of times) to make QRadio works decently and to find workarounds for all those QRadioTuner bugs, getting stressed to waste time for something which should have been working by itself. Sadly this tendence to have so many platform bugs which gets fixed slowly (if they get... I have an open bug tracker issue opened in March 2011 and still no asnwer...) is still up in Harmattan context, so having a QRadioTuner plugin working as it should is really a pleasure, so thank you again.

jalyst 2012-04-03 19:37

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by gionni88 (Post 1187683)
I tought you had some accords with FM Radio since in its homepage you are in the list of the authors. If not, that would be really lame, in my opinion

Hey yeah that's right, they did openly acknowledged javispedro.
So they're not in any sort of partnership with him? Wow that's pretty low :rolleyes:

Quote:

Originally Posted by javispedro (Post 1187611)
So well that there are a bunch of $2 applications in the Ovi Store that basically repackaged my daemon and are profiting from it.... makes one lose the will....

Surely Nokia Store could do something about that, how was your code licensed?
I can't recall if much of your work was based on existing openly licensed work...
Even if it was, they're also required to return any improvements to that code-base.
If they're not & there's further refinements, then surely you'd have a solid case for NS to remove them?

Have you looked closely at FMTX for the N9 again since you last looked at it 5mth+ ago at FMC?
Last time round you weren't 100% sure till you had a N9, I offered to send a spare but no response.

javispedro 2012-04-03 19:53

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by jalyst (Post 1187688)
Have you looked closely at FMTX for the N9 again since you last looked at it 5mth+ ago at FMC?

No. But I would mostly forget about it -- a lot of people have AFAIK tried the usual things to no avail. The complete lack of antenna probably means it would need a (potentially trivial) hardware mod.

jalyst 2012-04-03 19:55

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by javispedro (Post 1187692)
No. But I would mostly forget about it -- a lot of people have AFAIU tried to no avail.

I don't suppose you can point to where these other have analyzed it & presented their conclusive findings?

Quote:

The complete lack of antenna probably means it would need a (potentially trivial) hardware mod.
*EDIT*
Oh I thought the need for a hw mod was itself still not entirely certain?

javispedro 2012-04-03 19:58

Re: [Announce] QML Radio for Harmattan
 
Quote:

Originally Posted by jalyst (Post 1187688)
So they're not in any sort of partnership with him? Wow that's pretty low :rolleyes:

None. At least one of them did share the source... then stopped updating it. But my rants about the world are best put in another thread :(


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

vBulletin® Version 3.8.8