基于分布式微商城的安卓应用开发

 2022-08-22 09:08

论文总字数:32794字

摘 要

微商城,又叫微信商城,是第三方开发者基于微信而研发的一款社会化电子商务系统。消费者只要通过微信商城平台就可以实现商品查询、选购、体验、互动、订购与支付功能。近年来,随着移动互联网的快速发展,智能手机在人们生活中扮演着越来越重要的角色。智能手机的使用极大地改变了人们的生活方式。因此开发一个能让用户随时可以浏览自己的商城并进行相关操作的Android应用变得很重要。

该应用是以实际应用为开发背景、经过实际的需求分析而开发出来的一个基于Android系统的手机应用。该应用使用原生Android进行页面开发,用Webview实现相应功能页面的加载,利用Httpclient进行服务器数据获取,并且添加错误处理模块。使用这样的混合开发使得该应用操作简便、界面友好、灵活、实用、安全。用户可以在该应用上进行登录操作,购买商品,修改个人信息等操作。该应用可以满足用户的日常操作。

本文将对该应用的开发背景,开发环境进行介绍,并且进行相应的系统分析和系统设计,最后给出具体的系统实现。本文将对本次开发中采用到的关键技术进行介绍,并且会详细讲解这些技术针对本次开发所进行的修改和相应的实现代码。

关键词:微商城;Android应用开发;Android Webview;混合应用;

Android Application Development Based on Distributed Micro-Mall

71113226 xiaolian Zheng

Advisor:yanbing Wang

Liang Yuan

Abstract

Micro-mall, also known as WeChat Mall, is a social e-commerce system Based on WeChat. Consumers through the WeChat store platform can achieve commodity inquiry, purchase, experience, interactive, order and payment functions. In recent years, with the rapid development of mobile Internet, smart phones in people's lives play an increasingly important role. The use of smart phones has greatly changed the way people live. It is important to develop an Android application that allows users to browse their own mall at any time and do the related operations.

The application is based on the practical application for the development of the background, through the actual needs analysis and developed a mobile phone application based on Android system. The application uses native Android for page development, Webview implementation of the corresponding function page load, uses Httpclient for server data acquisition, and adds error handling module. The use of such hybrid development makes the application easy, user-friendly, flexible, practical and secure. Users can log in on the application, purchase goods, modify personal information and other operations. The application can meet the users’ daily operations.

This paper introduces the development environment, system analysis and system design, gives the system implementation. This paper introduces the key technologies used in this development, and explains the modification of these technologies and the corresponding implementation code.

Key word: micro-mall; Android Application Development; Android Webview;Hybrid App;

目 录

第一章 绪论 1

1.1 开发背景 1

1.1.1 智能手机系统开发背景 1

1.1.2 微商城背景 2

1.2 开发意义 3

第二章 系统开发环境及相关技术 4

2.1 Android开发环境介绍 4

2.2 Android开发平台搭建 4

2.3 相关技术介绍 4

2.3.1 Android WebView 5

2.3.2 FileProvider 6

2.3.3 安卓动态权限获取 9

2.3.4 HttpClient 10

2.3.5 SharePreference 11

第三章 系统分析 13

3.1 研究目标 13

3.2 需求分析 13

3.3 性能分析 13

第四章 系统设计 14

4.1 用户界面设计 14

4.2 软件基本逻辑 14

4.3 系统流程设计 15

第五章 系统实现 16

5.1 欢迎界面开发 16

5.1.1 欢迎界面页面开发 16

5.1.2 欢迎界面功能开发 17

5.2 登录功能开发 19

5.2.1 登录界面开发 20

5.2.2 登录功能开发 20

5.3 主界面开发 23

5.3.1 主界面页面开发 23

5.3.2 主界面功能开发 24

5.3.3 订单栏以及工具栏功能实现 28

5.4 个人中心开发 30

5.4.1 个人中心界面开发 30

5.4.2 个人中心功能开发 31

5.4.3 用户信息修改功能实现 32

第六章 总结 33

致 谢 34

参考文献 35

绪论

开发背景

智能手机系统开发背景

随着手机功能的丰富以及移动互联网的快速发展,智能手机已经成为用户日常生活中必不可少的一部分。智能手机已取代了我们身边很多常用的电子设备,并且改变着我们的生活方式以及周边的行业。

现在有三个使用率和关注度最高的手机平台,分别是:Android,IOS和windows phone平台,而在这三个平台中Android的占有率最高。自2007年11月Google公司发布Android系统以来,短短几年时间,Android已经占据了智能手机市场的半壁江山,成为目前最流行的智能手机操作系统。Android走进了越来越多人的生活,成为他们获取信息的主要平台。

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

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

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