Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RatingBar android question

I am really new in android programming. My question is how does RatingBar actually work? I want to make an app which contain RatingBars on it, and whenever the user rate it like 4 stars, I want the other user of my app too see it. How can I accomplish this? Please help me, I would really appreciate it a lot.

like image 819
user739375 Avatar asked Feb 15 '26 00:02

user739375


1 Answers

For doing this you need a server. When user1 rates with score of 4, then your application posts the score (HTTP POST) to your server (on database or a text file). When user2 starts your application, you request (HTTP REQUEST) your score from server (if there is any).

Reference: Rating bar example, HTTP POST example on Android, HTTP request example

like image 96
Indrek Kõue Avatar answered Feb 17 '26 14:02

Indrek Kõue



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!