Android Question Car Display

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Hello:

Does ANYONE have an example of showing the track, title on a Car Display.

I've tried all the ways of sending Metadata from my Samsung S5 v4.2.2 and either I am doing something wrong or there is something I just do not know.

But I cannot get anything to display.

If anyone has some working code could you please share a skeleton.

thanks

BobVal
 

monic

Active Member
Licensed User
Longtime User
Hello:

Does ANYONE have an example of showing the track, title on a Car Display.

I've tried all the ways of sending Metadata from my Samsung S5 v4.2.2 and either I am doing something wrong or there is something I just do not know.

But I cannot get anything to display.

If anyone has some working code could you please share a skeleton.

thanks

BobVal

Can you tell what type of car it is? they all have different SDK's or are you trying by bluetooth?
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Tried it on Both cars and 2 phones (My Samsung S5 running 4.2.2 and my wife's S3 running 4.1.3) stopped at a count of 30 (on phone display) on each
Did not know how long to let it run - Nothing shows up on the car displays

At one time I was able to get my wife's S3 to display on the Jeep using Metadata (was sending a com.android.music.metachanged intent)
back in the 4.x days of B4A and then I upgraded my B4A and a lot of the libraries and about a year later I recompiled the program and now nothing displays.
And so many libraries and so many updates and being almost a year before I could not remember what to change to get it to work again.

This is SO frustrating.
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
But after that you open your stereo do you select in your stereo:
AUX ---> BT MEDIA ?
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
WOW, did not think about this. Always AUX. Will look and see if there is a BT Media option

Update:

On the Honda when the phone connects to the car the car selects Bluetooth.
If I select AUX it wants something plugged in.

On the Jeep the AUX is the Bluetooth (no real way of plugging anything in)
 
Last edited:
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Spent another day on this nothing.

If I enable Samsung's music player it will display the MP3 file name in the Song Title (No Album, No Artist)
If I enable Google music player it doesn't display anything

Why can Samsung display something and how are they doing it is my question - well one of my questions

BobVal
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
One weird thing. After using Samsung's Music Player, the MP3 file name was displayed on my car's Song Line
After disabling Samsung's Music Player and using my own the MP3 file name that Samsung played was still being displayed on my Car's Song Line and only went away after I rebooted my phone.

So this data was somewhere in my phone and still being shown

I almost feel like my music app does not have rights to send the metadata information or somehow it is getting trapped.

Just fishing without any bait.

BobVal
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I've added every permission i can think of

B4X:
AddPermission(android.permission.ACCESS_WIFI_STATE)
AddPermission(android.permission.ACCESS_NOTIFICATIONS)

AddPermission(android.permission.BLUETOOTH)
AddPermission(android.permission.BLUETOOTH_ADMIN)
AddPermission(android.permission.BROADCAST_STICKY)

AddPermission(android.permission.CALL_PHONE)

AddPermission(android.permission.INTERNET)

AddPermission(android.permission.MEDIA_CONTENT_CONTROL)
AddPermission(android.permission.MODIFY_AUDIO_SETTINGS)

AddPermission(android.permission.PERSONAL_MEDIA)
AddPermission(android.permission.PREVENT_POWER_KEY)

AddPermission(android.permission.READ_PHONE_STATE)
AddPermission(android.permission.WRITE_SETTINGS)

AddPermission(android.permission_group.AUDIO_SETTINGS)
AddPermission(android.permission_group.BLUETOOTH_NETWORK)

AddPermission(android.permission.INTERNET)
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
AddPermission(android.permission.READ_SYNC_SETTINGS)
AddPermission(android.permission.READ_SYNC_STATS)
AddPermission(android.permission.WRITE_SYNC_SETTINGS)
AddPermission(android.permission.ACCESS_NETWORK_STATE)

But thanks for the suggestion



I am also using <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19"/>
 
Upvote 0
Top