Analyzing the Data Exchange Implementation Between J2ME and Microblog
Qian Li · Experiment Science and Technology · 2011
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.