Question

I want to create a rate system for an android application using java.

Ive searched around and havent found much on the web concerning this.

What do i need to do to build or get started building a rate system for a android application.

Such as the android market. The user is allowed to leave comments and rate a app.

I want to implement the same concept except with the ability just to rate or vote up a object in my application.

Has anyone implemented this before?

Some guidance on this would be very helpful.

Thanks

Was it helpful?

Solution

This is a pretty broad question, but I would use an approach like this:

Android Client <--> (RESTful) Web Service (e.g. PHP) <--> Database (e.g. MySQL)

The last two items, of course, reside server side in this architecture.

The flow would essentially consist of the user makes a rating or comment, an HTTP request is made to your web service, the web service executes a SQL statement that adds the rating or comment to the database, which leads to a result and an HTTP response from which you can update your Android client.

I would first suggest looking into RESTful web services and web services in general if you're unfamiliar with them.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top