yashsingh1/xdaforums huggingface dataset:
[MTCD Software Development] variosteph:
you could try to lower the volume of the radio app in factory settings.

don´t know if this will work if you disabled the standard radio app, but worth a try.
[MTCD Software Development] maniep:
Thank you for doing this app for the MTCD Devices.

I purchased the app today and it works very nice.

The free app for testing the download is good but the app wont install properly. I purchased it and it works good from the play store FYI.

Again nice app.
[MTCD Software Development] okij:
NavRadio+ and FCC Car Launcher

[MENTION=2734955]KoTiX2[/MENTION]: Since I wasn't really happy with the stock radio app and after following this thread for quite a while, today I purchased NavRadio+ on the Play Store. I have to confirm that it's the best FM/AM radio app for MTCD/E devices, as other users already wrote. :cool:

However, the cooperation of NavRadio+ and [MENTION=4292729]SpeedFire-[/MENTION]'s FCC Car Launcher isn't good yet. I already expected this because other users wrote of it, but this should be improved (and IMHO it should be quite easy to improve).

Interestingly I don't have problems with switching stations via the steering wheel keys, as other users wrote (and you wrote an answer about here), but maybe this is handled by the ROM (I'm using Hal9k Mod 4.0.2). First I thought that the stock radio app still works in the background and allows to switch the stations, but even after freezing the stock radio app it still works.

What doesn't work yet is:

NavRadio+ cannot be selected in the FCC player widget.

Because of this, the media intents that are sent by NavRadio+ (like station name, station logo and RDS infos) aren't displayed in the FCC player widget.

Also because of this, the media buttons of the player widget cannot switch stations yet.

The first problem can be solved by making NavRadio being recognized as a multimedia player, so it behaves like the mayority of MP3 Player apps or e.g. also the DAB-Z digital radio app. When you implement this, also the 2nd and 3rd problem should automatically be solved, because then we can set NavRadio+ as one of the players in the FCC player widget.

I searched both the FCC thread and the NavRadio+ thread and there are quite a lot of xda users who already use this combination and would benefit from a better cooperation of the two apps:

[MENTION=378852]dagosjt[/MENTION] wrote here, here and here on the FCC thread

[MENTION=1976910]roydestroy[/MENTION] wrote here on the FCC thread plus here and here on the NavRadio+ thread

[MENTION=682191]liamstears[/MENTION] wrote here, here and here on the FCC thread

[MENTION=10002693]SoberXDA[/MENTION] wrote here on the FCC thread and here on the NavRadio+ thread

[MENTION=8107381]parisisal[/MENTION] wrote here on the FCC thread

[MENTION=3459832]Tbizzness[/MENTION] wrote here on the NavRadio+ thread

So please improve the cooperation of NavRadio+ and FCC Car Launcher and if necessary search the cooperation of [MENTION=4292729]SpeedFire-[/MENTION]. :highfive: For doing some tests with the FCC player widget, you don't need the full version of FCC Car Launcher but can use the free version.

This summarizes it very well. :)

---------- Post added at 09:50 PM ---------- Previous post was at 09:40 PM ----------

[MENTION=2734955]KoTiX2[/MENTION]: Also one question: Is it possible to sort the favourite stations list? If not, could you implement this?
[MTCD Software Development] KoTiX2:
Hi, as I already wrote on FCC thread the mediabuttons in NavRadio are still not working because they were interfering with SWC buttons.

The mediasession is handled by NavRadio and all the media infos are broadcasted correctly infact Ubiquity widget and Agama launcher can show them correctly. I don't know what is missing to make it work on FCC. I searched a bit and I haven't found yet a way to tell FCC that NavRadio is a mediaplayer, all I found is that is enought to start a mediasession and the app is a player.

I will look more on it anyway...

I know you guys want both apps working togheter but mediasession and audiofocus takes a lot of time to fix them and I can work on them only at home so you have to be patience.

FAV list cannot be sorted because it's created mixing FAVs from am and fm.

If I sort fav I will have to sort fm and am too without knowing the exact positions where to move them.

I don't thing is feasible.
[MTCD Software Development] okij:
Thanks for your reply.

Since [MENTION=4292729]SpeedFire-[/MENTION] has a good knowledge about how media info and media button intents are handled by the system (he e.g. fixed the integration of DAB-Z into FCC Launcher in cooperation with its dev), it would be great if you could give him a free license of the full version of NavRadio+ for developing purposes. Of course there is the free version which you offer in the OP of this thread, but it doesn't have all needed features (like station logo support) and also lags behind the full version quite a bit, so IMHO it wouldn't be sufficient to use it for testing and working on a better integration.

Thank you for further looking on it! :)
[MTCD Software Development] KoTiX2:
Don't worry I'm already trying to make it seen as a music player.

I made some tests with other players and I'm looking on it. ;)
[MTCD Software Development] SoberXDA:
I think FCC will still recognize a radio being played via its MTCD chipset integration and try to control it on its own. But let's see :)
[MTCD Software Development] okij:
Yes, that's what I assume too. Therefore I wrote today to [MENTION=4292729]SpeedFire-[/MENTION] on his thread:
[MTCD Software Development] okij:
[MENTION=4292729]SpeedFire-[/MENTION] gave me some hints on his FCC Launcher thread to pass them on to you:

This example of the app's Manifest seems to be from BlackPlayer EX Music Player (com.kodarkooperativet.blackplayerex).
[MTCD Software Development] scarface53:
nice app
[MTCD Software Development] the-unknown:
Hello,

App ist working perfectly, the station icons are great

But I have one request, perhaps you can do that without a lot of work.

See the attached picture, as you can see the app TuneIn radio uses the notification a little bit different. They show artist and track there.

Perhaps you can show station name and rds Text there instead a second time the name of your app?

Would be great

Thanks for your work :)
[MTCD Software Development] KoTiX2:
Ok, tnx for noting it.

I wrote it down on my to do list ;)
[MTCD Software Development] KoTiX2:
Version 1.54 is coming out. Here the changelog:

Added Japan freq2 support for MTC

Reverted back to appcompat for better config handling

Fixed Widget startup after sleep

Fixed wrong merging of some stations

Fixed some settings layouts and colors

DarkMode now have stations buttons with white texts

Fixed Radio modes preset on first install

Fixed bad resizing when changing display dimension in android settings

There is not any fix for FCC car launcher issues right now but i'll try to work on it.
[MTCD Software Development] alex16021988:
Hey, no it doesn't...
[MTCD Software Development] okij:
Thanks for informing us. :)

I stumbled on this Android developers information "Responding to media buttons", just in case you don't know it yet.
[MTCD Software Development] KoTiX2:
Oh I read many infos about that...but that is not the point.

I already have added mediabuttons support but it was interfering with steering wheels commands and I disabled it temporarily.

I have to find out what's the right way to use them.

I did not use a broadcast receiver because it wasn't really necessary to register the app as a player and honestly I don't see why FCC really need it.

Btw as I said I'll look on it ;)
[MTCD Software Development] okij:
It's possible to select up to three media player apps in FCC's player widget, but they have to be identified as media players. The way [MENTION=4292729]SpeedFire-[/MENTION] has implemented it, FCC does not allow to select apps which are not media players in its player widget settings, so currently we cannot select NavRadio+ as one of the three media player apps.
[MTCD Software Development] KoTiX2:
I know how SpeedFire did it. I 'm saying that there are other ways of doing it like on Agama and Ubiquity widget.

Forcing other apps to use a BroadcastReceiver wasn't really necessary. That's all I have to say about it.
[MTCD Software Development] okij:
I hope that you manage to implement it with android.intent.action.MEDIA_BUTTON, like SpeedFire told you. You said that you wanted to implement media button support anyway, so these two things should go hand in hand, if I'm not mistaken.

BTW, I found two graphical glitches with the German translation, please see attached screenshot:

"Einstellungen" (settings) is too long and gets wrapped into a second line. Please use the abbrevation "Einstell." instead.

"Über die App" (about the app) is missing the German umlaut "Ü". First I thought that the font doesn't support umlauts, but somewhere else the word "löschen" is properly displayed, so it's rather a problem of the text string or character coding.

Please fix these in the next release. If you need assistance with it, you can send me the translation file and I will have a look.

Also one question: What does "LOC" stand for? I know the other abbrevations "ST", "TA", "TP" and "AF", but it would be good to put this info in the OP.
[MTCD Software Development] Al Ferro:
LOC = Lock or Locked radio stations I suppose, like the old radios:confused:
[MTCD Software Development] trap63:
Nice apk! download full specs. It runs very well on PX6 RK3399. A question [MENTION=2734955]KoTiX2[/MENTION] . The Zoulou DAB+ apk might be an integrated module in you apk? Might be very useful to run a unique apk to sintonize both DAB+ and analog signal.

I am sure that if it will be possible to integrate in apk anyone will pay with great pleasure this features.
[MTCD Software Development] themissionimpossible:
LOC = Local stations
[MTCD Software Development] KoTiX2:
LOC= LOCAL stations with higher signals

DX = Distant, stations with lower signals

It's used for manual and auto scanning but probably for AF too.

If you start an autoscan with LOC enabled it will store only the frequencies with signal strenght higher than the db set in factory settings.

With DX enabled will be stored the frequencies with low signals too.

Of course with LOC it will found less stations and with DX it will find more.

You can change LOC/DX while it's scanning too. I normally start with DX and I change to LOC in the middle of my frequency range (around 95mhz) so it will fill all the 36 available buttons with the full range of freqs.
[MTCD Software Development] Al Ferro:
Perfect, that explains it all. :good:
[MTCD Software Development] emre33:
This error only occurs in NavRadio +, not in factory Radio application, it's good there!

Reproduction steps

1: NavRadio + must be started on a channel where AF is active

2: NavRadio + must be placed in the background. Home button ...

3: Start Playing Music (Factory)

(Option then, for example: Home button and google maps navigation to start, while MP3 continues to play)

If you change the Radio AF frequency while playing MP3 (Background), the Radio will start sounding!

(When Music Player is active, it returns to the main screen)

FW: Hal9k Mod v4.02

Sorry, google translate (bad in English)
[MTCD Software Development] themissionimpossible:
You yourself? Who? :confused:

IMHO this is a correct behavior... why should you yourself change the station/frequency if you don't want to listen to the radio?

But of course in this case also the music player should consequently stop playing...
[MTCD Software Development] KoTiX2:
Man you should explain better all the 3 points because I don't understand none of them..
[MTCD Software Development] emre33:
NO! Works with factory application.

Let's look at 1 practical example.

1: Start radio (NavRadio +)

2: Home button, Navigation: google maps. radio is playing, Navigation is active

3: I want to listen to Mp3.

What are you doing? You start a music player! Radio goes silent and MP3s play!

What do you think should be done?

google maps -> home button -> Radio (NavRadio +) off -> MP3 open?

NONO!

google maps -> home button -> MP3 open!!!!!
[MTCD Software Development] KoTiX2:
Ok i Will check it
[MTCD Software Development] themissionimpossible:
Well, I understand that your English is not brilliant... you wrote:

If you change the Radio AF frequency while playing MP3

What does the Radio AF frequency have to do with your problem that the radio app doesn't stop if you start playing an MP3?

Do you know what is an "AF frequency"?;)

Do you mean "Radio station"?
[MTCD Software Development] KoTiX2:
I just tried to reproduce this on my unit and it doesn't happen what you say.

Please make a video of the problem so I can understand it better.
[MTCD Software Development] emre33:
watch this video: https://drive.google.com/file/d/10Xb0OVm3YWQrA614UWOxrfA3OWEiCNlg/view?usp=sharing

or https://www.youtube.com/watch?v=DmOaisyGaJg

1: 103,7 Radio, AF: ON

2: HOME BUTTON, Music play

3: 18 sec: MCU AF frequency change: 94,8

Music play off automatic, Radio play :( :(
[MTCD Software Development] KoTiX2:
Ok I see it now. Good find! :)

I never saw it because in this lockdown period I cannot travel and I cannot test AF at all.

Anyway I'll try to reproduce it in someway and fix it.

Tnx for reporting it ;)
[MTCD Software Development] Orionbln:
I purchased the Nav+Radio on PlayStore. But it does not work. Does maybe my Radio a differrent Tuner that it wont work? It cant find any program.
[MTCD Software Development] AdekP:
[MENTION=2734955]KoTiX2[/MENTION]

Now is OK! Thank you :)
[MTCD Software Development] KoTiX2:
Your unit is not compatible. Please ask the refund to google or send me the purchase number so I can refund you .
[MTCD Software Development] AdekP:
I intend to buy a new station on PX6 soon, what should I look for to make it compatible with NavRadio +?
[MTCD Software Development] KoTiX2:
Just that is MTC based. Means with MCU number that start with MTC
[MTCD Software Development] emre33:
I would suggest a new useful feature.

Manual switching between several stored frequencies of 1 radio channel.

Double-clicking (or 1 click) the Active Radio button will switch to the next stored frequency in the Radio.

94.8 - double click -> 103.7 -> double click -> 93.9 -> double click -> 90.3 -> double click -> 94.8

This could greatly improve the auto function of the faulty AF.

Also, could the maximum number of 5 stored AF frequencies be increased to 10? Few 5 pieces.

THX
[MTCD Software Development] KoTiX2:
Hey do you read my mind?? :laugh:

I had the same double click idea last week and I hope to add it soon but it will need some extra work because I have to totally rewrite the click listener.

I can increase the number of stored freqs but I don't know if it will make the station list more heavy to handle. I'll have to make some tests.

Do you really need so many?

P.S. I just fixed the issue you showed me with your video about source switching. It will be in next release ;)
[MTCD Software Development] emre33:
THX

A smooth 1 click can also be good.....
[MTCD Software Development] Al Ferro:
NavRadio+ Widget

KoTiX2, I put a widget on my home screen to change radio stations whenever I want to, but after leaving a certain radio station displayed on the widget, the arrow buttons to change to a different station become unresponsive (let's say after 40 seconds). This is how I am doing it: First I launch the app from the list of apps, then the main app display shows up, then I tap on the home button, the home screen shows me the widget and if I want to change radio stations, it works, but if I decide to just leave a radio station play it's music for about a minute, the arrow buttons don't work. Am I doing something wrong:confused:
[MTCD Software Development] KoTiX2:
Uhm... I Will check it and I 'll let you know.

Tnx for reporting it ;)
[MTCD Software Development] AdekP:
[MENTION=2734955]KoTiX2[/MENTION]

Are you planning to introduce the possibility of changing the transparency of radio station buttons? As for me, the gray color of the buttons are hardly visible, also the button of the active station with the enlarged button confuses the channel list and it seems to me that with less transparency it would be better.

The type and size of the font used on these buttons is also not the happiest;)

PS

I have a fairly frequent case that one of the pre-programmed stations falls out of the channel list. Can anything be done about it?
[MTCD Software Development] KoTiX2:
I'll look if I can add a setting for transparency and for font type. I will not make any changes to the buttons font size or let the user change it because there are too many cases to consider: List/grid view, number of rows and columns in list/grid, presence of logo, presence of station name, font size in android settings, display size in android settings, maybe more things that i cannot think of right now.

Please explain better the "I have a fairly frequent case that one of the pre-programmed stations falls out of the channel list. Can anything be done about it?"
[MTCD Software Development] Morpheus1968:
Where can i download the actual German Logo Zip File ? ...
[MTCD Software Development] sandpita:
I have also noticed one of my pre-programmed stations in my FAV disappearing.

---------- Post added at 11:13 PM ---------- Previous post was at 11:04 PM ----------

[IMG="Last stations dissapears."]file:///C:/Users/Calurts/Desktop/2020-05-13 23_08_57-Window.png[/IMG]
[MTCD Software Development] sandpita:
Last Fav station disapears.
[MTCD Software Development] KoTiX2:
May I ask you why do you need it?
[MTCD Software Development] KoTiX2:
I don't understand.

Can you post a video?
[MTCD Software Development] KoTiX2:
Ok guys, most of the requested fixes are coming out with v1.56 release:

Fixed AudioFocus when using mic in navi app (this was a very old request)

Fixed for MTC the problem that app wasn't killed after source change and with AF or TA enabled it was starting back on itslef (tnx [MENTION=5938625]emre33[/MENTION] for report)

Fixed widget controls unusable after 40sec (tnx @ Al Ferro)

Added double click to switch between alternative frequencies of a station

Changed statusbar Notifications with new icon and better layout (tnx [MENTION=4796079]the-unknown[/MENTION])

FCC integration will come probably next week or later, sorry ;)
[MTCD Software Development] okij:
Eagerly waiting for it... :fingers-crossed:

No, please not later. ;)

Anyway, thanks for the new version with some welcome fixes. :good:
[MTCD Software Development] tebukan:
Hello there. I use Hal9k room. navradio does not appear in hal9k screensaver mode. can you do the integration?

CPH1941 cihazımdan Tapatalk kullanılarak gönderildi
[MTCD Software Development] andrewoe:
Hi,

using Halk9j by myself and can confirm that navradio+ is running fine on my PX30 HU ... May be, you hardware is not compatible, see first post..

best

Andrew
[MTCD Software Development] tebukan:
Thanks. Dasaita px3 my unit. Android version 7.1.2 hal9k. It doesn't just show up on the screen saver.

CPH1941 cihazımdan Tapatalk kullanılarak gönderildi
[MTCD Software Development] andrewoe:
... for sure, this seems to be on the development roadmap and will solve in the next versions, so my understanding..
[MTCD Software Development] Al Ferro:
KoTiX2: It looks like you have increased the hight of the horizontal widget from the first resizable step to the second one. The first widget hight size can not display the entire information in it, so moving it to the next available hight, it displays everything, but I see that it's much bigger than in the previous version. The first picture shows the widget from the previous version with the second available height size and everything is displayed right and it's not too big. The second picture is from the latest version showing the first available widget size, the third picture shows the widget hight moved to the next available size and now has those bigger arrows. I don't mean to be very picky about it, but I think that the widget size is too big. You tell me if you intended it to be that way. :good:
[MTCD Software Development] KoTiX2:
I don't know if Hal9k has updated the Android 7 version of his rom to show the metadata, albumart.

It does work without problem on his Android 9 rom.

On Hal9k v4.0* rom the screensaver show the radio logos and rds info correctly.
[MTCD Software Development] KoTiX2:
Uhm... I see you have a non standard resolution on your screen. Did you change the display size in settings, dpi or something like that?
[MTCD Software Development] Al Ferro:
I have allways edited the Build prop file to have a screen resolution of 195 DPI but it was working normal. This started to show up now after updating the app. I played a little with different screen resolutions, and I see no change at all:confused: (please check with your device if this is working normal)
[MTCD Software Development] KoTiX2:
In last release I forced the app to keep the original dpi set because of bad resizing when user change display size in settings.

So if you change dpi to your unit, navradio won't consider the new dpi value and the widget is not resized correctly because the result of the calculation of the steps is different.

I designed NavRadio to work with 160dpi 1024*600 and 800*480 for allwinner and TS9 units, 240dpi same resolutions for MTC. I won't support other resolutions or dpi right now.

I'll see if I can change something in the widgets handling but I can't guarantee any fix soon.;)
[MTCD Software Development] Timpuli:
I have also suffered time to time that some saved station just disappears. I can not explain it better :o. Lets say that I have stored a station called "Nova" in memory position 3 and "Rock" in mem. position 4. When this "issue" happens, "Nova" has gone and "Rock" is in memory position 3.

Also, sometimes, radio messes channels/ frequencies and logos. Example: I have stored "Nova" in mem. pos 3 with a frequency of 106.5 MHz and in mem. position 2 I have "NRJ" with the frequency of 93.9MHz. Sometimes it happens so that radio app will display Radio Nova's logo and channel name is "Nova" but frequency is changed to 93.9MHz and broadcast is from radio "NRJ". Usually this happened if received signal in weak and when channel is changed between stored memory positions.

Both "issues" are happened with the newest apk version but with older versions also.
[MTCD Software Development] tebukan:
All music players, Internet radio and stock radio are visible but navradio is not. is there anything to do?

CPH1941 cihazımdan Tapatalk kullanılarak gönderildi
[MTCD Software Development] KoTiX2:
I don't know, you should to Hal9k why it work on Android 9 butit doesn't work on 7
[MTCD Software Development] tebukan:
ok i solved the problem. I canceled the stock radio program used in the screensaver settings and chose navradio. problem solved. two radio programs overlap.

CPH1941 cihazımdan Tapatalk kullanılarak gönderildi
[MTCD Software Development] tebukan:
Sory dont solved. Only one time worked after not worked. https://youtu.be/pjX8LaKM2KU

CPH1941 cihazımdan Tapatalk kullanılarak gönderildi
[MTCD Software Development] KoTiX2:
I thought I definitely fixed this issue in version 1.54 but maybe the weak signal cause the reception of a wrong RDS id of the station. When this happen the frequencies are merged togheter deleting the newer one.

Once I figure out a better way to handle it, you can simply disable the frequency merge option from settings/radio.
[MTCD Software Development] AdekP:
[MENTION=2734955]KoTiX2[/MENTION]

I tried today's beta, which is supposed to work properly with FCC and it works, but navradio starts catching weird restarts, the buttons on the steering wheel do not work, the sound from the radio is lost :( Generally you can't use Navradio if the main launcher is FCC