如何在Android应用程序中添加评论系统? [英] How to add commenting system in android application?

查看:99
本文介绍了如何在Android应用程序中添加评论系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Android应用程序中添加评论系统?



是否有任何后端服务(如quickblox,shephertz和parse),通过它可以集成此功能更容易吗?



欢迎任何类型的参考资料,包括图书馆和文章。



感谢您的时间!

How to add a commenting system in android application?

Are there any backend services(like quickblox,shephertz and parse) through which integration of this feature would be easier?

Any kind of references including libraries and articles are welcome.

Thanks for your time!

推荐答案

由于你要构建一个新的应用程序和这个系统,我想在这里阻止你并推荐一个已经构建的服务。 Disqus可以使用他们的API嵌入到您的应用程序中。



请阅读他们的API 这里 [ ^ ]并在您的应用程序中使用它,它将缩短您的时间和将消耗的数据大小。



如果你仍然想要一个原生的感觉,并想创建一个评论系统,那么看看数据库系统。您可以创建一个表来存储用户的所有注释,存储UserID(发布注释的用户),消息,时间以及您可能要保存的任何其他标志。然后使用Android的SQLite数据类从数据库中提取注释。
Since you're going to build a new application and this system, I would like to stop you here and recommend an already build service. Disqus can be embedded in your application using their API.

Please read their API here[^] and use it in your applications, it will shorten the time of yours and the data size that would be consumed.

If you still want a native feel, and want to create a commenting system, then have a look at the Database systems. You can create a table to store all the comments by the users, store the UserID (user who posted the comment), Message, Time and any other flag that you might want to save. Then extract the comments from the database using the SQLite data classes for Android.


这篇关于如何在Android应用程序中添加评论系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆