首页 | 本学科首页   官方微博 | 高级检索  
     检索      

浅析J2ME与微博数据交换的实现
引用本文:钱立.浅析J2ME与微博数据交换的实现[J].实验科学与技术,2011,9(4):46-47.
作者姓名:钱立
作者单位:四川职业技术学院计算机科学系,四川遂宁,629000
摘    要:分析了J2ME手机客户端程序采用轻量级数据格式JSON来实现与微博的数据交换。JSON与XML相比,简洁高效,方便生成和解析。微博API逐步开放,使得J2ME访问微博更容易。文中以新浪微博API为例介绍了其中update接口的URL访问格式和返回JSON数据的格式,并列举了J2ME发送Http请求及解析响应的JSON数据的关键代码,实现了与微博的数据交换。

关 键 词:JSON格式  微博  应用程序编程接口

Analyzing the Data Exchange Implementation Between J2ME and Microblog
QIAN Li.Analyzing the Data Exchange Implementation Between J2ME and Microblog[J].Experiment Science & Technology,2011,9(4):46-47.
Authors:QIAN Li
Institution:QIAN Li Department of Computer Science,Sichuan Vocational and Technical College,Suining 629000,China
Abstract:This paper analyzes the J2ME mobile client program by using the lightweight JSON data format for achieving data exchange with Microblog.Compared with JSON and XML,JSON is simple and efficient,and it can be generated and parsed conveniently.Microblog API is opened gradually,which is making it easier for J2ME accessing to Microblog.In this paper,update API of Sina Microblog APIs is as an example,the format of request URL and returning JSON data format are shown,and the critical code of Http requesting and parsing the response JSON data in J2ME is shown to realize data exchange with Microblog.
Keywords:JSON  MicroBlog  API
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号