一 项目介绍

汽车APP项目 包含了 APP客户端和后台管理系统,后台管理系统主要维护汽车的数据,比如汽车发布,汽车图集多图上传,汽车销售商,汽车类型,客户管理,系统管理等,APP客户端包含 用户注册,登录,个人中心,汽车首页,推荐汽车,品牌搜索,多条件搜索,汽车列表,汽车详情,汽车图片预览 汽车销售商和汽车类型等等

二 项目开发工具

android studio
逍遥模拟器或者夜神模拟器
mysql
idea或者eclipse
vscode

三 项目功能结构图


四 项目功能开发和设计


首页:有三块区域 1顶部图片,2品牌搜索区 3汽车推荐列表区
布局文件:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.android.com/tools"style="@style/Theme.AppCompat.NoActionBar"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"><!-- 区域一--><LinearLayoutandroid:layout_width="match_parent"android:layout_height="180dp"android:orientation="vertical"tools:ignore="MissingConstraints"android:background="@mipmap/lb2"></LinearLayout><!-- 区域二   --><LinearLayoutandroid:layout_width="fill_parent"android:layout_height="50dp"android:layout_marginLeft="20dp"android:layout_marginRight="20dp"android:orientation="horizontal"><TextViewandroid:layout_width="wrap_content"android:layout_height="50dp"android:paddingTop="20dp"android:text="品牌搜索"android:textSize="18dp"android:layout_weight="1"></TextView><TextViewandroid:layout_width="wrap_content"android:layout_height="50dp"android:paddingTop="20dp"android:text="更多 >"android:id="@+id/viewMoreTv"android:textSize="18dp"></TextView></LinearLayout><!-- 区域三--><ScrollViewandroid:layout_width="fill_parent"android:layout_height="fill_parent"android:scrollbars="vertical"android:fadingEdge="vertical"><LinearLayoutandroid:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"><LinearLayoutandroid:layout_width="match_parent"android:layout_height="50dp"android:layout_marginLeft="20dp"android:layout_marginRight="20dp" ><TextViewandroid:layout_width="match_parent"android:layout_height="50dp"android:paddingTop="20dp"android:text="推荐汽车"android:textSize="18dp"></TextView></LinearLayout><!--推荐汽车start--><LinearLayoutandroid:id="@+id/tjlistView_layout"android:layout_width="match_parent"android:layout_height="match_parent"android:layout_marginLeft="20dp"android:layout_marginRight="20dp"><ListViewandroid:id="@+id/spotstjListViewId"android:layout_width="match_parent"android:layout_height="wrap_content"></ListView></LinearLayout><!--推荐汽车end--></LinearLayout></ScrollView>

列表页:

列表页功能实现:

//根据条件查询汽车public void queryCarsByCondition(Long brandid,Long jbid,Long nyid,Long pricefwid) {getAppComponent().getAPIService().queryCarsByCondition(brandid,jbid,nyid,pricefwid).subscribe(new BaseObserver<HttpResult<String>>() {@Overridepublic void onSuccess(HttpResult<String> resp) {if (resp.isSuccess()) {//查询成功List<Car> spotsEntites = CommonUtils.transeToCarsList(resp.getData());mCarsView.loadData(spotsEntites);} else {}}//失败处理@Overridepublic void onFailure(Throwable e) {System.out.println(e.getMessage());}});}
后台服务:@RequestMapping("/front/car/queryAllCars")@ResponseBodypublic ResultResponse queryAllCars( CarQuery carQuery){try {List<Car> cars = carService.queryAllCars(carQuery);cars = cars.stream().map(temp_car -> {temp_car.setFmUrl(carsPicRequestPath + "/" + temp_car.getFmUrl());return temp_car;}).collect(Collectors.toList());return ResultResponse.ok("操作成功").put("data",JSON.toJSON(cars).toString());} catch (Exception e) {e.printStackTrace();}return ResultResponse.fail("操作失败");}

当然 一篇 文章 不能说明整个项目的情况,项目东西还有很多. 请加 扣扣 : 二— 五— 七— 九— 六— 九— 二-- 六— 零— 六

汽车详情页面:


核心代码:

<?xml version="1.0" encoding="utf-8"?>
<ScrollViewxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:scrollbars="vertical"android:fadingEdge="vertical"><LinearLayoutandroid:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"tools:context=".ui.activity.CarDetailActivity"><RelativeLayoutandroid:layout_width="match_parent"android:layout_height="match_parent"><TextViewandroid:id="@+id/carsdetail_carstype_label"android:layout_width="match_parent"android:layout_height="30dp"android:text="汽车类型"android:textSize="20dp"android:layout_marginLeft="8dp"android:layout_marginTop="20dp"android:layout_marginBottom="20dp"android:textStyle="bold"android:layout_below="@+id/imgsSV"></TextView><ListViewandroid:layout_width="match_parent"android:layout_height="match_parent"android:id="@+id/carstypeLv"android:layout_below="@+id/carsdetail_carstype_label"></ListView><TextViewandroid:id="@+id/carsdetail_carsshop_label"android:layout_width="match_parent"android:layout_height="30dp"android:text="销售商"android:textSize="20dp"android:layout_marginLeft="8dp"android:layout_marginTop="20dp"android:layout_marginBottom="20dp"android:textStyle="bold"android:layout_below="@+id/carstypeLv"></TextView><ListViewandroid:layout_width="match_parent"android:layout_height="match_parent"android:id="@+id/carsshopLv"android:layout_below="@+id/carsdetail_carsshop_label"></ListView><TextViewandroid:id="@+id/carsdetail_cspzinfoWv_label"android:layout_width="match_parent"android:layout_height="30dp"android:layout_marginLeft="8dp"android:text="汽车配置"android:textSize="20dp"android:layout_marginTop="20dp"android:layout_marginBottom="20dp"android:textStyle="bold"android:layout_below="@+id/carsshopLv"></TextView><!-- 汽车配置信息--><WebViewandroid:id="@+id/carsdetail_cspzinfoWv"android:layout_marginTop="10dp"android:layout_marginLeft="8dp"android:layout_marginRight="8dp"android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_below="@id/carsdetail_cspzinfoWv_label"/></RelativeLayout></LinearLayout>
</ScrollView>

基于android studio 安卓的汽车APP项目开发和设计相关推荐

  1. 基于Android Studio的简易天气APP项目开发

    参考文献:第一行代码(第二版),郭霖 源码地址:https://github.com/2066972218/coolweather/commits/master 一.功能需求 1.罗列全国的省.市.县 ...

  2. 【安卓基础】基于Android Studio的家庭理财通项目

    目录 声明: 此项目为移植<Android开发从入门到精通>项目实战篇,此项目仅用于学习.书本项目是基于Eclipse 4.2.2 + Android 5.0 开发运行环境 操作系统:wi ...

  3. 基于Android studio实习生招聘系统APP java

    本项目拟开发一个实习招聘APP来促进用户与企业间交流,帮助用户提高应聘能力,又能方便企业更加明确的提出 召聘条件,筛选出合适的员工.提高了大学生实习就业成功率. AndroidManifest.xml ...

  4. android studio新闻界面,课内资源 - 基于Android Studio实现的新闻APP

    一.作业题目 二.作业描述 互联网科技的发展让新闻的传播从报纸.广播.电视等方式发展到了网页以及最近几年兴起的手机app客户端,人们获取新闻的方式变得异常容易.手机上的新闻app让大家随时随地掏出手机 ...

  5. [内附完整源码和文档] 基于Android Studio实现的新闻APP

    一.作业题目 实现一个安卓新闻类App,最低支持安卓系统版本为5.1(minSdkVersion 为API 16 https://developer.android.com/guide/topics/ ...

  6. 基于Android Studio的记账类app开发全过程

    研究背景和意义 随着社会的发展,人们的消费水平有了明显提高,消费理念也发生了一定变化.合理的消费理念对于构建社会主义和谐社会具有十分重要的意义.大学生作为消费群体的重要组成部分,他们的消费行为对大学生 ...

  7. 基于Android Studio的记账类app开发

    功能分析 记账 APP 需要有如下三个系统: 统计系统.记账系统.用户系统. 统计系统需要实现当月消费统计,包括收入.支出.结余等内容, 并可以让用户通过可视化图的方式清晰了解使用情况. 记账系统需要 ...

  8. 基于Android studio的图书管理系统APP设计与开发案例(新版)

    一.功能介绍 1.用户模式 权限授予: 用户注册登录功能(头像.账号.密码): 图书推荐功能: 图书查询功能: 图书数量查询: 图书借出归还功能: 修改资料.关于软件.联系我们.使用说明.更新版本.退 ...

  9. Android Studio 实现的画板App

    基于Android Studio 实现的画板App ** 1.实现目标** 随着科技的不断发展和社会的不断进步,手机越来越流行,成为了人们日常生活和学习的必要工具,人们越来越离不开手机,还在几年前手机 ...

最新文章

  1. 列举web开发中,为满足高性能的架构技术实现
  2. Jackson注解学习参考
  3. Java基础与提高干货系列——Java反射机制
  4. mysql 1280_技术分享 | MySQL 一次奇怪的故障分析
  5. DB Stack Overflow
  6. cf1491C. Pekora and Trampoline
  7. 安装版win7安装时分区
  8. 【车牌识别】基于matlab GUI模板匹配车牌识别(带面板)【含Matlab源码 1215期】
  9. gege.fans上热搜背后是明星私域流量的折射
  10. 纯CSS的导航下拉菜单
  11. 计算机二级考试科目vfp,计算机二级考试科目及内容
  12. 远程服务器停止运行怎么回事,远程桌面连接已停止工作解决方法
  13. 一文读懂nginx gzip_static
  14. Jmeter循环获取JDBC查询结果及断言数据库查询结果
  15. 2022.03全国青少年软件编程(图形化)等级考试试卷(四级)
  16. WebP 支持:超乎你想象
  17. 苹果手机计算机怎样拉到桌面,苹果手机怎样才能快速投屏到电脑屏幕上
  18. linux中跳板机的部署
  19. 独孤思维:闷声发财,实操第二天出单,项目越做越香
  20. SpringBoot学习(六)——springboot整合后台模板

热门文章

  1. LeetCode Q6-Q10练习笔记 (Python3)
  2. BitMap 设置图片大小
  3. Dlink交换机VLAN设置案例┡转┩
  4. 函数发生器与计算机电路,模电课程设计(压控函数发生器).ppt
  5. 新版新概念英语1-4册(英音+美音)MP3打包下载
  6. 西游:我的弟子们过于嚣张(一)
  7. [音乐欣赏]动力火车 艾琳娜
  8. 没办法了,用敏捷吧?
  9. c语言aba字母塔,递归打印字母塔问题
  10. 环形链表(专题,带图示和思路)