• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Dev] New "NavRadio+" ported to MTC devices

Search This thread

lagos911

Senior Member
Jan 25, 2009
235
22
@KoTiX2 hey... when I the app is running and I put the reverse gear (which switch the screen at the camera) the buttons size lose there position and the last I cant see it. The buttons mode is at vertical and the is set at 5 buttons.
 

KoTiX2

Senior Member
Jul 10, 2010
1,568
800
Realme GT
Ok is

cpu is PX6 with MCU MX_3.75.1

The rom is the lite version of Malaysk with Android 10

resolution is 1024 x 600

I have change the some things at the display settings. Smaller UI size and bigger font size. See

cpu is PX6 with MCU MX_3.75.1

The rom is the lite version of Malaysk with Android 10

resolution is 1024 x 600

I have change the some things at the display settings. Smaller UI size and bigger font size.
Ok. I'll see what I can do about it.
Version 2.09 is coming out and i started using the Glide library to handle the bitmaps images to reduce memory consumption.
I'll try to use the same library for grid and list buttons too so that i maybe fix this problem too.

On v2.09 there are no new functions, just a couple of fixes for DarkMode and for PX3
 

randycorcoran

Member
Jun 19, 2020
13
0
Ok is

Ok. I'll see what I can do about it.
Version 2.09 is coming out and i started using the Glide library to handle the bitmaps images to reduce memory consumption.
I'll try to use the same library for grid and list buttons too so that i maybe fix this problem too.

On v2.09 there are no new functions, just a couple of fixes for DarkMode and for PX3
Fixes for PX3? What a great news! Fast reply! I going to buy the paid version for sure! Thanks a lot!
 

KoTiX2

Senior Member
Jul 10, 2010
1,568
800
Realme GT
Hi @KoTiX2,

I installed the free version you post on the first message and I tried during last week on my PX3 MTCE GS auto radio. It works fine (I noticed that quality of sound has increased) but I realized some strange situations:
  1. When I seek stations in the background, the app crashes.
  2. I think that AF only picked new stations if you seek them first. It would be great that radio could recover AF automatically without having to scan previously.
  3. How can AF work better? Which value have I to put in factory settings? I tried with 20db and 30db but AF only works a few times in spite of station has more than one AF registered.
Thanks in advance for this great app!
1. I will check this, i don't know if this happen only on the free version.
2. AF search for alternative frequencies of the station you are currently sintonized.
When this happen, NavRadio add the frequency to the array of alternatives frequencies of the current memorized station.
Then you can easily switch between the memorized frequencies double clicking on the station button or sliding up/down in the middle of the screen.
3. I have no control over AF itself, i can only enable/disable it.
In my unit AF work better with a value of 30db but it work good only in a certain territory.
If i travel on flat lands AF never switch to other frequencies.
On roads over hills.and mountains it work much better and more.often.
I don't know why. ...
 

randycorcoran

Member
Jun 19, 2020
13
0
1. I will check this, i don't know if this happen only on the free version.
2. AF search for alternative frequencies of the station you are currently sintonized.
When this happen, NavRadio add the frequency to the array of alternatives frequencies of the current memorized station.
Then you can easily switch between the memorized frequencies double clicking on the station button or sliding up/down in the middle of the screen.
3. I have no control over AF itself, i can only enable/disable it.
In my unit AF work better with a value of 30db but it work good only in a certain territory.
If i travel on flat lands AF never switch to other frequencies.
On roads over hills.and mountains it work much better and more.often.
I don't know why. ...
I bought the app yesterday and I tried on my px3 radio. I updated MCTE GS to 3.73 version too. It works well mainly but it crashes when you scan on background (with paid version too). Sometimes it doesn't start on startup although it was enabled to do that. According to AF I live in a rural zone with no big mountains with no good signal radio in general but what you said could be a reason . I will keep testing during this week. Thanks.
 

KoTiX2

Senior Member
Jul 10, 2010
1,568
800
Realme GT
I bought the app yesterday and I tried on my px3 radio. I updated MCTE GS to 3.73 version too. It works well mainly but it crashes when you scan on background (with paid version too). Sometimes it doesn't start on startup although it was enabled to do that. According to AF I live in a rural zone with no big mountains with no good signal radio in general but what you said could be a reason . I will keep testing during this week. Thanks.
I'm removing the option to startup at boot because on most Chinese units the feature is blocked by firmware.
I'll fix the scan on background
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Version 2.14 is coming out today:

    - Fixed all resolutions and displays density (i hope for last time)
    - Fixed "only logos" view for USA

    I now use many different folders (sw***dp) for each resolution.
    The formula used to determine the DP value of the folder is:
    "Smallest width in px" *160/DPI density
    For example for a 1024*600 240dpi display we apply the formula 600*160/240=400
    So the dimensions folder for this display will be sw400dp.
    The problems start if somebody use non standard density values. Malaysk in his roms for example force set a 220dpi density value,
    some other guy set 242dpi...
    I tried to preset the correct dimensions for these special cases too but I cannot know all of them, so please report me the correct display sizes and DPI values if you still have problems.
    1
    @KoTiX2 Got some video for you. Like an idiot I mess up with uninstalling and installing the same app version in my video at the end, so forgive that please. Can you PM a copy of an earlier NavRadio+ version for comparison as I have done with the free version in the video?

    My Radio Logos to check

    Video v2.0.4 vs v2.0.7

    Latest v2.1.3 paid version. Resolution request in this video

    Thank you
    Thank you very much for the videos and for your explanations. They were very useful and I see well now the problems :)

    First thing you should try is to rename your logo images without spaces in the name, like "BBC_radio2.png" and not "BBC Radio.png"
    (Android, like Linux, don't like the spaces in the file names. This should fix the logo assignment.)

    May I ask you why don't you download the logos provided with the app?

    Regarding the resolution problem, I'm trying to find a way to have all resolutions supported but when I fix one i mess another one so I can only ask you to have some patience until next release when I hope I'll have all sorted out.

    I also have to explain something about the double click on the icon in the "about NavRadio" section.
    Doing that you enable a kind of "service mode" where the app:
    - show the infos that you see on the left side (device, detected model, etc)
    - enable the NR_service icon in the apps drawer that let you run NavRadio in background mode
    - show some additional toast notifications that i use for debugging
    This service mode can be disabled simply double click again on the icon in "about NavRadio" section.
    1
    @KoTiX2 I used a different font to make them easier to see. I also wanted the same shape and a larger icon within the set size you quoted. My logo naming worked before but I shall indeed remove the spaces as you suggest. I will let you know if that changes anything. Thank you.
    1
    Just testing 2.1.4. The buttons are still the same, too narrow and I still cannot use the logos I did before. I have renamed the logos as you instructed with _ instead of spaces and saved them as .png. No joy. Is there anything else I can try or send you to help?
    Well i need a new picture of how it look now. I have no other idea to make it match your resolution.
    It does look ok in all my emulators and in my 800*480 PX3 MTC unit.
    I will try to load on my unit your logos to check them out..
    Edit: i just tried on my phone and your logos are loaded without problems, even with original names with spaces.
    Please try using a file manager like total commander to select the PNG file instead of the gallery. Google gallery need to be refreshed sometimes to update its cache and it could show files that aren't really there.
    1
    @KoTiX2 sorry i know what you are saying but not how to act. When I click on Add Logo is the system using a default file manager. I have nothing on the HU apart from Hal9k v10 and your app. I put the logo files onto ex FAT formatted USB stick with Windows 11pro as I have always done since owning a HU.
    Ok. You could simply download total commander from PlayStore and when you press the "choose logo" button click on the top left button to select total commander as file browser.( I'll make you a video when I have some time)

    Anyway, i was able to reproduce the problem and i can say that it occurs if the files are on USB and you use the default file chooser.
    I'm working on the solution and I'm pretty close to release it but you have to consider that if you remove the USB stick the logos will not show up because it cannot find the files.
    Best way would be that you copy these files on internalSD and you select them from there, otherwise i will have to add a function to copy each logo from USB to internalSD when assigning them.
    Right now i cannot thing on other alternatives..

    Regarding the resolution problem, i've added some code to increase the buttons height just for the 1280*480 displays so you should be fine for that too ;)
  • 16
    After releasing my NavRadio+ for Allwinner and IntelSc9853 devices in december, i finally ported it successfully to MTC/HCT based devices (PX3, PX5. PX6 and PX30).
    I paste here the first post of my other thread as a presentation of my work:

    I have been working since July 2019 this radio FM application originally created by Omega2008 (dipcore) from 4pda and I published it on playstore (with his permission of course) after some beta testing on allwinner and intel sc9853 units.

    A FREE VERSION FOR XDA USERS IS AVAILABLE TO ACCOMPLISH THE XDA RULES AND TO LET USERS TEST THE COMPATIBILITY BEFORE BUYING IT.
    YOU CAN FIND IT HERE: DOWNLOAD NAVRADIO FREE
    IT DIFFER FROM PAYED VERSION JUST IN TERMS OF USER CUSTOMIZATIONS OPTIONS AND NO LOGOS SUPPORT.

    If you are sure that your unit is compatible with the app you can get it on playstore, here:
    https://play.google.com/store/apps/details?id=com.navimods.radio

    Here you can see a sample video of my working progresses:
    Sample Video
    Here a demonstration video of the automatic assignment of Logos, station name and alternative frequencies:
    Demo
    and here a review from a friend:
    Review

    It's widely customizable in the graphics and layouts:
    - Wallpapers: Presets (about 30), system wallpaper, solid color, from personal images
    - Color themes (20 predefined or personal adjustments)
    - Night mode on / off, timed or automatic with car lights (MTC only)
    - Resizable text elements and Font choice
    - 3 view modes:
    Vertical List (Left/Right and5,6 or 6 buttons)
    Horizontal Grid (1x5, 2x3, 2x4, 2x5, 3x3, 3x4, 3x5)
    Fullscreen (double tap or timed)
    - Selectable inactivity timer for fullscreen activation
    - Toggable StatusBar in fullscreen mode
    - Toggable Clock and GPS speed in fullscreen
    - Toggable Frequency slider
    - Automatic and manual assignement of Logo images to the stored radio stations based on RDS id and station name scraping.
    - Logos can be downloaded from internet DIRECTLY IN THE APP or sideloaded.
    - Station lists can be sorted by name or frequency and saved/restored in a Json format
    - Improved RDS AF function with automatic storing and merging of alternative frequencies found
    - Notifications Toasts
    - Selectable Radio Region
    - Station editable elements : Position, Frequency, Name, Logo, Favorites
    - 2 Homepage Widgets, horizontal and vertical design
    - Floating widget
    - Autostart on boot option
    - Support 800x480, 1024x600, 1280x720 and 1920x1080 display resolutions
    - Resizable Texts elements
    - App full settings backup/restore function


    List of available Logos by nationality, in Bold the ones with automatic Logos assignement functionality (by RDS id):

    EUROPE: Albania, Andorra, Austria, Australia, Belgium, Bulgaria, Bosnia and Herzegovina, Belarus, Cyprus,Croatia, Czech Republic, Denmark, Estonia, Faroe Islands, Finland, France, Germany, Gibraltar, Greece, Hungary, Ireland, Iceland, Italy, Lithuania, Latvia, Liechtenstein, Luxembourg, Macedonia, Malta, Monaco, Moldova, Montenegro, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia, Slovakia, Slovenia, Sweden, Switzerland, South Korea, Spain, Turkey, Taiwan, Ukraine, United Kingdom

    SOUTH AMERICA: Argentina, Brazil, Chile, Colombia, Mexico, Perù

    USA: Alabama, Alaska, Arizona, Arkansas, California, Canada, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachussets, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Puerto Rico, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Virgin Island, Washington, Washington DC, West Virginia, Winsconsin, Wyoming

    CHINA, JAPAN, MALAYSIA, PHILIPPINE
    MOROCCO, TUNISIA
    AUSTRALIA, NEW ZAELAND

    Some pictures:
    1S3mHPul.png
    GLZUaNcl.png
    BWakEZHl.png
    sSiu1Otl.png

    9ecxWEI.png
    iCr42okl.png
    vNqsB5zl.png
    0Nyk1grl.png
    zTteN75.png
    C6uCg0y.png
    NQ8eATB.png
    TOgJo5U.png


    NavRadio+ is now available on playstore here:
    [url]https://play.google.com/store/apps/details?id=com.navimods.radio[/URL]
    With full support for all MTC devices.
    13
    SOME TIPS:
    TOGGLE SCREEN NORMAL/FULL:
    - Double Click on the station information toggle fullscreen on/off.

    NORMAL SCREEN:
    - Long press on the station information popup the "ADD Station" dialog window if the station is not in your station list. If it's already in your list, it will focus the relative station button.
    - Long press on a station button bring up the "EDIT Station" dialog window
    - Single press on screen arrows <> does a small frequency step fwd/back
    - Long Press on screen arrows does a quick search fwd/back

    FULLSCREEN MODE:
    - A Single press of the arrows <> switch to next/previous station
    -A Long press on station information(center of the screen) bring up the "EDIT Station" dialog window.
    - In interface settings you can remove the big frequency in background if a logo is available.
    - In settings you can hide status bar, activate the clock and a speed gauge

    STEERING WHEELS CONTROLS:
    - The steering wheels commands act exactly in the same way as the fullscreen arrows, they just need to be setup in the correct way in carsettings application.

    FAVORITE LIST:
    - The FAV list is the result of merging FM and AM favorites, so you can have both frequencies in the same list.
    - FAV stations can be edited within the fav list but cannot be added. You need to be on fm or am list to add a station and set it to favs.
    - Deleting the FAV list will just remove the fav flag from the fm/am stations but will not delete them.
    - Deleting AM/FM list it will delete the FAV list too.

    LOGOS:
    - you can use your own station logos, you just need to know where you have them stored and browse for them when editing a station.
    - To get the stations Logos from the app you have to set the nationality of the logos in the interface menu, download and extract them.
    Once they are extracted you have to edit each saved station to assign the logo image to it.
    - The automatic assignment of the Logos is based on the RDS id of the radio stations (pi code) and the search of the logo by RDS name.
    The first method (by id) is faster and more precise but it needs that the name of the logo contain the picode of the station and for this purpose i renamed them for some of the available countries. Of course i cannot make them all and the functionality of this method depend of the availability of correctly named logo images for your country.
    The second method (by name) is less accurate and it work comparing the RDS name with all available logos. If the rsult of the comparison is 100% correct the logo is autoamatically assigned. If the result are more then one logo, a dialog window popup asking you to choose it.

    AF (Alternative Frequencies) handling: (Doubleclick to switch between stored AF)
    AF service allows the radio tuner to tune in to an alternative frequency when the signal becomes too weak. The minimum level signal can be set in factory settings (Auto Search Stop) and has been found
    that around 30 db is the best choice.
    To improve even more this service I added an automatic storing of the alternative frequencies so that every time a new frequency is received, it's added in a list.
    After an autoscan some radio stations can be found on different frequencies, NavRadio+ have an option (in Settings/radio) to automatically merge the frequencies in just one button populating the AF list
    The frequencies available in this list can be selected using the station editor or switched one by one DOUBLECLICKING on the station button.

    NOTES:
    I'm the only developer of the app and I work on it every single day for some hours a day.
    I try my best to develope the app at best of my possibilities and I wish at evey release that it is bug and crash free.
    This is very hard to achieve, even if I have some very good friends that help me testing it.
    I'm really thankful to them for their help and support.

    Thank everybody who beleive in my work and thanks for understanding. :)
    8
    Some more news for this week (the image should be self explanatory):
    x7TCQF9.png


    Then there some more countries with automatic logos:
    Belgium, Czech rep., France (tnx @Timpuli), Hungary, Croatia
    Italian logos are still worked out and I'm waiting for friends to prepare the German and Spanish logos (they are really too many).
    I'm fixing again Agama metadata for no RDS users and liveRDS.
    Other minor bugs are fixed too.
    Next week i'll concentrate on after sleep resuming and AF alternative frequencies.
    8
    Then please go ahead and write such app for yourself, if you think that it's so easy and cheap to do.

    There's nothing wrong with asking some money for a good software. Things don't have to be for free and I'm pretty sure that @KoTiX2 so far put more hours of work into this project than it payd back, if you look at it at a monitary basis. There surely also is a lot of enthusiasm in this project.
    7
    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 @emre33 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 @the-unknown)


    FCC integration will come probably next week or later, sorry ;)