• 移动端疫情展示


    移动端疫情展示

    要求开发一款移动端的全世界疫情实时查询系统。

    要求将前两周的项目合并为一个完整的项目。

    采用统一的数据库。(建议MySQL数据库)

    实现从数据采集、数据存储、数据查询(WEB端和移动端)一体全世界实时疫情查询系统。

    以本机数据库为服务器端,web端和移动端连接远程数据库实现数据共享,要求数据库表格式统一化。

    查询显示当前最新时间的数据,可以查询任一时间任一地点的数据。该系统要求在服务器端发布,可以通过IP地址访问。

    本次未完成,主要是开发设备出现了问题,且查询功能没有实现。

    部分代码

      1 <?xml version="1.0" encoding="utf-8"?>
      2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3     xmlns:tools="http://schemas.android.com/tools"
      4     android:layout_width="match_parent"
      5     android:layout_height="match_parent"
      6     tools:context="com.example.animator.knowledge_circle.FansActivity"
      7     android:background="#fff"
      8     android:orientation="vertical">
      9     <RelativeLayout
     10         android:layout_width="match_parent"
     11         android:layout_height="wrap_content"
     12         android:padding="16dp">
     13         <ImageView
     14             android:id="@+id/back_from_add_more"
     15             android:layout_width="20dp"
     16             android:layout_height="20dp"
     17             android:src="@mipmap/fanhui"/>
     18         <TextView
     19             android:layout_width="wrap_content"
     20             android:layout_height="wrap_content"
     21             android:text="粉丝"
     22             android:textSize="16sp"
     23             android:layout_centerHorizontal="true"
     24             android:textColor="#000"/>
     25     </RelativeLayout>
     26     <LinearLayout
     27         android:layout_width="match_parent"
     28         android:layout_height="wrap_content"
     29         android:orientation="horizontal"
     30         android:paddingLeft="16dp"
     31         android:paddingRight="16dp"
     32         android:layout_marginTop="10dp"
     33         android:gravity="center_vertical">
     34         <ImageView
     35             android:layout_width="30dp"
     36             android:layout_height="30dp"
     37             android:src="@mipmap/head"/>
     38         <TextView
     39             android:layout_marginLeft="10dp"
     40             android:layout_width="wrap_content"
     41             android:layout_height="wrap_content"
     42             android:text="你的最佳女友"/>
     43         <ImageView
     44             android:layout_marginLeft="5dp"
     45             android:layout_width="20dp"
     46             android:layout_height="20dp"
     47             android:src="@mipmap/nv"/>
     48         <View
     49             android:layout_weight="1"
     50             android:layout_width="0dp"
     51             android:layout_height="1dp"/>
     52         <TextView
     53             android:layout_width="wrap_content"
     54             android:layout_height="wrap_content"
     55             android:text="关注"
     56             android:textColor="@color/cutePink"/>
     57     </LinearLayout>
     58     <View
     59         android:layout_width="match_parent"
     60         android:layout_height="0.5dp"
     61         android:background="#f1f1f1"
     62         android:layout_marginTop="10dp"/>
     63     <LinearLayout
     64         android:layout_width="match_parent"
     65         android:layout_height="wrap_content"
     66         android:orientation="horizontal"
     67         android:paddingLeft="16dp"
     68         android:paddingRight="16dp"
     69         android:layout_marginTop="10dp"
     70         android:gravity="center_vertical">
     71         <ImageView
     72             android:layout_width="30dp"
     73             android:layout_height="30dp"
     74             android:src="@mipmap/head"/>
     75         <TextView
     76             android:layout_marginLeft="10dp"
     77             android:layout_width="wrap_content"
     78             android:layout_height="wrap_content"
     79             android:text="你的最佳女友"/>
     80         <ImageView
     81             android:layout_marginLeft="5dp"
     82             android:layout_width="20dp"
     83             android:layout_height="20dp"
     84             android:src="@mipmap/nv"/>
     85         <View
     86             android:layout_weight="1"
     87             android:layout_width="0dp"
     88             android:layout_height="1dp"/>
     89         <TextView
     90             android:layout_width="wrap_content"
     91             android:layout_height="wrap_content"
     92             android:text="关注"
     93             android:textColor="@color/cutePink"/>
     94     </LinearLayout>
     95     <View
     96         android:layout_width="match_parent"
     97         android:layout_height="0.5dp"
     98         android:background="#f1f1f1"
     99         android:layout_marginTop="10dp"/>
    100     <LinearLayout
    101         android:layout_width="match_parent"
    102         android:layout_height="wrap_content"
    103         android:orientation="horizontal"
    104         android:paddingLeft="16dp"
    105         android:paddingRight="16dp"
    106         android:layout_marginTop="10dp"
    107         android:gravity="center_vertical">
    108         <ImageView
    109             android:layout_width="30dp"
    110             android:layout_height="30dp"
    111             android:src="@mipmap/head"/>
    112         <TextView
    113             android:layout_marginLeft="10dp"
    114             android:layout_width="wrap_content"
    115             android:layout_height="wrap_content"
    116             android:text="你的最佳女友"/>
    117         <ImageView
    118             android:layout_marginLeft="5dp"
    119             android:layout_width="20dp"
    120             android:layout_height="20dp"
    121             android:src="@mipmap/nv"/>
    122         <View
    123             android:layout_weight="1"
    124             android:layout_width="0dp"
    125             android:layout_height="1dp"/>
    126         <TextView
    127             android:layout_width="wrap_content"
    128             android:layout_height="wrap_content"
    129             android:text="已关注"/>
    130     </LinearLayout>
    131     <View
    132         android:layout_width="match_parent"
    133         android:layout_height="0.5dp"
    134         android:background="#f1f1f1"
    135         android:layout_marginTop="10dp"/>
    136     <LinearLayout
    137         android:layout_width="match_parent"
    138         android:layout_height="wrap_content"
    139         android:orientation="horizontal"
    140         android:paddingLeft="16dp"
    141         android:paddingRight="16dp"
    142         android:layout_marginTop="10dp"
    143         android:gravity="center_vertical">
    144         <ImageView
    145             android:layout_width="30dp"
    146             android:layout_height="30dp"
    147             android:src="@mipmap/head"/>
    148         <TextView
    149             android:layout_marginLeft="10dp"
    150             android:layout_width="wrap_content"
    151             android:layout_height="wrap_content"
    152             android:text="你的最佳女友"/>
    153         <ImageView
    154             android:layout_marginLeft="5dp"
    155             android:layout_width="20dp"
    156             android:layout_height="20dp"
    157             android:src="@mipmap/nv"/>
    158         <View
    159             android:layout_weight="1"
    160             android:layout_width="0dp"
    161             android:layout_height="1dp"/>
    162         <TextView
    163             android:layout_width="wrap_content"
    164             android:layout_height="wrap_content"
    165             android:text="关注"
    166             android:textColor="@color/cutePink"/>
    167     </LinearLayout>
    168     <View
    169         android:layout_width="match_parent"
    170         android:layout_height="0.5dp"
    171         android:background="#f1f1f1"
    172         android:layout_marginTop="10dp"/>
    173 </LinearLayout>
  • 相关阅读:
    C#与数据库访问技术总结(十四)之DataAdapter对象
    《运维三十六计》:运维生存宝典
    企业运维几百个重点面试题汇总(老男孩)
    5、KVM虚拟化典型案例:生产环境问题案例与分析
    Linux运维必会的实战编程笔试题(19题)
    面试中常见的 MySQL 考察难点和热点
    Linux系统运维常见面试简答题(36题)
    一键备份脚本 backup.sh
    Linux常用的200个命令总结分类
    2、KVM虚拟化CPU、内存、网络、磁盘技术及性能调优方法
  • 原文地址:https://www.cnblogs.com/xueqiuxiang/p/13032705.html
Copyright © 2020-2023  润新知