基于Android的运动社交软件“篮球部落”的设计与实现

 2022-02-15 10:02

论文总字数:19858字

摘 要

篮球是一项风靡全球的团体运动,现实生活中篮球爱好者却经常面临凑不够人的窘境。篮球爱好者们需要一款运动社交软件作为交友平台。作为市场占有率最高的智能手机操作系统,Android系统在大众日常生活中发挥重要的作用。Android手机作为移动终端,是很好的实现运动社交功能的平台。因此,可以以Android作为平台,开发运动社交软件来帮助篮球爱好者认识更多篮球伙伴。

本文对项目背景和国内外Android开发现状进行调查研究,进而分析了Android的系统架构和Activity、Service等关键的应用组件,以及APP的生命周期、消息传递机制等开发原理。在此基础上对“篮球部落”运动社交软件进行需求分析和架构设计,并进行最终的实现。

由此本毕业设计开发了基于Android平台的运动社交软件“篮球部落”,在用户的注册、登陆、地图定位等基础功能之外,实现“摇一摇”、好友功能、即时通讯、聊天群组、拍照视频、文件传送等社交功能,界面简洁美观,给用户带来良好的移动终端社交体验。

关键字:篮球、Android、运动社交、定位

Abstract

Basketball is a popular sport around the world, but in the real life, basketball fans are always faced up with the embarrassed occasion where there are often not enough persons to start a game. Basketball fans need a social APP for sports as the platform for making friends. As the smartphone operation system which holds the highest market share, Android plays the essential role in the daily life. As a mobile terminal, Android phone can provide a good social platform of sports. Thus, we can develop a social APP for sports on Android platform, helping the basketball fans to find buddies of the same hobby.

We researched on the background and the current situation of APP developed in Android, and then analyzed the structure of Android system and application element such as Activity and Service. I also learned the life-circle and principle of Android Application. Based on above, I do the demand analysis and structure design of the sport APP--“Basketball Blog”, and finally actualize it.

Due to the facts mentioned above, I develop a social APP for sports which is called “Basketball Blog”, besides the basic functions like user’s register, login, locating on the map, it also offers the social functions like “shaking to find friends”, friends adding, instant messaging, group chat, photo-and-video, file transferring, and so on. What’s more, the beautiful interface brings good social feeling to the users.

Key Words:Basketball, Android, sport social, location

目 录

摘 要 1

Abstract 2

目 录 3

第一章 绪论 4

1.1 选题社会背景 4

1.2 选题技术背景 4

1.2.1 Android架构 4

1.2.2 Android应用程序的构成 6

第二章 需求分析及架构设计 9

2.1 需求分析 9

2.1.1 任务概述 9

2.1.2 软件功能说明 9

2.2 整体架构设计 11

2.2.1 服务器架构设计 11

2.2.2 客户端架构设计 12

2.3 关键问题分析 13

2.3.1 客户端与服务器之间的通信 13

2.3.2 摇一摇功能的实现 14

2.4 本章小结 14

第三章 软件设计与实现 15

3.1 工程目录与类 15

3.2 客户端实现 16

3.2.1 UI设计实现 16

3.2.2 关键功能实现 20

3.3 服务器端实现 25

3.3.1 数据库结构 25

3.3.2 环信服务器端结构 26

3.4 本章小结 26

第四章 总结与展望 27

4.1 总结 27

4.2 展望 27

致 谢 28

参考文献 29

绪论

1.1 选题社会背景

篮球是一项风靡世界的运动,集对抗性、集体性、观赏性、技巧性、趣味性、健身性等特点于一身,深受大家欢迎。其中篮球运动最大的特点是篮球是一项团队运动,正规比赛中需要双方十名队员进行比赛,我们日常生活中也需要六七个人分成两队才更有乐趣。作为一项团队运动,篮球却经常面临这样一种情况:尽管有大量篮球爱好者,周末想约人打篮球时,我们却时常面临凑不到人的窘境,这一点在人们离开校园走向社会后尤其明显。那么有着同样需求的篮球爱好者们如何相互认识、一起打球呢?我们缺乏这样的社交渠道。

近年来,随着互联网的发展,网络的便利性、多样性影响着大众的社交方式,人们的社会交往重心逐渐向网络倾斜,各种论坛、email、腾讯QQ,社会交往方式呈现网络化。而手机作为移动终端,从短信时代就是人们交往的重要通讯媒介。近年来随着移动终端的不断发展,主要是以Android、IOS系统为代表的智能手机的不断发展,手机的功能更加丰富,聊天、文档编辑、email、游戏、看视频,手机已经可以和电脑发挥同样重要的作用,并且由于手机的移动特性,相比于电脑更加小巧方便,当前我们的社交重心越来越倾向于移动终端,绝大部分人手机不离身,国内的微信、新浪微博、腾讯QQ、百度贴吧,Facebook、Twitter、WhatsApp、Snapchat、Instagram等社交软件层出不穷,各种各样的社交软件极大地扩展了我们的社交途径、扩大了我们的社交范围、丰富了我们的生活。然而在众多社交软件中我们却找不到一款运动社交软件来让篮球爱好者们相互认识,在需要伙伴一起打篮球时能找到陌生的篮球伙伴,一起享受篮球的魅力与乐趣。

剩余内容已隐藏,请支付后下载全文,论文总字数:19858字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;