开发者

How to create a rate and comment system for android app?

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开发者_JAVA百科 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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜