Centova Technologies Forum

Centova Cast v3 => General discussion => Topic started by: do_hoshtog on August 01, 2020, 07:48:59 am

Title: How to get Song information (songtitle, artist) to app (Json api)
Post by: do_hoshtog on August 01, 2020, 07:48:59 am
I am developing an android App for a radio-station.
I want to display the songname and the artist of the song in the app.

The best solution would be a GET request. (REST API)

How should I do this?
Title: Re: How to get Song information (songtitle, artist) to app (Json api)
Post by: scysys on August 02, 2020, 02:16:54 am
I am developing an android App for a radio-station.
I want to display the songname and the artist of the song in the app.

The best solution would be a GET request. (REST API)

How should I do this?

If you hang at this point you will run in a lot of other problems. I think for you it should be better to buy an ready app on marketplaces like codecanyon.
Title: Re: How to get Song information (songtitle, artist) to app (Json api)
Post by: do_hoshtog on September 07, 2020, 09:47:00 am
I am developing an android App for a radio-station.
I want to display the songname and the artist of the song in the app.

The best solution would be a GET request. (REST API)

How should I do this?

If you hang at this point you will run in a lot of other problems. I think for you it should be better to buy an ready app on marketplaces like codecanyon.

Nevermind.
I didn't want to pay!
I found a solution.
You can use this solution: https://stackoverflow.com/a/38222734/11322034
Here is the class I used: https://github.com/dazza5000/IcyStreamMetaDataExample/blob/master/app/src/main/java/com/amicly/icycastmetadata/IcyStreamMeta.java

Have a look at the finished project: https://play.google.com/store/apps/details?id=com.jusaw.curveradio

If you need my help contact me on discord: the_hashtag#6801