android微博整合客户端的设计与实现

1
目 录
Abstract 1
Key words 1
引言 1
1 绪论 2
1.1 微博简介 2
1.2 Android简介 2
1.3 研究的内容 2
2 系统分析 3
2.1 可行性分析 3
2.2 系统需求分析 3
2.2.1 业务流程 3
2.2.2 功能描述 4
2.2.3 界面描述 4
2.3 基于Android微博整合客户端的建设原则 5
3 系统概要设计 5
3.1 系统设计目标 5
3.2 系统模块设计 5
3.2.1 系统功能模块划分 5
3.2.2 系统总体结构设计 6
3.2.3 系统模块用例图分析 8
3.3 系统架构设计 12
3.3.1 MVC模式 12
3.3.2 系统架构概要 12
4 数据库设计与实现 14
4.1 数据库概念结构设计 14
4.1.1 实体图 14
4.1.2 系统实体关联 16
4.2 系统数据库物理建模 16
5 系统详细功能实现 18
5.1 登录模块实现 18
5.1.1 用户授权配置模块 18
5.1.2 用户登录模块 18
5.2 主界面显示模块实现 19
5.2.1 显示最新微博列表 19
5.2.2 发表微博功能 20
5.3 微博信息浏览模块实现 20
5.4 获取用户信息模块实现 21
5.4.1 查看关注功能 21
6 系统的测试与维护 21
6.1 单元测试 21
6.2 集成测试 22
总结 22
致谢 23
参考文献 24
基于Android微博整合客户端的设计与实现
网络工程专业学生 陈鹏
指导教师 郭小 *好棒文|www.hbsrm.com +Q: @351916072@ 

摘要:针对拥有多个微博平台账号的用户的需求特点,以及大多数微博用户通过手机客户端来访问微博的现状,在Android操作系统平台基础上,提出了一个微博整合手机客户端的设计方案。系统基于数据模型、视图界面、控制器分离的MVC多层体系架构,采用SQLite构建数据库,参照开放平台提供的Android SDK和API接口,利用Oauth2.0技术、Java语言进行开发,实现对多个微博账号的动态管理,节约了用户资源,实现了跨平台的资讯访问。经过单元测试和集成测试,系统运行良好,达到了预期效果。
Designment and Implementation of Multiple Microblog System Based on the Android Platform
Student majoring in Network Engineering CHEN Peng
Tutor GUO Xiaoqing
Abstract:In view of the demand of the users who own two or more microblog products, and the present situation that most of the users visit the microblog with the smartphone, this article proposes a design to integrate the microblog with the mobile application basing on the Android platform. Based on the multitier architecture of the data model, the viewing interface and the controller, the system constructs a database with the SQLite. The system refers to the Android SDK and the API interfaces provided by the open platforms and is developed by using the Oauth2.0 technology and the Java language. It provides dynamic management for many microblog users. It saves users’ resources and the crossplatform access to the information is achieved. After the unit test and the integration test, the system is running well and reaches to its expected results.
Key words: Android;Microblog;SQLite;Oauth2.0
随着web2.0时代的到来,微博这一形式独特的社交服务应运而生,逐渐成为大多数互联网用户的标配。以新浪为代表的门户网站均加入了这一浪潮中,各式微博随之出现百家争鸣之态。与此同时,智能手机随着技术的进步,逐渐取代了传统手机的市场地位,而其中基于Android操作系统的智能手机成为了智能机市场的主流。微博的便捷性与智能手机的移动性非常契合,因此多数微博使用者通过智能手机客户端来访问微博,以享受移动互联时代带来的便捷。但微博作为一种新型的网络社区,用户的人际交往圈的不同,可能会同时需要使用不同的微博产品。由此产生了一种需求:能否在手机上设计一种微博软件,可以将多个平台的微博整合到一起,实现无需切换软件即可访问多个微博产品的功能?
1 绪论
1.1 微博简介
微博是流行的网络社交型产品之一,其庞大的用户群体,使得它们成为各种资讯的共享平台。微博用户可以在微博上用简短文字随意的发布自己的信息,每条信息的长度都限制在140字,内容也可以是图片、音频和视频等多媒体。每个微博用户在发布自己的信息的同时,也在传播和分享着他人的信息。与传统博客相比,微博具有以下这些特点:
草根性
传统博客强调语言的组织和页面的编排,因此文章的创作需要逻辑性,也就是说,在传统博客上写文章有一定的门槛;微博相比传统博客,不管发布者的文字功底如何,只要会简单的文本编辑,他就能使用微博,随意写,随意发。[9]

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/jsjkxyjs/1963.html

好棒文