中文摘要
摘要:且着智能手机用户录的增加,各式各样的移动应用不断出现在应用市场上,人们投入在移动端上的时间也越来越多,移动终端已成为生活中不可或缺的部分。目前,人们基本上可以在移动终端上解决大部分生活中的东求。基千这样的趋势,为了更加丰富人们在移动终端上的生活色彩,开发一个基千移动终端的网络视频探索系统,使用户可以在移动终端上简单、方便地查看周围以及各个区域的热门视频,十分☆要。
目前,百度糯米,美团等移动应用可以根据电影的名字或者电影院的名字来搜索相关信息,主要功能是提供用户视频评分、票房信息、以及电影票和相关物品的售卖。它们不可以检索用户周围的电影院,更不能为用户规划路线。PC 端也有一些网站可以检索视频信息并进行排序,但无论是个人电脑(PC)端还是移动终端都没有提供基千地区的视频热度,以反映地区大众的喜好。
因此,本课中基千安卓(Android)移动平台开发了一个网络视频探索系统。该系统从用户对视频的东求出发,收集并在移动端展示各个区域热门视频的相关信息,并将有可能是用户喜(的视频推荐给用户,用户可以!击复制喜欢的电影名字,到相关应用购买电影票或者检索详细的信息,比如迅雷下载地址。系统也提供开关按钮使用户可以根据自己喜好选择是否打开反映视频流行度的热!地图。系统也提供附近的电影院地址, 当用户选择某个电影院时为该用户规划到达路线。
在用户界面方面,系统设计了比较友好的交互界面,比如使用侧边栏的形式显示功能界面,设计并开发显示动画,界面之间的跳转动画,按钮的!击效果等一些人性化的交互方式。这些都是一个真正应用级别的系统所东要的。这使得本课中完成的并不是展示级别的 Android 软件。
关键词:视频热!地图;Android 应用;视频推荐;路径规划
ABSTRACT
ABSTRACT: With an increasing number of smartphone users and all kinds of mobile terminal App appear constantly in application market, more and more people invest time to the mobile application. Mobile terminal has become an indispensable part in life. So far, most of the people can solve most of the life needs on the mobile basically. Based on the trend, in order to more rich people life color on the mobile application. Developed a network video exploration system making the user to view the most popular movie surrounding and all regions conveniently.
At present, such as BaiDuNuoMi, MeiTuan and so on, mobile application like this can search for related information according to the name of the film or cinema's name. They main function is to provide user video rating, box office information and the ticket selling and related items. But they can’t retrieve a user around the cinema and planning route for the user. The PC application has some website also can retrieval of video information and do some relevant order. But both of PC and mobile terminal almost none of them take the areas as quantitative unit to divide the heat of the video. However, the area in a certain extent, represents the preferences of the masses.
Because of all above, this topic is based on the android platform to develop a network video exploration system. From the perspective of user demand for video, collect and display every region popular video information on the mobile application. And it is possible that the user favorite video introduction to recommend to the user. The user can click button to copy movie name they like and buy the ticket to the relevant application or retrieve detailed information such as thunderbolt download address. My application provides the switch button so that the user can choose according to oneself be fond of whether to open the heat of the video and the traffic heat map and some cinema address around the user. When the user choosing one cinema the application will plan for the user to route.
The application has some friendly interactive interface design. For example, the application used the form of the sidebar display function interface and designed and developed layout showing animation and activity start animation. In addition to, the application also has some effect of click on the button. The application is made to develop a real application rather than show application of the Android software.
KEYWORDS:video heat map; android software; video is recommended; path planning
目 录
中文摘要 i
ABSTRACT ii
目 录 iii
1弓言 1
1.1研究背景 1
1.2研究意义 1
1.3研究目标 1
2系统设计 3
2.1Android 平台 3
2.2视频探索开源系统 3
2.3视频探索系统架构 3
2.4移动端 APP 架构 4
2.5Tomcat 服务器 5
3APP 设计 6
3.1闪屏页 6
3.2主界面 6
3.2.1展示地图 6
3.2.2定位以及连续定位 6
3.2.3地图模式切换 7
3.2.4菜单栏 7
3.2.5热点地图显示 7
3.2.6视频推荐 7
3.2.7视频简介 7
3.2.8附近影院 8
3.2.9路线规戈 8
3.3路线详情 8
3.3.1步行详情 8
3.3.2公交详情 8
3.3.3驾车详情 8
4服务器端设计 10
4.1Tomcat 服务器 10
4.2Json 数据 10
4.3开源库 Gson 10
5APP 实现 11
5.1配置开发环境 11
5.1.1Android Studio 11
5.1.2Android SDK 12
5.1.3 JDK1.8 12
5.1.4ADB 命令 13
5.1.5模拟器 13
5.1.6Git 工具 13
5.1.7GitHub 13
5.2Android 系统 13
5.2.1Linux 层 14
5.2.2Dalvik D ART 14
5.2.3Libraries D Runtime 层 14
5.2.4Framework 层 15
5.2.5Application 层 15
5.3应用编码 15
5.3.1闪屏页 16
5.3.2新手弓导 17
5.3.3主界面 18
5.4路线详情 25
5.4.1驾车详情 25
5.4.2公交详情 25
5.4.3步行详情 25
5.5地图显示 26
5.5.1SDK 使用 26
5.5.2流行度地图 26
5.6工具类 28
5.6.1SpUtils 28
5.6.2ToastUtils 28
5.6.3DeviceUtils 29
5.6.4TextUtils 29
5.7开源框架 29
5.7.1XUtils 29
5.7.2Gson 30
5.7.3lmageLoader 30
6Tomcat 服务器实现 31
6.1下载安装 31
6.2Tomcat 配置 31
6.3服务器数据 32
7UI 设计 33
7.1Button 点击效果 33
7.2Shape 34
7.39Patch 图片 34
7.4Photoshop 35
8 总结 36
参考文献 37
致 谢 38