Facebook 和 Twitter 与 LWUIT 1.4 集成
我正在使用 LWUIT 1.4 API 开发 J2ME 应用程序。
我需要与 Facebook 和 Twitter 集成。
怎么做呢?有没有可以学习的源码?
I am developing J2ME app using LWUIT 1.4 API.
I need to integrate with Facebook and Twitter.
How to do it? Is there any source code that I can learn?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
LWUIT4IO 目前仅在 SVN LWUIT 主干中可用 ( http://java.net/projects /lwuit/sources/svn/show )包括对 Twitter 的基本支持,并且应该会在几周内获得 Facebook 的支持。 Twitter 支持是只读的,因为 Twitter 只弃用了基本身份验证和 OAuth 1.x,这是有问题的(需要 MD5,这意味着出口限制等)。
然而,Terrence 使用第 3 方库来处理 Twitter 与 LWUIT 的交互,并开源了他的工作。有关他所做的更多详细信息,请参阅他的帖子 http://terrencebarr.wordpress.com/2011/05/06/beyond-smartphones-source-code-video-released/
Codename One 具有新的 Facebook 集成,实际上可以在模拟器和设备上运行。 Twitter 集成也将很快落地。
LWUIT4IO which is currently only available in the SVN LWUIT trunk ( http://java.net/projects/lwuit/sources/svn/show ) includes basic support for Twitter and is supposed to get Facebook support within a couple of weeks. Twitter support though is read-only since when that was implemented Twitter only had deprecated basic authentication and OAuth 1.x which is problematic (requires MD5 which means export restrictions etc.).
However, Terrence used a 3rd party library to handle Twitter interaction with LWUIT and has open sourced his work. For more details of what he did see his post here http://terrencebarr.wordpress.com/2011/05/06/beyond-smartphones-source-code-video-released/
Codename One has new facebook integration that actually works on both simulator and devices. Twitter integration will be landing soon as well.