我正在实现一个包含反馈 Activity 的应用。在 iOS 中,我使用 jsqmessageviewcontroller。网上查了下,没找到类似android的库 请问有显示短信的库吗?就像 iOS 中的 jsqmessageviewcontroller。
最佳答案
据我所知,没有开箱即用的解决方案。您将需要自己实现它。如果您在这里查看教程:http://adilsoomro.blogspot.in/2012/12/android-listview-with-speech-bubble.html ,您将获得与您的 iOS 版本类似的东西的完整源代码。
简而言之,您需要一个带有自定义 View 和 9patch(PNG 的花哨名称)的 ListView
来制作对话泡泡。
看看http://androidlibs.org/如果需要,可以找到更多图书馆。
更新:
https://github.com/tuenti/SmsRadar/ :
Read incoming and outgoing text messages using an Android application across different Android SDK versions it's not trivial. If yo don't want to appear as SMS application and your application has to read incoming and outgoing SMSs this is your library.
关于android - android中的消息 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26953925/